virtio_net: Fix error unwinding of XDP initialization
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 037768b28e3752c07d63d1c72a651a6775b080bb, Kernel 5306623a9826aa7d63b32c6a3803c798a765474d, Kernel 6a7690f2bd178eee80f33411ae32e543ae66379c and 1 more.
In the Linux kernel, the following vulnerability has been resolved: virtio_net: Fix error unwinding of XDP initialization When initializing XDP in virtnet_open(), some rq xdp initialization may hit an error causing net device open failed. However, previous rqs have already initialized XDP and enabled NAPI, which is not the expected behavior. Need to roll back the previous rq initialization to avoid leaks in error unwinding of init code. Also extract helper functions of disable and enable queue pairs. Use newly introduced disable helper function in error unwinding and virtnet_close. Use enable helper function in virtnet_open.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.16, >=754b8a21a96d5f11712245aef907149606b323ae <037768b28e3752c07d63d1c72a651a6775b080bb, >=754b8a21a96d5f11712245aef907149606b323ae <5306623a9826aa7d63b32c6a3803c798a765474d, >=754b8a21a96d5f11712245aef907149606b323ae <6a7690f2bd178eee80f33411ae32e543ae66379c, >=754b8a21a96d5f11712245aef907149606b323ae <73f53bc295727a3cdbd9d6bcdfaa239258970cf4 | 037768b28e3752c07d63d1c72a651a6775b080bb, 5306623a9826aa7d63b32c6a3803c798a765474d, 6a7690f2bd178eee80f33411ae32e543ae66379c, 73f53bc295727a3cdbd9d6bcdfaa239258970cf4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket