PT-2024-8532 · Linux+6 · Linux Kernel+6
Published
2024-10-25
·
Updated
2026-03-13
·
CVE-2024-50226
CVSS v3.1
7.8
High
| Vector | AV: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 versions prior to 6.6.61
Description
The issue is related to a use-after-free bug in the cxl/port module of the Linux kernel. This bug occurs when a region is established with multiple endpoint decoders that share a common switch-decoder, and the decoder is removed out of order, causing the region cleanup to be aborted and leaving it referencing a stale decoder object. The vulnerability may allow an attacker to impact the confidentiality, integrity, and availability of protected information. The fix involves recognizing that the CXL specification does not mandate in-order shutdown of switch-decoders and always removing objects to prevent them from being left dangling.
Recommendations
To resolve the issue, update the Linux kernel to version 6.6.61 or later. As a temporary workaround, consider disabling the
cxl decoder reset() function until a patch is available. Restrict access to the vulnerable cxl region decode reset() function to minimize the risk of exploitation. Avoid using the cxl port attach region() function with multiple endpoint decoders that share a common switch-decoder until the issue is resolved.Exploit
Fix
DoS
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Debian
Linuxmint
Linux Kernel
Red Hat
Ubuntu