CVE Catalog

CVE-2024-26820

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

14th percentile - higher than 14% of all known CVEs

Summary

In the Linux kernel's hv_netvsc driver, if the driver is unloaded and reloaded, the NET_DEVICE_REGISTER handler cannot register the VF because the register call arrives before netvsc_probe finishes. This happens because register_netdevice_notifier() is registered very early, even before vmbus_driver_register(). The fix attempts to register each matching VF at the end of netvsc_probe.

Risk Assessment

After reloading the hv_netvsc driver, virtual functions (VFs) may remain unregistered, causing loss of network connectivity or incorrect network behavior in Hyper-V environments.

Recommendation

Update the Linux kernel to a version containing the fix that registers the VF in netvsc_probe when NET_DEVICE_REGISTER was missed.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed If hv_netvsc driver is unloaded and reloaded, the NET_DEVICE_REGISTER handler cannot perform VF register successfully as the register call is received before netvsc_probe is finished. This is because we register register_netdevice_notifier() very early( even before vmbus_driver_register()). To fix this, we try to register each such matching VF( if it is visible as a netdevice) at the end of netvsc_probe.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS