CVE-2026-139221
publishedionic: free port_info when probe fails after the port is set up
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0de38d9f1dba2336f84799824af08263fc407dd1 to < 4e9ec23592e793458e8cb34ccb90f9ad23b29425 · 0de38d9f1dba2336f84799824af08263fc407dd1 to < bdeced2c6513fcc8aaab0f9e1ebe4d4c5fb297e1 · 0de38d9f1dba2336f84799824af08263fc407dd1 to < a886f04e84e0f96f362f14d8a6cf4cd882e00479 · 0de38d9f1dba2336f84799824af08263fc407dd1 to < 9150b7787824c9e1d3435fc9be7ed5ca6a270e2f · 0de38d9f1dba2336f84799824af08263fc407dd1 to < 4e15e0a941ce901d51b5f203713fa90feee9c4d3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0de38d9f1dba2336f84799824af08263fc407dd1 to < 4e9ec23592e793458e8cb34ccb90f9ad23b29425 (affected · git)0de38d9f1dba2336f84799824af08263fc407dd1 to < bdeced2c6513fcc8aaab0f9e1ebe4d4c5fb297e1 (affected · git)0de38d9f1dba2336f84799824af08263fc407dd1 to < a886f04e84e0f96f362f14d8a6cf4cd882e00479 (affected · git)0de38d9f1dba2336f84799824af08263fc407dd1 to < 9150b7787824c9e1d3435fc9be7ed5ca6a270e2f (affected · git)0de38d9f1dba2336f84799824af08263fc407dd1 to < 4e15e0a941ce901d51b5f203713fa90feee9c4d3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/4e15e0a941ce901d51b5f203713fa90feee9c4d3
- https://git.kernel.org/stable/c/4e9ec23592e793458e8cb34ccb90f9ad23b29425
- https://git.kernel.org/stable/c/9150b7787824c9e1d3435fc9be7ed5ca6a270e2f
- https://git.kernel.org/stable/c/a886f04e84e0f96f362f14d8a6cf4cd882e00479
- https://git.kernel.org/stable/c/bdeced2c6513fcc8aaab0f9e1ebe4d4c5fb297e1
Provider assertions
1Linux · cna
ionic: free port_info when probe fails after the port is set up
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5cb6aa73db62702785665cacf608b460c1268017d5fc3748891d607b6b09f617
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record