CVE-2023-53479

Source
https://cve.org/CVERecord?id=CVE-2023-53479
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53479.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53479
Downstream
Related
Published
2025-10-01T11:42:47.987Z
Modified
2026-04-02T09:44:17.067543Z
Summary
cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()
Details

In the Linux kernel, the following vulnerability has been resolved:

cxl/acpi: Fix a use-after-free in cxlparsecfmws()

KASAN and KFENCE detected an user-after-free in the CXL driver. This happens in the cxldecoderadd() fail path. KASAN prints the following error:

BUG: KASAN: slab-use-after-free in cxlparsecfmws (drivers/cxl/acpi.c:299)

This happens in cxlparsecfmws(), where put_device() is called, releasing cxld, which is accessed later.

Use the local variables in the deverr() instead of pointing to the released memory. Since the deverr() is printing a resource, change the open coded print format to use the %pr format specifier.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53479.json"
}
References

Affected packages

Git / 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"