What’s Vulnerable › Vulnerabilities
CVE-2023-53479: cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-01 · updated 2026-06-17
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: cxl/acpi: Fix a use-after-free in cxl_parse_cfmws() KASAN and KFENCE detected an user-after-free in the CXL driver. This happens in the cxl_decoder_add() fail path. KASAN prints the following error: BUG: KASAN: slab-use-after-free in cxl_parse_cfmws (drivers/cxl/acpi.c:299) This happens in cxl_parse_cfmws(), where put_device() is called, releasing cxld, which is accessed later. Use the local variables in the dev_err() instead of pointing to the released memory. Since the dev_err() is printing a resource, change the open coded print format to use the %pr format specifier.
Affected products
- Linux kernel: from 6.0 before 6.1.43; from 6.2 before 6.4.8; 6.5-rc1, 6.5-rc2, 6.5-rc3 — fixed in 6.1.43, 6.4.8
How to fix
Upgrade to a fixed version: Linux kernel 6.1.43, 6.4.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/316db489647b8ddc381682597e89787eac61a278
- https://git.kernel.org/stable/c/4cf67d3cc9994a59cf77bb9c0ccf9007fe916afe
- https://git.kernel.org/stable/c/748fadc08bcbdaf573b34d9784bb3dbd87441dbf
Get alerted when CVE-2023-53479 or the next vulnerability affects your stack