Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.0, < 6.1.43 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/316db489647b8ddc381682597e89787eac61a278Patch
- https://git.kernel.org/stable/c/4cf67d3cc9994a59cf77bb9c0ccf9007fe916afePatch
- https://git.kernel.org/stable/c/748fadc08bcbdaf573b34d9784bb3dbd87441dbfPatch
FAQ
What is CVE-2023-53479?
CVE-2023-53479 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 i...
How severe is CVE-2023-53479?
CVE-2023-53479 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-53479?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.