{"id":"CVE-2026-53067","summary":"PCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc\n\npci_epf_alloc_doorbell() stores the allocated doorbell message array in\nepf-\u003edb_msg/epf-\u003enum_db before requesting MSI vectors. If MSI allocation\nfails, the array is freed but the EPF state may still point to freed\nmemory.\n\nClear epf-\u003edb_msg and epf-\u003enum_db on the MSI allocation failure path so\nthat later cleanup cannot double-free the array and callers can retry\nallocation.\n\nAlso return -EBUSY when doorbells have already been allocated to prevent\nleaking or overwriting an existing allocation.","modified":"2026-07-16T03:32:33.806877334Z","published":"2026-06-24T16:30:09.492Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53067.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/175717cfc06cab79f84cd037d66dda1b8564cd9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1cba96c0a795124c3229293ed7b5b5765e66f259"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3c25587fbf8797b92090b064a6d239a873e55fb1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53067.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53067"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1c3b002c6bf684b445a7107609979bca5f21bc03"},{"fixed":"175717cfc06cab79f84cd037d66dda1b8564cd9e"},{"fixed":"3c25587fbf8797b92090b064a6d239a873e55fb1"},{"fixed":"1cba96c0a795124c3229293ed7b5b5765e66f259"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53067.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53067.json"}}],"schema_version":"1.7.5"}