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.
Published: 2026-11-30
Score: 7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Dec 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 01 Dec 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 01 Dec 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 01 Dec 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Mon, 30 Nov 2026 14:00:00 +0000

Type Values Removed Values Added
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.
Title ionic: fix port_info use-after-free on firmware recovery
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-12-01T05:41:54.976Z

Reserved: 2026-11-30T13:22:15.921Z

Link: CVE-2026-139222

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T14:18:42.530

Modified: 2026-12-01T06:17:39.703

Link: CVE-2026-139222

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-30T13:32:44Z

Links: CVE-2026-139222 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-12-01T10:30:09Z

Weaknesses

No weakness.