
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-26820 is a vulnerability in the Linux kernel's hv_netvsc driver discovered and disclosed in April 2024. The issue occurs when the hv_netvsc driver is unloaded and reloaded, where the NET_DEVICE_REGISTER handler cannot perform VF (Virtual Function) register successfully because the register call is received before netvsc_probe is finished. This happens because register_netdevice_notifier() is registered very early, even before vmbus_driver_register() (Kernel Git).
The vulnerability stems from a race condition in the driver initialization sequence. The issue occurs because the network device registration notification handler is registered too early in the boot process, before the VMBus driver registration is complete. This causes the VF registration to fail when the driver is unloaded and reloaded. The fix involves modifying the driver to attempt registering matching VF devices at the end of the netvsc_probe function if they are visible as netdevices (Kernel Git).
The vulnerability affects systems running the Linux kernel with the hv_netvsc driver, particularly in scenarios where the driver needs to be unloaded and reloaded. The impact is primarily related to network device functionality, potentially affecting network operations on affected systems (Ubuntu Security).
The vulnerability requires administrative privileges to exploit, as it involves unloading and reloading kernel modules. This significantly limits the potential for malicious exploitation (Ubuntu Security).
The issue has been fixed in various Linux kernel versions through patches that modify the VF registration process. The fix has been backported to multiple Linux distributions including Ubuntu and Debian. Users should update their systems to the patched kernel versions (Ubuntu Security).
Fix availability across major Linux distributions and their releases.
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."