CVE-2026-53067

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

State
Published
Severity
Not scored
Published
Jun 24, 2026
Updated
Jun 24, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1c3b002c6bf684b445a7107609979bca5f21bc03 to before 175717cfc06cab79f84cd037d66dda1b8564cd9eAffected
  • 1c3b002c6bf684b445a7107609979bca5f21bc03 to before 3c25587fbf8797b92090b064a6d239a873e55fb1Affected
  • 1c3b002c6bf684b445a7107609979bca5f21bc03 to before 1cba96c0a795124c3229293ed7b5b5765e66f259Affected
LinuxLinux
  • 6.17Affected
  • before 6.17Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.