Menu

Star on GitHub · 3.3k

CVE-2023-52468

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: class: fix use-after-free in class_register() The lock_class_key is still registered and can be found in lock_keys_hash hlist a…

Published Feb 26, 2024CWE-416EPSS 0.27%

Overview

CVE-2023-52468 is a high-severity vulnerability. It was published on February 26, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

class: fix use-after-free in class_register()

The lock_class_key is still registered and can be found in

lock_keys_hash hlist after subsys_private is freed in error

handler path.A task who iterate over the lock_keys_hash

later may cause use-after-free.So fix that up and unregister

the lock_class_key before kfree(cp).

On our platform, a driver fails to kset_register because of

creating duplicate filename '/class/xxx'.With Kasan enabled,

it prints a invalid-access bug report.

KASAN bug report:

BUG: KASAN: invalid-access in lockdep_register_key+0x19c/0x1bc

Write of size 8 at addr 15ffff808b8c0368 by task modprobe/252

Pointer tag: [15], memory tag: [fe]

CPU: 7 PID: 252 Comm: modprobe Tainted: G W

6.6.0-mainline-maybe-dirty #1

Call trace:

dump_backtrace+0x1b0/0x1e4

show_stack+0x2c/0x40

dump_stack_lvl+0xac/0xe0

print_report+0x18c/0x4d8

kasan_report+0xe8/0x148

__hwasan_store8_noabort+0x88/0x98

lockdep_register_

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-52468?

CVE-2023-52468 is a high-severity vulnerability. It was published on February 26, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2023-52468?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-52468?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52468?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52468 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2023

View all
LiveWatch live →