CVE-2026-139222

Source
https://cve.org/CVERecord?id=CVE-2026-139222
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139222.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139222
Downstream
Published
2026-11-30T13:32:44Z
Modified
2026-12-01T07:00:34Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ionic: fix port_info use-after-free on firmware recovery
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139222.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ddc5911b9bd228dd69de976a4545292420f45e73
Fixed
3aecc8090f6af7e6445c19db9abaa50f66b609a0
Fixed
d84b9db696f80aa3ce83159856cfec6842c7c410
Fixed
321edbee9d7b64398bb11fccf46fa9cb0b637e41
Fixed
248f5c923663039f5fdebabf818f80bf20ad4d42
Fixed
44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04
Fixed
4c1870b25621ce76ed2c45dfd820ada1df703881
Fixed
fff691dbd53867aeb0b3da2da35592f1dbc6b306
Fixed
d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139222.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139222.json"