Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.0CVE-2026-139222

ionic: fix port_info use-after-free on firmware recovery

Published 30/11/2026 · Updated 01/12/2026 · Linux

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.

Affected products and versions

Linux Linuxddc5911b9bd228dd69de976a4545292420f45e73 – < 3aecc8090f6af7e6445c19db9abaa50f66b609a0 · ddc5911b9bd228dd69de976a4545292420f45e73 – < d84b9db696f80aa3ce83159856cfec6842c7c410 · ddc5911b9bd228dd69de976a4545292420f45e73 – < 321edbee9d7b64398bb11fccf46fa9cb0b637e41 · ddc5911b9bd228dd69de976a4545292420f45e73 – < 248f5c923663039f5fdebabf818f80bf20ad4d42 · ddc5911b9bd228dd69de976a4545292420f45e73 – < 44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04 · ddc5911b9bd228dd69de976a4545292420f45e73 – < 4c1870b25621ce76ed2c45dfd820ada1df703881 · ddc5911b9bd228dd69de976a4545292420f45e73 – < fff691dbd53867aeb0b3da2da35592f1dbc6b306 · ddc5911b9bd228dd69de976a4545292420f45e73 – < d90d1a768b3b022c52beafb3a4701ee2ee3d2b5eFixed in: 3aecc8090f6af7e6445c19db9abaa50f66b609a0 · d84b9db696f80aa3ce83159856cfec6842c7c410 · 321edbee9d7b64398bb11fccf46fa9cb0b637e41 · 248f5c923663039f5fdebabf818f80bf20ad4d42 · 44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04 · 4c1870b25621ce76ed2c45dfd820ada1df703881 · fff691dbd53867aeb0b3da2da35592f1dbc6b306 · d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e
Linux Linux5.7Fixed 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

CVSS vector, explained

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
High
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.