VDB

CVE-2025-39736

CVE-2025-39736 PUBLISHED

mm/kmemleak: avoid deadlock by moving pr_warn() outside kmemleak_lock

Reported by linux · Published September 11, 2025

In the Linux kernel, the following vulnerability has been resolved: mm/kmemleak: avoid deadlock by moving pr_warn() outside kmemleak_lock When netpoll is enabled, calling pr_warn_once() while holding kmemleak_lock in mem_pool_alloc() can cause a deadlock due to lock inversion with the netconsole subsystem. This occurs because pr_warn_once() may trigger netpoll, which eventually leads to __alloc_skb() and back into kmemleak code, attempting to reacquire kmemleak_lock. This is the path for the deadlock. mem_pool_alloc() -> raw_spin_lock_irqsave(&kmemleak_lock, flags); -> pr_warn_once() -> netconsole subsystem -> netpoll -> __alloc_skb -> __create_object -> raw_spin_lock_irqsave(&kmemleak_lock, flags); Fix this by setting a flag and issuing the pr_warn_once() after kmemleak_lock is released.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux1:6.1.150-174.273.amzn2023
kernel-libbpf-staticAmazon Linux1:6.1.150-174.273.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.150-174.273.amzn2023
kernelAmazon Linux1:6.1.150-174.273.amzn2023
perfAmazon Linux1:6.1.150-174.273.amzn2023
kernel-tools-develAmazon Linux1:6.1.150-174.273.amzn2023
bpftoolAmazon Linux1:6.1.150-174.273.amzn2023
kernel-livepatch-6.1.150-174.273Amazon Linux1:1.0-0.amzn2023
linux_kernellinux6.16.2, 6.15.11, 6.12.43, 6.6.103, 6.1.149, 5.15.190, 5.10.241, 5.4.297
LinuxLinuxa181b228b37a6a5625dad2bb4265bb7abb673e9f, a0854de00ce2ee27edf39037e7836ad580eb3350, 47b0f6d8f0d2be4d311a49e13d2fd5f152f492b2, 08f70be5e406ce47c822f2dd11c1170ca259605b

Affected products

VendorProductVersions
LinuxLinuxc5665868183fec689dbab9fb8505188b2c4f0757, c5665868183fec689dbab9fb8505188b2c4f0757, c5665868183fec689dbab9fb8505188b2c4f0757
LinuxLinux5.4, 0, 5.4.297
amazon:2023kernel-headers0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel0
amazon:2023perf0
amazon:2023kernel-tools-devel0
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.1.150-174.2730
LinuxLinux6.17, *, *
linuxlinux_kernel5.4, 5.4, 5.4
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel-tools0
amazon:2023python3-perf0
SiemensSIMATIC CN 41000
amazon:2023kernel-modules-extra0

Timeline

  • Sep 11, 2025 CVE Published
  • Sep 12, 2025 EPSS Score (30 in total, the first dated here)
  • Jan 14, 2026 PoC Published
  • Mar 29, 2026 Distribution Patch (193 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (206 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score
  • Oct 29, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39736
vulnetix vdb fixes CVE-2025-39736

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39736/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›