CVE-2023-52468
kernel: use-after-free in class_register()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 26, 2024
Updated · November 21, 2025
Description
A use-after-free flaw was found in class_register() in the Linux kernel. This issue occurs due to the lock_class_key is still being registered and found in lock_keys_hash hlist after subsys_private is freed in the error handler path. If a task iterates over the lock_keys_hash, it may cause a use-after-free.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-416 · Use After Free