CVE-2026-139222
ionic: fix port_info use-after-free on firmware recovery
Check your servers for CVE-2026-139222
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139222 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.51% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ddc5911b9bd228dd69de976a4545292420f45e73, before 3aecc8090f6af7e6445c19db9abaa50f66b609a0 affected from ddc5911b9bd228dd69de976a4545292420f45e73, before d84b9db696f80aa3ce83159856cfec6842c7c410 affected from ddc5911b9bd228dd69de976a4545292420f45e73, before 321edbee9d7b64398bb11fccf46fa9cb0b637e41 affected from ddc5911b9bd228dd69de976a4545292420f45e73, before 248f5c923663039f5fdebabf818f80bf20ad4d42 affected from ddc5911b9bd228dd69de976a4545292420f45e73, before 44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04 affected from ddc5911b9bd228dd69de976a4545292420f45e73, before 4c1870b25621ce76ed2c45dfd820ada1df703881 affected from ddc5911b9bd228dd69de976a4545292420f45e73, before fff691dbd53867aeb0b3da2da35592f1dbc6b306 affected from ddc5911b9bd228dd69de976a4545292420f45e73, before d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139222 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139222
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139222
trivy image --scanners vuln IMAGE | grep CVE-2026-139222
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3aecc8090f6af7e6445c19db9abaa50f66b609a0 git.kernel.org
- https://git.kernel.org/stable/c/d84b9db696f80aa3ce83159856cfec6842c7c410 git.kernel.org
- https://git.kernel.org/stable/c/321edbee9d7b64398bb11fccf46fa9cb0b637e41 git.kernel.org
- https://git.kernel.org/stable/c/248f5c923663039f5fdebabf818f80bf20ad4d42 git.kernel.org
- https://git.kernel.org/stable/c/44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04 git.kernel.org
- https://git.kernel.org/stable/c/4c1870b25621ce76ed2c45dfd820ada1df703881 git.kernel.org
- https://git.kernel.org/stable/c/fff691dbd53867aeb0b3da2da35592f1dbc6b306 git.kernel.org
- https://git.kernel.org/stable/c/d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e git.kernel.org
Source: the record CVE-2026-139222 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse