In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc… (CVE-2026-53067)
A high-severity use-after-free vulnerability in the Linux kernel's PCI endpoint MSI allocation code was resolved. The issue occurs when pci_epf_alloc_doorbell() allocates a doorbell message array and stores it before requesting MSI vectors. If MSI allocation fails, the array is freed but pointers remain, risking double-free or use-after-free. The fix clears these pointers on failure and returns an error if doorbells are already allocated to prevent overwriting or leaking allocations.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel PCI endpoint MSI allocation function (pci_epf_alloc_doorbell) involves improper error handling during MSI vector allocation. Specifically, the allocated doorbell message array is stored in epf->db_msg and epf->num_db before MSI allocation. If MSI allocation fails, the array is freed but the pointers are not cleared, leaving the EPF state pointing to freed memory. This can lead to double-free or use-after-free conditions. The patch clears these pointers on failure and returns -EBUSY if doorbells are already allocated, preventing memory corruption or leaks.
Potential Impact
Successful exploitation could lead to memory corruption due to use-after-free or double-free conditions, potentially allowing privilege escalation or denial of service. The CVSS 3.1 vector rates this vulnerability as high severity with impact on confidentiality, integrity, and availability (C:H/I:H/A:H). No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by correcting error handling and preventing double allocation. Users should apply the official kernel updates containing this patch when available. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the exact fixed versions and update instructions.
In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc… (CVE-2026-53067)
Description
A high-severity use-after-free vulnerability in the Linux kernel's PCI endpoint MSI allocation code was resolved. The issue occurs when pci_epf_alloc_doorbell() allocates a doorbell message array and stores it before requesting MSI vectors. If MSI allocation fails, the array is freed but pointers remain, risking double-free or use-after-free. The fix clears these pointers on failure and returns an error if doorbells are already allocated to prevent overwriting or leaking allocations.
CVSS v3.1
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel PCI endpoint MSI allocation function (pci_epf_alloc_doorbell) involves improper error handling during MSI vector allocation. Specifically, the allocated doorbell message array is stored in epf->db_msg and epf->num_db before MSI allocation. If MSI allocation fails, the array is freed but the pointers are not cleared, leaving the EPF state pointing to freed memory. This can lead to double-free or use-after-free conditions. The patch clears these pointers on failure and returns -EBUSY if doorbells are already allocated, preventing memory corruption or leaks.
Potential Impact
Successful exploitation could lead to memory corruption due to use-after-free or double-free conditions, potentially allowing privilege escalation or denial of service. The CVSS 3.1 vector rates this vulnerability as high severity with impact on confidentiality, integrity, and availability (C:H/I:H/A:H). No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by correcting error handling and preventing double allocation. Users should apply the official kernel updates containing this patch when available. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the exact fixed versions and update instructions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-6325-fcfv-pxv6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53067"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a5fcf481010f89cc2152cf7
Added to database: 07/21/2026, 19:58:00 UTC
Last enriched: 07/21/2026, 20:06:15 UTC
Last updated: 07/21/2026, 20:57:08 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.