Use-after-free in Linux kernel ionic driver on firmware recovery
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The Linux kernel ionic driver from 5.7 is affected. A failed port initialization during firmware recovery frees a port_info buffer that an earlier initialization still owns, causing a use-after-free while the network device is in use. A local user with low privileges can trigger this under high attack complexity to affect confidentiality, integrity and availability.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: ionic: fix port_info use-after-free on firmware recovery ionic_port_init() allocates port_info when the pointer is NULL, but its error path frees it without checking whether this call allocated it. Before commit ddc5911b9bd2 ("ionic: call ionic_port_init after fw-upgrade") the function returned early when the buffer already existed, so the two were symmetric. Since then a failed PORT_INIT on either recovery path - fw_up or reset_done - frees a buffer an earlier init owns, while the netdev is registered and the ethtool ops are reading it. Free only what this call allocated.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.7 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 5.7 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA
Remediation
Update the Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, which fix this issue in their respective branches.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139222
- 2026-11-30 Alias added: GHSA-w382-ghgf-w2mf
- 2026-12-01 CVSS score added · CNA
References
Other 8
- https://git.kernel.org/stable/c/3aecc8090f6af7e6445c19db9abaa50f66b609a0
- https://git.kernel.org/stable/c/d84b9db696f80aa3ce83159856cfec6842c7c410
- https://git.kernel.org/stable/c/321edbee9d7b64398bb11fccf46fa9cb0b637e41
- https://git.kernel.org/stable/c/248f5c923663039f5fdebabf818f80bf20ad4d42
- https://git.kernel.org/stable/c/44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04
- https://git.kernel.org/stable/c/4c1870b25621ce76ed2c45dfd820ada1df703881
- https://git.kernel.org/stable/c/fff691dbd53867aeb0b3da2da35592f1dbc6b306
- https://git.kernel.org/stable/c/d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139222 · CVE Program
- CVE-2026-139222 · NVD
- GHSA-w382-ghgf-w2mf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences