# CVE-2026-53067: PCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-24T16:30:09.492Z
- Modified: 2026-07-21T17:37:33.227Z
- Weaknesses: CWE-415
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1c3b002c6bf684b445a7107609979bca5f21bc03 before 175717cfc06cab79f84cd037d66dda1b8564cd9e; from 1c3b002c6bf684b445a7107609979bca5f21bc03 before 3c25587fbf8797b92090b064a6d239a873e55fb1; from 1c3b002c6bf684b445a7107609979bca5f21bc03 before 1cba96c0a795124c3229293ed7b5b5765e66f259; 6.17 (not affected: before 6.17; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.17 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/175717cfc06cab79f84cd037d66dda1b8564cd9e> (patch)
- <https://git.kernel.org/stable/c/3c25587fbf8797b92090b064a6d239a873e55fb1> (patch)
- <https://git.kernel.org/stable/c/1cba96c0a795124c3229293ed7b5b5765e66f259> (patch)

## Sources

- CVE List: [CVE-2026-53067](https://www.cve.org/CVERecord?id=CVE-2026-53067), CVE Terms of Use, modified 2026-06-24
- NVD: [CVE-2026-53067](https://nvd.nist.gov/vuln/detail/CVE-2026-53067), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-53067 · Whole record: https://cve.day/CVE-2026-53067.json · Rebuilt by cve.day 2026-11-25T22:59:25.681Z
