CVE-2026-139222
JSON

7.0high

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

Severity
7.0high CVSS:3.1 by Linux
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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

Product or packageVersionsReported by
Linux Linuxfrom ddc5911b9bd228dd69de976a4545292420f45e73 before 3aecc8090f6af7e6445c19db9abaa50f66b609a0, from ddc5911b9bd228dd69de976a4545292420f45e73 before d84b9db696f80aa3ce83159856cfec6842c7c410, from ddc5911b9bd228dd69de976a4545292420f45e73 before 321edbee9d7b64398bb11fccf46fa9cb0b637e41, from ddc5911b9bd228dd69de976a4545292420f45e73 before 248f5c923663039f5fdebabf818f80bf20ad4d42, from ddc5911b9bd228dd69de976a4545292420f45e73 before 44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04, from ddc5911b9bd228dd69de976a4545292420f45e73 before 4c1870b25621ce76ed2c45dfd820ada1df703881, from ddc5911b9bd228dd69de976a4545292420f45e73 before fff691dbd53867aeb0b3da2da35592f1dbc6b306, from ddc5911b9bd228dd69de976a4545292420f45e73 before d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e and 1 more
Not affected: before 5.7, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139222 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-139222 changed 2026-12-01Public domain