Bug 2492399 (CVE-2026-53067) - CVE-2026-53067 kernel: PCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc
Summary: CVE-2026-53067 kernel: PCI: endpoint: pci-ep-msi: Fix error unwind and preven...
Keywords:
Status: NEW
Alias: CVE-2026-53067
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 18:09 UTC by OSIDB Bzimport
Modified: 2026-06-26 14:44 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 18:09:59 UTC
In the Linux kernel, the following vulnerability has been resolved:

PCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc

pci_epf_alloc_doorbell() stores the allocated doorbell message array in
epf->db_msg/epf->num_db before requesting MSI vectors. If MSI allocation
fails, the array is freed but the EPF state may still point to freed
memory.

Clear epf->db_msg and epf->num_db on the MSI allocation failure path so
that later cleanup cannot double-free the array and callers can retry
allocation.

Also return -EBUSY when doorbells have already been allocated to prevent
leaking or overwriting an existing allocation.

Comment 1 Mauro Matteo Cascella 2026-06-26 14:38:25 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062403-CVE-2026-53067-ec86@gregkh/T


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