Menu

Star on GitHub · 3.2k

CVE-2025-38241

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: mm/shmem, swap: fix softlockup with mTHP swapin Following softlockup can be easily reproduced on my test machine with: echo al…

Published Jul 9, 2025CWE-667EPSS 0.11%

Overview

CVE-2025-38241 is a medium-severity vulnerability. It was published on July 9, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

mm/shmem, swap: fix softlockup with mTHP swapin

Following softlockup can be easily reproduced on my test machine with:

echo always > /sys/kernel/mm/transparent_hugepage/hugepages-64kB/enabled

swapon /dev/zram0 # zram0 is a 48G swap device

mkdir -p /sys/fs/cgroup/memory/test

echo 1G > /sys/fs/cgroup/test/memory.max

echo $BASHPID > /sys/fs/cgroup/test/cgroup.procs

while true; do

dd if=/dev/zero of=/tmp/test.img bs=1M count=5120

cat /tmp/test.img > /dev/null

rm /tmp/test.img

done

Then after a while:

watchdog: BUG: soft lockup - CPU#0 stuck for 763s! [cat:5787]

Modules linked in: zram virtiofs

CPU: 0 UID: 0 PID: 5787 Comm: cat Kdump: loaded Tainted: G L 6.15.0.orig-gf3021d9246bc-dirty #118 PREEMPT(voluntary)·

Tainted: [L]=SOFTLOCKUP

Hardware name: Red Hat KVM/RHEL-AV, BIOS 0.0.0 02/06/2015

RIP: 0010:mpol_shared_policy_lookup+0xd/0x70

Code: e9 b8 b4 ff ff 31 c0 c3 cc cc cc cc 90 90 90 90 90

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-38241?

CVE-2025-38241 is a medium-severity vulnerability. It was published on July 9, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-38241?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38241?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38241?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38241 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all