ice: fix use-after-free in dynamic port cleanup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1402fc67d2f4e2e1fc7bf8ee0825b8ad994557ff, Kernel 7c1344df1ae0579f57b97647e5203b06496ce10c, Kernel b98eb58ba2f8fe8e9bba1b8a3b94fa5602c6de84 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: ice: fix use-after-free in dynamic port cleanup ice_dealloc_dynamic_port() uses dyn_port->vsi->idx to erase the dynamic port from pf->dyn_ports. However, it frees the VSI before reading the index for the erase, resulting in a use-after-free. Follow the reverse of the allocation order in ice_alloc_dynamic_port() by erasing the xarray entry before freeing the VSI.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.12, >=eda69d654c7edae21312f731e0308941cb2ee2a9 <1402fc67d2f4e2e1fc7bf8ee0825b8ad994557ff, >=eda69d654c7edae21312f731e0308941cb2ee2a9 <7c1344df1ae0579f57b97647e5203b06496ce10c, >=eda69d654c7edae21312f731e0308941cb2ee2a9 <b98eb58ba2f8fe8e9bba1b8a3b94fa5602c6de84, >=eda69d654c7edae21312f731e0308941cb2ee2a9 <ca8a6285b11d01e5a279b1aa7fb55b1a02ecebb1 | 1402fc67d2f4e2e1fc7bf8ee0825b8ad994557ff, 7c1344df1ae0579f57b97647e5203b06496ce10c, b98eb58ba2f8fe8e9bba1b8a3b94fa5602c6de84, ca8a6285b11d01e5a279b1aa7fb55b1a02ecebb1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket