Use After Free in Linux
CVE-2023-53003
In the Linux kernel, the following vulnerability has been resolved:
EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info
The memory for llcc_driv_data is allocated by the LLCC driver. But when
it is passed as the private driver info to the EDAC core, it will get freed
during the qcom_edac driver release. So when the qcom_edac driver gets probed
again, it will try to use the freed data leading to the use-after-free bug.
Hence, do not pass llcc_driv_data as pvt_info but rather reference it
using the platform_data pointer in the qcom_edac driver.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 19.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 27450653f1db0b9d5b5048a246c850c52ee4aa61, 4.20, 0
- Linux Kernel — versions 6.2
Weakness classification (CWE)
References
- git.kernel.org/stable/c/66e10d5f399629ef7877304d9ba2b35d0474e7eb (Patch)
- git.kernel.org/stable/c/76d9ebb7f0bc10fbc78b6d576751552edf743968 (Patch)
- git.kernel.org/stable/c/bff5243bd32661cf9ce66f6d9210fc8f89bda145 (Patch)
- git.kernel.org/stable/c/6f0351d0c311951b8b3064db91e61841e85b2b96 (Patch)
- git.kernel.org/stable/c/977c6ba624f24ae20cf0faee871257a39348d4a9 (Patch)