Menu

Star on GitHub · 3.2k

CVE-2023-52572

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix UAF in cifs_demultiplex_thread() There is a UAF when xfstests on cifs: BUG: KASAN: use-after-free in smb2_is_netwo…

Published Mar 2, 2024CWE-416EPSS 0.23%

Overview

CVE-2023-52572 is a high-severity vulnerability. It was published on March 2, 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:

cifs: Fix UAF in cifs_demultiplex_thread()

There is a UAF when xfstests on cifs:

BUG: KASAN: use-after-free in smb2_is_network_name_deleted+0x27/0x160

Read of size 4 at addr ffff88810103fc08 by task cifsd/923

CPU: 1 PID: 923 Comm: cifsd Not tainted 6.1.0-rc4+ #45

...

Call Trace:

<TASK>

dump_stack_lvl+0x34/0x44

print_report+0x171/0x472

kasan_report+0xad/0x130

kasan_check_range+0x145/0x1a0

smb2_is_network_name_deleted+0x27/0x160

cifs_demultiplex_thread.cold+0x172/0x5a4

kthread+0x165/0x1a0

ret_from_fork+0x1f/0x30

</TASK>

Allocated by task 923:

kasan_save_stack+0x1e/0x40

kasan_set_track+0x21/0x30

__kasan_slab_alloc+0x54/0x60

kmem_cache_alloc+0x147/0x320

mempool_alloc+0xe1/0x260

cifs_small_buf_get+0x24/0x60

allocate_buffers+0xa1/0x1c0

cifs_demultiplex_thread+0x199/0x10d0

kthread+0x165/0x1a0

ret_from_fork+0x1f/0x30

Freed by task 921:

kasan_sav

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-52572?

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

How severe is CVE-2023-52572?

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-52572?

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-52572?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52572 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