Medium · published April 17, 2024
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.19.301, < 4.19.310 | 4.19.310 |
| linux/linux_kernel | ≥ 5.4.263, < 5.4.272 | 5.4.272 |
| linux/linux_kernel | ≥ 5.10.203, < 5.10.213 | 5.10.213 |
| linux/linux_kernel | ≥ 5.15.141, < 5.15.152 | 5.15.152 |
| linux/linux_kernel | ≥ 6.1.65, < 6.1.79 | 6.1.79 |
| linux/linux_kernel | ≥ 6.6.4, < 6.6.18 | 6.6.18 |
| linux/linux_kernel | ≥ 6.7, < 6.7.6 | 6.7.6 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| debian/debian_linux | all versions | — |