
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-21862 affects the Linux kernel's dropmonitor module, discovered in March 2025. The vulnerability stems from an incorrect initialization order in the dropmonitor module, where a spinlock is used before being properly initialized. This issue affects multiple versions of the Linux kernel, including versions from 2.6.30 to 6.1.130, 6.2 to 6.6.80, 6.7 to 6.12.17, and 6.13 to 6.13.5 (NVD).
The vulnerability occurs when dropmonitor is built as a kernel module. During module loading, there is a race condition where a netlink NETDMCMDSTART message can be sent before proper initialization. This triggers the netdmmonitor_start() function, which attempts to use an uninitialized spinlock, resulting in a 'spinlock bad magic' error. The issue was identified using the Syzkaller kernel fuzzer and has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability can lead to system instability or potential denial of service when the drop_monitor module is loaded. The CVSS scoring indicates that while the vulnerability requires local access and cannot directly compromise system confidentiality or integrity, it can have a high impact on system availability (NVD).
The issue has been fixed by reordering the initialization sequence in the drop_monitor module. The patch places resource initialization above the registration of the generic netlink family, ensuring that the spinlock is properly initialized before it can be used. The fix has been merged into the mainline kernel and is being backported to stable kernel versions (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."