ice: fix double free in ice_sf_eth_activate() error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.88, Kernel 6.18.30, Kernel 7.0.7 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: ice: fix double free in ice_sf_eth_activate() error path When auxiliary_device_add() fails, ice_sf_eth_activate() jumps to aux_dev_uninit and calls auxiliary_device_uninit(&sf_dev->adev). The device release callback ice_sf_dev_release() frees sf_dev, but the current error path falls through to sf_dev_free and calls kfree(sf_dev) again, causing a double free. Keep kfree(sf_dev) for the auxiliary_device_init() failure path, but avoid falling through to sf_dev_free after auxiliary_device_uninit().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.12 <6.12.88, >=6.13 <6.18.30, >=6.19 <7.0.7, >=13acc5c4cdbeccf3274cbbd4de2e2d316b8c4ce6 <2ca30340b5028ddc3f17086a538feeff06167b1b, >=13acc5c4cdbeccf3274cbbd4de2e2d316b8c4ce6 <9aab1c3d7299285e2569cbc0ed5892d631a241b2, >=13acc5c4cdbeccf3274cbbd4de2e2d316b8c4ce6 <d0c6a4816609f145ffcc74e64baa214c571c17c6, =6.12, >=13acc5c4cdbeccf3274cbbd4de2e2d316b8c4ce6 <121d1f253aed515cd85748f68c664a6cb756e8ad | 6.12.88, 6.18.30, 7.0.7, 2ca30340b5028ddc3f17086a538feeff06167b1b, 9aab1c3d7299285e2569cbc0ed5892d631a241b2, d0c6a4816609f145ffcc74e64baa214c571c17c6, 121d1f253aed515cd85748f68c664a6cb756e8ad |
| linux-kernel: Kernel | >=6.12.0 <6.12.88, >=6.13.0 <6.18.30, >=6.19.0 <7.0.7 | 6.12.88, 6.18.30, 7.0.7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket