Menu

Star on GitHub · 3.2k

CVE-2023-52852

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: f2fs: compress: fix to avoid use-after-free on dic Call trace: __memcpy+0x128/0x250 f2fs_read_multi_pages+0x940/0xf7c f2fs_m…

Published May 21, 2024CWE-416EPSS 0.24%

Overview

CVE-2023-52852 is a high-severity vulnerability. It was published on May 21, 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:

f2fs: compress: fix to avoid use-after-free on dic

Call trace:

__memcpy+0x128/0x250

f2fs_read_multi_pages+0x940/0xf7c

f2fs_mpage_readpages+0x5a8/0x624

f2fs_readahead+0x5c/0x110

page_cache_ra_unbounded+0x1b8/0x590

do_sync_mmap_readahead+0x1dc/0x2e4

filemap_fault+0x254/0xa8c

f2fs_filemap_fault+0x2c/0x104

__do_fault+0x7c/0x238

do_handle_mm_fault+0x11bc/0x2d14

do_mem_abort+0x3a8/0x1004

el0_da+0x3c/0xa0

el0t_64_sync_handler+0xc4/0xec

el0t_64_sync+0x1b4/0x1b8

In f2fs_read_multi_pages(), once f2fs_decompress_cluster() was called if

we hit cached page in compress_inode's cache, dic may be released, it needs

break the loop rather than continuing it, in order to avoid accessing

invalid dic pointer.

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

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

How severe is CVE-2023-52852?

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

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

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