A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
Weakness type
References
- git.kernel.org /stable/c/316db489647b8ddc381682597e89787eac61a278
- git.kernel.org /stable/c/4cf67d3cc9994a59cf77bb9c0ccf9007fe916afe
- git.kernel.org /stable/c/748fadc08bcbdaf573b34d9784bb3dbd87441dbf
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning