Back to CVE records
Medium 5.5Published Sep 11, 2025

CVE-2025-39737mm/kmemleak: avoid soft lockup in __kmemleak_do_cleanup()

Updated under an hour ago ()

Does this affect you?

It affects Linux and 3 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

In the Linux kernel, the following vulnerability has been resolved: mm/kmemleak: avoid soft lockup in __kmemleak_do_cleanup() A soft lockup warning was observed on a relative small system x86-64 system with 16 GB of memory when running a debug kernel with kmemleak enabled. watchdog: BUG: soft lockup - CPU#8 stuck for 33s! [kworker/8:1:134] The test system was running a workload with hot unplug happening in parallel. Then kemleak decided to disable itself due to its inability to allocate more kmemleak objects. The debug kernel has its CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE set to 40,000. The soft lockup happened in kmemleak_do_cleanup() when the existing kmemleak objects were being removed and deleted one-by-one in a loop via a workqueue. In this particular case, there are at least 40,000 objects that need to be processed and given the slowness of a debug kernel and the fact that a raw_spinlock has to be acquired and released in __delete_object(), it could take a while to properly handle all these objects. As kmemleak has been disabled in this case, the object removal and deletion process can be further optimized as locking isn't really needed. However, it is probably not worth the effort to optimize for such an edge case that should rarely happen. So the simple solution is to call cond_resched() at periodic interval in the iteration loop to avoid soft lockup.

CVSS
5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
May 12, 2026
First seen by InfoSec Signals
Oct 19, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 before 9f1f4e95031f84867c5821540466d62f88dab8ca; 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 builds before 1ef72a7fedc5bca70e8cc980985790de10d407aa; from 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 before a04de4c40aab9b338dfa989cf4aec70fd187eeb2; from 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 before f014c10d190b92aad366e56b445daffcd1c075e4; from 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 before e21a3ddd58733ce31afcb1e5dc3cb80a4b5bc29b; from 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 before 8d2d22a55ffe35c38e69795468a7addd1a80e9ce; from 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 before 926092268efdf1ed7b55cf486356c74a9e7710d1; from 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 before 9b80430c194e4a114dc663c1025d56b4f3d0153d; and 1 more ranges
CNA record
Siemens SIMATIC CN 4100
siemens:simatic_cn_4100 (from the name)
before V5.0
CISA ADP
linux linux_kernel
linux:linux_kernel
from 5.4.1 before 5.4.297; from 5.5 before 5.10.241; from 5.11 before 5.15.190; from 5.16 before 6.1.149; from 6.2 before 6.6.103; from 6.7 before 6.12.43; from 6.13 before 6.15.11; from 6.16 before 6.16.2; and 7 more ranges
NVD
debian debian_linux
debian:debian_linux
11.0
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • mailing-list, third-party-advisory
  • mailing-list, third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.