Bug 2586939 (CVE-2026-139221) - CVE-2026-139221 kernel: kernel: ionic: Denial of Service via memory leak during probe failure
Summary: CVE-2026-139221 kernel: kernel: ionic: Denial of Service via memory leak duri...
Keywords:
Status: NEW
Alias: CVE-2026-139221
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:49 UTC by OSIDB Bzimport
Modified: 2026-12-01 07:19 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:49:30 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.