CVE-2025-39886
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39886 is a vulnerability discovered in the Linux kernel related to locking issues in the BPF subsystem. The vulnerability was published on September 23, 2025, and specifically affects the bpftimerinit() functionality when calling bpfmapkmallocnode() from _bpfasyncinit() (NVD Database).

Technical details

The vulnerability manifests as various locking issues when calling bpfmapkmallocnode() from _bpfasyncinit(). The issue can lead to double-acquiring locks such as rqlock, cgroupfileknlock, and workerpool::lock, potentially causing system hardlocks. The problem occurs specifically during memory accounting events when MEMCGMAX events are raised during bpftimerinit() operations (NVD Database).

Impact

The vulnerability can result in system hardlocks due to double-acquiring of locks, which could potentially affect system stability and performance. This primarily impacts Linux kernel operations involving BPF timer initialization and memory management (Debian Tracker).

Mitigation and workarounds

The issue has been fixed by using GFPHIGH instead of GFPATOMIC in bpfasyncinit(), which prevents the problematic behavior when trychargememcg() raises MEMCGMAX events. The fix ensures that _memcgmemoryevent() is called with allowspinning=false, avoiding the call to cgroupfile_notify() (NVD Database).

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-2025-39888N/AN/A
  • Linux KernelLinux Kernel
  • kernel-kdump
NoNoSep 23, 2025
CVE-2025-39887N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoSep 23, 2025
CVE-2025-39886N/AN/A
  • Linux KernelLinux Kernel
  • kernel-tools
NoYesSep 23, 2025
CVE-2025-39884N/AN/A
  • Linux KernelLinux Kernel
  • python-perf
NoYesSep 23, 2025
CVE-2025-39883N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-modules
NoYesSep 23, 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