{"id":"DEBIAN-CVE-2024-56561","details":"In the Linux kernel, the following vulnerability has been resolved:  PCI: endpoint: Fix PCI domain ID release in pci_epc_destroy()  pci_epc_destroy() invokes pci_bus_release_domain_nr() to release the PCI domain ID, but there are two issues:    - 'epc-\u003edev' is passed to pci_bus_release_domain_nr() which was already     freed by device_unregister(), leading to a use-after-free issue.    - Domain ID corresponds to the EPC device parent, so passing 'epc-\u003edev'     is also wrong.  Fix these issues by passing 'epc-\u003edev.parent' to pci_bus_release_domain_nr() and also do it before device_unregister().  [mani: reworded subject and description]","modified":"2026-09-15T09:02:59.784718417Z","published":"2024-12-27T15:15:14.983Z","upstream":["CVE-2024-56561"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-56561"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.5-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-56561.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.5-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-56561.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}