PT-2024-14735 · Linux+5 · Linux Kernel+5
Robert Richter
·
Published
2023-10-27
·
Updated
2026-03-13
·
CVE-2023-52771
CVSS v3.1
4.7
Medium
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the CXL subsystem in the Linux kernel, where a lineage of ports is established between an endpoint and the root of a CXL topology. When a port or memdev is removed, the hierarchy below it needs to come down. The delete endpoint() callback checks whether it is tearing down the hierarchy or just the memdev. To fix the issue, two bugs need to be addressed: preventing use-after-free scenarios and correctly locking the parent device in RCH topologies. The fix involves taking the device lock() of the endpoint's parent and using endpoint->dev.parent instead of @port->dev in certain cases.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Almalinux
Astra Linux
Debian
Linux Kernel
Red Hat
Suse