virtio_net: Do not send RSS key if it is not supported
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
virtio_net: Do not send RSS key if it is not supported
There is a bug when setting the RSS options in virtio_net that can break the whole machine, getting the kernel into an infinite loop.
Running the following command in any QEMU virtual machine with virtionet will reproduce this problem:
# ethtool -X eth0 hfunc toeplitz
This is how the problem happens:
1) ethtool_set_rxfh() calls virtnet_set_rxfh()
2) virtnet_set_rxfh() calls virtnet_commit_rss_command()
From the CVE record · Linux
The Linux kernel's virtio_net driver can enter an infinite loop when RSS options are set on a QEMU virtual machine with a virtio-net device that does not support the feature. An attacker able to run the affected ethtool command inside the virtual machine can cause the guest kernel to wait indefinitely; the input does not specify authentication requirements.
Operators of Linux kernels in QEMU virtual machines with virtio-net devices should check their installations; affected versions are not specified.