PT-2024-36866
CVE-2024-56561
·
Published
2024-11-18
·
Updated
2025-04-24
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue arises in the Linux kernel's PCI endpoint functionality, specifically in the
pci epc destroy() function. This function invokes pci bus release domain nr() to release the PCI domain ID. However, two problems exist:- The
epc->devis passed topci bus release domain nr(), which has already been freed bydevice unregister(), leading to a use-after-free issue. - The domain ID corresponds to the EPC device parent, making it incorrect to pass
epc->dev. To fix these issues,epc->dev.parentshould be passed topci bus release domain nr()beforedevice unregister()is called.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾