cveboard RSS feed

CVE-2025-39737

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

mm/kmemleak: avoid soft lockup in __kmemleak_do_cleanup()

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
2abd839aa7e615f2bbc50c8ba7deb9e40d186768affectedgit9f1f4e95031f84867c5821540466d62f88dab8caUnavailableNone listed
2abd839aa7e615f2bbc50c8ba7deb9e40d186768affectedgit1ef72a7fedc5bca70e8cc980985790de10d407aaUnavailableNone listed
2abd839aa7e615f2bbc50c8ba7deb9e40d186768affectedgita04de4c40aab9b338dfa989cf4aec70fd187eeb2UnavailableNone listed
2abd839aa7e615f2bbc50c8ba7deb9e40d186768affectedgitf014c10d190b92aad366e56b445daffcd1c075e4UnavailableNone listed
2abd839aa7e615f2bbc50c8ba7deb9e40d186768affectedgite21a3ddd58733ce31afcb1e5dc3cb80a4b5bc29bUnavailableNone listed
2abd839aa7e615f2bbc50c8ba7deb9e40d186768affectedgit8d2d22a55ffe35c38e69795468a7addd1a80e9ceUnavailableNone listed
2abd839aa7e615f2bbc50c8ba7deb9e40d186768affectedgit926092268efdf1ed7b55cf486356c74a9e7710d1UnavailableNone listed
2abd839aa7e615f2bbc50c8ba7deb9e40d186768affectedgit9b80430c194e4a114dc663c1025d56b4f3d0153dUnavailableNone listed
2abd839aa7e615f2bbc50c8ba7deb9e40d186768affectedgitd1534ae23c2b6be350c8ab060803fbf6e9682adcUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.4affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver5.4UnavailableNone listed
5.4.297unaffectedsemverUnavailable5.4.*None listed
5.10.241unaffectedsemverUnavailable5.10.*None listed
5.15.190unaffectedsemverUnavailable5.15.*None listed
6.1.149unaffectedsemverUnavailable6.1.*None listed
6.6.103unaffectedsemverUnavailable6.6.*None listed
6.12.43unaffectedsemverUnavailable6.12.*None listed
6.15.11unaffectedsemverUnavailable6.15.*None listed
6.16.2unaffectedsemverUnavailable6.16.*None listed
6.17unaffectedoriginal_commit_for_fixUnavailable*None listed