hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7350c460f7f48a8653a15c5c90fc9070aaa29535 · < a71302c8638939c45e4ba5a99ea438185fd3f418| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's hv_netvsc driver can fail to register a matching virtual function (VF) when the driver is unloaded and reloaded. The registration event can arrive before netvsc_probe finishes. The input does not describe an attacker, authentication requirement, or user interaction.
Engineers running Linux systems that use the hv_netvsc driver should check their kernel versions; affected versions are not specified.