{"id":"CVE-2023-53479","summary":"cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/acpi: Fix a use-after-free in cxl_parse_cfmws()\n\nKASAN and KFENCE detected an user-after-free in the CXL driver. This\nhappens in the cxl_decoder_add() fail path. KASAN prints the following\nerror:\n\n   BUG: KASAN: slab-use-after-free in cxl_parse_cfmws (drivers/cxl/acpi.c:299)\n\nThis happens in cxl_parse_cfmws(), where put_device() is called,\nreleasing cxld, which is accessed later.\n\nUse the local variables in the dev_err() instead of pointing to the\nreleased memory. Since the dev_err() is printing a resource, change the open\ncoded print format to use the %pr format specifier.","modified":"2026-04-02T09:44:17.067543Z","published":"2025-10-01T11:42:47.987Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53479.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/316db489647b8ddc381682597e89787eac61a278"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4cf67d3cc9994a59cf77bb9c0ccf9007fe916afe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/748fadc08bcbdaf573b34d9784bb3dbd87441dbf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53479.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53479"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e50fe01e1f2a4aba2275edee7d5c77ac87674ddb"},{"fixed":"748fadc08bcbdaf573b34d9784bb3dbd87441dbf"},{"fixed":"316db489647b8ddc381682597e89787eac61a278"},{"fixed":"4cf67d3cc9994a59cf77bb9c0ccf9007fe916afe"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53479.json"}}],"schema_version":"1.7.5"}