Menu

Star on GitHub · 3.2k

CVE-2023-52741

9.8 · CRITICAL

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix use-after-free in rdata->read_into_pages() When the network status is unstable, use-after-free may occur when read da…

Published May 21, 2024CWE-416EPSS 0.73%

Overview

CVE-2023-52741 is a critical-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

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

cifs: Fix use-after-free in rdata->read_into_pages()

When the network status is unstable, use-after-free may occur when

read data from the server.

BUG: KASAN: use-after-free in readpages_fill_pages+0x14c/0x7e0

Call Trace:

<TASK>

dump_stack_lvl+0x38/0x4c

print_report+0x16f/0x4a6

kasan_report+0xb7/0x130

readpages_fill_pages+0x14c/0x7e0

cifs_readv_receive+0x46d/0xa40

cifs_demultiplex_thread+0x121c/0x1490

kthread+0x16b/0x1a0

ret_from_fork+0x2c/0x50

</TASK>

Allocated by task 2535:

kasan_save_stack+0x22/0x50

kasan_set_track+0x25/0x30

__kasan_kmalloc+0x82/0x90

cifs_readdata_direct_alloc+0x2c/0x110

cifs_readdata_alloc+0x2d/0x60

cifs_readahead+0x393/0xfe0

read_pages+0x12f/0x470

page_cache_ra_unbounded+0x1b1/0x240

filemap_get_pages+0x1c8/0x9a0

filemap_read+0x1c0/0x540

cifs_strict_readv+0x21b/0x240

vfs_read+0x395/0x4b0

ksys_read+0xb8/0x150

do_sysca

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

CVE-2023-52741 is a critical-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2023-52741?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

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

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

View all