{"id":"CVE-2024-56561","published":"2024-12-27T14:23:06Z","modified":"2026-05-23T15:55:39Z","title":"PCI: endpoint: Fix PCI domain ID release in pci_epc_destroy()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: Fix PCI domain ID release in pci_epc_destroy()\n\npci_epc_destroy() invokes pci_bus_release_domain_nr() to release the PCI\ndomain ID, but there are two issues:\n\n  - 'epc->dev' is passed to pci_bus_release_domain_nr() which was already\n    freed by device_unregister(), leading to a use-after-free issue.\n\n  - Domain ID corresponds to the EPC device parent, so passing 'epc->dev'\n    is also wrong.\n\nFix these issues by passing 'epc->dev.parent' to\npci_bus_release_domain_nr() and also do it before device_unregister().\n\n[mani: reworded subject and description]","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00217,"percentile":0.1247,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/c74a1df6c2a2df7dd45c3fc1a5edc29a075dcf22","tags":[]},{"url":"https://git.kernel.org/stable/c/4acc902ed3743edd4ac2d3846604a99d17104359","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":2.49},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0328947c50324cf4b2d8b181bf948edb8101f59f, < c74a1df6c2a2df7dd45c3fc1a5edc29a075dcf22",">= 0328947c50324cf4b2d8b181bf948edb8101f59f, < 4acc902ed3743edd4ac2d3846604a99d17104359","a4934cd7a18d35fc57025f23773f6f19e2b2dbb1",">= 6.11.4, < 6.12"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-11T15:42:44.465270Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53209","exploited":false,"provenance":"source"}}