CVE-2026-139221

Source
https://cve.org/CVERecord?id=CVE-2026-139221
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139221.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139221
Downstream
Published
2026-11-30T13:32:43Z
Modified
2026-11-30T15:02:27Z
Summary
ionic: free port_info when probe fails after the port is set up
Details

In the Linux kernel, the following vulnerability has been resolved:

ionic: free port_info when probe fails after the port is set up

ionic_probe() allocates the port_info DMA buffer via ionic_setup_one() -> ionic_port_init(). If probe then fails anywhere after that, it unwinds through err_out_pci, which never calls ionic_port_reset(); ionic_dev_teardown() and ionic_clear_pci() do not touch port_info, and so the buffer is leaked. The call was lost when the setup code was moved into ionic_setup_one().

Since ionic_remove() already frees the port_info DMA buffer with ionic_port_reset(), call that on the probe error path too. Every path to err_out_pci runs after ionic_setup_one() succeeded, so the BARs are still mapped and the firmware gets a PORT_RESET before the buffer is freed, the same order as in ionic_remove().

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139221.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
0de38d9f1dba2336f84799824af08263fc407dd1
Fixed
4e9ec23592e793458e8cb34ccb90f9ad23b29425
Fixed
bdeced2c6513fcc8aaab0f9e1ebe4d4c5fb297e1
Fixed
a886f04e84e0f96f362f14d8a6cf4cd882e00479
Fixed
9150b7787824c9e1d3435fc9be7ed5ca6a270e2f
Fixed
4e15e0a941ce901d51b5f203713fa90feee9c4d3

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.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-139221.json"