ice: fix use-after-free in dynamic port cleanup
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.114, 6.18.57, 7.2.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- Linux Linux
From eda69d654c7edae21312f731e0308941cb2ee2a9 · fixed in 7c1344df1ae0579f57b97647e5203b06496ce10c; From eda69d654c7edae21312f731e0308941cb2ee2a9 · fixed in ca8a6285b11d01e5a279b1aa7fb55b1a02ecebb1; From eda69d654c7edae21312f731e0308941cb2ee2a9 · fixed in b98eb58ba2f8fe8e9bba1b8a3b94fa5602c6de84; From eda69d654c7edae21312f731e0308941cb2ee2a9 · fixed in 1402fc67d2f4e2e1fc7bf8ee0825b8ad994557ff
- Linux Linux
6.12
- KernelLinux
From 6.12.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.11