ionic: fix port_info use-after-free on firmware recovery
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
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.
| Product | Versions |
|---|---|
| Linux Linux | ddc5911b9bd228dd69de976a4545292420f45e73 to before 3aecc8090f6af7e6445c19db9abaa50f66b609a0 Affectedddc5911b9bd228dd69de976a4545292420f45e73 to before d84b9db696f80aa3ce83159856cfec6842c7c410 Affectedddc5911b9bd228dd69de976a4545292420f45e73 to before 321edbee9d7b64398bb11fccf46fa9cb0b637e41 Affectedddc5911b9bd228dd69de976a4545292420f45e73 to before 248f5c923663039f5fdebabf818f80bf20ad4d42 Affectedddc5911b9bd228dd69de976a4545292420f45e73 to before 44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04 Affectedddc5911b9bd228dd69de976a4545292420f45e73 to before 4c1870b25621ce76ed2c45dfd820ada1df703881 Affectedddc5911b9bd228dd69de976a4545292420f45e73 to before fff691dbd53867aeb0b3da2da35592f1dbc6b306 Affectedddc5911b9bd228dd69de976a4545292420f45e73 to before d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e Affected |
| Linux Linux | 5.7 Affectedbefore 5.7 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.