Linux
virtio_net: Fix resize of the RX ring
In the Linux kernel, the following vulnerability has been resolved: virtio_net: Fix resize of the RX ring When a AF_XDP socket is attached, the virtnet_rx_resize should resize the rq->xsk_buffs XSK buffer array. Otherwise, when the size grows, the virtnet_rx_resume() causes a write past the end of the array. This is easily reproducable with ethtool -G ens3 rx 32 ./xdpsock -i eth0 -q 0 -r -z & ethtool -G eth0 rx 256
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, < 5c941b5d989a15cdaa987a2c602fb168461c6186
- >= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, < 5235abdb760bbd7a6fcecf1890b5160b7a75a9ce
- >= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, < 8344c9233c8f77017174d9e280c5a26034d068b6
- >= e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568, < d09c98a6da215bce2173a292e4b95c8de6ea5d51
Fixed in 5c941b5d989a15cdaa987a2c602fb168461c6186, 5235abdb760bbd7a6fcecf1890b5160b7a75a9ce, 8344c9233c8f77017174d9e280c5a26034d068b6, d09c98a6da215bce2173a292e4b95c8de6ea5d51
- 6.11
Fixed in 0, 6.12.114, 6.18.57, 7.2.6, 7.3
Mitigation
Upgrade Linux to 5c941b5d989a15cdaa987a2c602fb168461c6186 or 5235abdb760bbd7a6fcecf1890b5160b7a75a9ce or 8344c9233c8f77017174d9e280c5a26034d068b6 or d09c98a6da215bce2173a292e4b95c8de6ea5d51 or later.
Upgrade Linux to 0 or 6.12.114 or 6.18.57 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.