{"id":"CVE-2023-53479","state":"PUBLISHED","title":"cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()","description":"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.","publishedAt":"2025-10-01T11:42:47.987Z","updatedAt":"2026-05-11T19:45:46.984Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e50fe01e1f2a4aba2275edee7d5c77ac87674ddb","status":"affected","lessThan":"748fadc08bcbdaf573b34d9784bb3dbd87441dbf","versionType":"git"},{"version":"e50fe01e1f2a4aba2275edee7d5c77ac87674ddb","status":"affected","lessThan":"316db489647b8ddc381682597e89787eac61a278","versionType":"git"},{"version":"e50fe01e1f2a4aba2275edee7d5c77ac87674ddb","status":"affected","lessThan":"4cf67d3cc9994a59cf77bb9c0ccf9007fe916afe","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/acpi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.43","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.8","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/acpi.c"]}],"references":["https://git.kernel.org/stable/c/748fadc08bcbdaf573b34d9784bb3dbd87441dbf","https://git.kernel.org/stable/c/316db489647b8ddc381682597e89787eac61a278","https://git.kernel.org/stable/c/4cf67d3cc9994a59cf77bb9c0ccf9007fe916afe"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53479.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53479","state":"PUBLISHED","datePublished":"2025-10-01T11:42:47.987Z","dateUpdated":"2026-05-11T19:45:46.984Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-01T11:39:39.401Z"},"containers":{"cna":{"title":"cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e50fe01e1f2a4aba2275edee7d5c77ac87674ddb","status":"affected","lessThan":"748fadc08bcbdaf573b34d9784bb3dbd87441dbf","versionType":"git"},{"version":"e50fe01e1f2a4aba2275edee7d5c77ac87674ddb","status":"affected","lessThan":"316db489647b8ddc381682597e89787eac61a278","versionType":"git"},{"version":"e50fe01e1f2a4aba2275edee7d5c77ac87674ddb","status":"affected","lessThan":"4cf67d3cc9994a59cf77bb9c0ccf9007fe916afe","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/acpi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.43","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.8","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cxl/acpi.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/748fadc08bcbdaf573b34d9784bb3dbd87441dbf"},{"url":"https://git.kernel.org/stable/c/316db489647b8ddc381682597e89787eac61a278"},{"url":"https://git.kernel.org/stable/c/4cf67d3cc9994a59cf77bb9c0ccf9007fe916afe"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:45:46.984Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.43"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.4.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}