Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39737

MEDIUM 5.5EPSS 10%

mm/kmemleak: avoid soft lockup in __kmemleak_do_cleanup()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 9f1f4e95031f84867c5821540466d62f88dab8ca; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 1ef72a7fedc5bca70e8cc980985790de10d407aa; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < a04de4c40aab9b338dfa989cf4aec70fd187eeb2; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < f014c10d190b92aad366e56b445daffcd1c075e4; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < e21a3ddd58733ce31afcb1e5dc3cb80a4b5bc29b; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 8d2d22a55ffe35c38e69795468a7addd1a80e9ce; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 926092268efdf1ed7b55cf486356c74a9e7710d1; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 9b80430c194e4a114dc663c1025d56b4f3d0153d; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < d1534ae23c2b6be350c8ab060803fbf6e9682adc
  • Anyone running Linux 5.4

Vulnerability facts

Affected
Linux >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 9f1f4e95031f84867c5821540466d62f88dab8ca; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 1ef72a7fedc5bca70e8cc980985790de10d407aa; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < a04de4c40aab9b338dfa989cf4aec70fd187eeb2; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < f014c10d190b92aad366e56b445daffcd1c075e4; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < e21a3ddd58733ce31afcb1e5dc3cb80a4b5bc29b; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 8d2d22a55ffe35c38e69795468a7addd1a80e9ce; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 926092268efdf1ed7b55cf486356c74a9e7710d1; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 9b80430c194e4a114dc663c1025d56b4f3d0153d; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < d1534ae23c2b6be350c8ab060803fbf6e9682adc; Linux 5.4
Fixed in
Linux 9f1f4e95031f84867c5821540466d62f88dab8ca, Linux 1ef72a7fedc5bca70e8cc980985790de10d407aa, Linux 8d2d22a55ffe35c38e69795468a7addd1a80e9ce, Linux 926092268efdf1ed7b55cf486356c74a9e7710d1, Linux 9b80430c194e4a114dc663c1025d56b4f3d0153d
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
CWE
CWE-401
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 9f1f4e95031f84867c5821540466d62f88dab8ca; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 1ef72a7fedc5bca70e8cc980985790de10d407aa; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < a04de4c40aab9b338dfa989cf4aec70fd187eeb2; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < f014c10d190b92aad366e56b445daffcd1c075e4; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < e21a3ddd58733ce31afcb1e5dc3cb80a4b5bc29b; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 8d2d22a55ffe35c38e69795468a7addd1a80e9ce; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 926092268efdf1ed7b55cf486356c74a9e7710d1; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 9b80430c194e4a114dc663c1025d56b4f3d0153d; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < d1534ae23c2b6be350c8ab060803fbf6e9682adc—cvelist
Linux5.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-39737. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39737.md
Affected: Linux >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 9f1f4e95031f84867c5821540466d62f88dab8ca; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 1ef72a7fedc5bca70e8cc980985790de10d407aa; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < a04de4c40aab9b338dfa989cf4aec70fd187eeb2; >= 2abd839aa7e615f2bbc50c8…
Fixed in: Linux 9f1f4e95031f84867c5821540466d62f88dab8ca, Linux 1ef72a7fedc5bca70e8cc980985790de10d407aa, Linux 8d2d22a55ffe35c38e69795468a7addd1a80e9ce, Linux 926092268efdf1ed7b55cf486356c74a9e7710d1, Linux 9b80430c194e4a114dc663c1025d56b4f3d0153d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-39737 being exploited?

There is no confirmed exploitation: CVE-2025-39737 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-39737?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-39737?

Linux >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 9f1f4e95031f84867c5821540466d62f88dab8ca; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 1ef72a7fedc5bca70e8cc980985790de10d407aa; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < a04de4c40aab9b338dfa989cf4aec70fd187eeb2; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < f014c10d190b92aad366e56b445daffcd1c075e4; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < e21a3ddd58733ce31afcb1e5dc3cb80a4b5bc29b; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 8d2d22a55ffe35c38e69795468a7addd1a80e9ce; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 926092268efdf1ed7b55cf486356c74a9e7710d1; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < 9b80430c194e4a114dc663c1025d56b4f3d0153d; >= 2abd839aa7e615f2bbc50c8ba7deb9e40d186768, < d1534ae23c2b6be350c8ab060803fbf6e9682adc; Linux 5.4.

Is there a fix for CVE-2025-39737?

Yes. Fixed in Linux 9f1f4e95031f84867c5821540466d62f88dab8ca, Linux 1ef72a7fedc5bca70e8cc980985790de10d407aa, Linux 8d2d22a55ffe35c38e69795468a7addd1a80e9ce, Linux 926092268efdf1ed7b55cf486356c74a9e7710d1, Linux 9b80430c194e4a114dc663c1025d56b4f3d0153d. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-39737?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors