CVE-2026-139222: ionic: fix port_info use-after-free on firmware recovery

Published Nov 30, 2026
·
Updated

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

ionic: fix portinfo use-after-free on firmware recovery

ionicportinit() allocates portinfo when the pointer is NULL, but its error path frees it without checking whether this call allocated it. Before commit ddc5911b9bd2 ("ionic: call ionicportinit after fw-upgrade") the function returned early when the buffer already existed, so the two were symmetric.

Since then a failed PORTINIT on either recovery path - fwup or resetdone - 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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel ionic network driver are exposed when firmware recovery is performed through either the fw_up or reset_done recovery path. The condition involves a registered network device whose ethtool operations can read the affected port_info buffer.

2

What condition triggers the use-after-free?

A PORT_INIT failure during firmware recovery can cause ionic_port_init() to free an existing port_info buffer that was allocated by an earlier initialization. This occurs when the buffer already exists and the failing call did not allocate it.

3

How can I tell whether a system may be affected?

Check whether the system uses the ionic driver and has encountered a failed PORT_INIT during firmware upgrade recovery or reset completion. The vulnerability is relevant when the network device remains registered and ethtool operations may access port information after that failure.

4

What is the remediation?

Apply a kernel update containing the fix that frees port_info only when the current ionic_port_init() invocation allocated it. The provided stable-kernel references identify patched commits.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203