CVE-2025-39736
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39736 is a vulnerability in the Linux kernel's memory leak detection subsystem (kmemleak) discovered and disclosed on September 11, 2025. The issue involves a potential deadlock condition in the memory pool allocation functionality when netpoll is enabled (NVD).

Technical details

The vulnerability occurs when calling prwarnonce() while holding kmemleaklock in mempoolalloc(), which can trigger a deadlock due to lock inversion with the netconsole subsystem. This happens because prwarnonce() may trigger netpoll, which leads to _allocskb() attempting to reacquire kmemleaklock. The deadlock path follows this sequence: mempoolalloc() -> rawspinlockirqsave(&kmemleaklock) -> prwarnonce() -> netconsole subsystem -> netpoll -> alloc_skb -> createobject -> rawspinlockirqsave(&kmemleak_lock) (NVD).

Impact

When netpoll is enabled, this vulnerability can cause system deadlocks, potentially affecting system availability and stability. The issue specifically impacts the kernel's memory leak detection functionality (NVD).

Mitigation and workarounds

The fix involves setting a flag and moving the prwarnonce() call outside of the kmemleak_lock protected region. This prevents the lock inversion scenario that leads to the deadlock (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-53260N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules
NoYesSep 15, 2025
CVE-2023-53259N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-internal
NoYesSep 15, 2025
CVE-2023-53258N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesSep 15, 2025
CVE-2023-53257N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k
NoYesSep 15, 2025
CVE-2023-53256N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-core
NoYesSep 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management