CVE-2023-52852
Linux F2FS Use-After-Free Vulnerability
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.
INFO
Published Date :
May 21, 2024, 4:15 p.m.
Last Modified :
Dec. 30, 2024, 8:09 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52852
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52852
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52852
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 30, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.13.19 up to (excluding) 5.15.139 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.63 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.5.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.2 Changed Reference Type https://git.kernel.org/stable/c/8c4504cc0c64862740a6acb301e0cfa59580dbc5 No Types Assigned https://git.kernel.org/stable/c/8c4504cc0c64862740a6acb301e0cfa59580dbc5 Patch Changed Reference Type https://git.kernel.org/stable/c/8c4504cc0c64862740a6acb301e0cfa59580dbc5 No Types Assigned https://git.kernel.org/stable/c/8c4504cc0c64862740a6acb301e0cfa59580dbc5 Patch Changed Reference Type https://git.kernel.org/stable/c/932ddb5c29e884cc6fac20417ece72ba4a35c401 No Types Assigned https://git.kernel.org/stable/c/932ddb5c29e884cc6fac20417ece72ba4a35c401 Patch Changed Reference Type https://git.kernel.org/stable/c/932ddb5c29e884cc6fac20417ece72ba4a35c401 No Types Assigned https://git.kernel.org/stable/c/932ddb5c29e884cc6fac20417ece72ba4a35c401 Patch Changed Reference Type https://git.kernel.org/stable/c/9375ea7f269093d7c884857ae1f47633a91f429c No Types Assigned https://git.kernel.org/stable/c/9375ea7f269093d7c884857ae1f47633a91f429c Patch Changed Reference Type https://git.kernel.org/stable/c/9375ea7f269093d7c884857ae1f47633a91f429c No Types Assigned https://git.kernel.org/stable/c/9375ea7f269093d7c884857ae1f47633a91f429c Patch Changed Reference Type https://git.kernel.org/stable/c/9d065aa52b6ee1b06f9c4eca881c9b4425a12ba2 No Types Assigned https://git.kernel.org/stable/c/9d065aa52b6ee1b06f9c4eca881c9b4425a12ba2 Patch Changed Reference Type https://git.kernel.org/stable/c/9d065aa52b6ee1b06f9c4eca881c9b4425a12ba2 No Types Assigned https://git.kernel.org/stable/c/9d065aa52b6ee1b06f9c4eca881c9b4425a12ba2 Patch Changed Reference Type https://git.kernel.org/stable/c/b0327c84e91a0f4f0abced8cb83ec86a7083f086 No Types Assigned https://git.kernel.org/stable/c/b0327c84e91a0f4f0abced8cb83ec86a7083f086 Patch Changed Reference Type https://git.kernel.org/stable/c/b0327c84e91a0f4f0abced8cb83ec86a7083f086 No Types Assigned https://git.kernel.org/stable/c/b0327c84e91a0f4f0abced8cb83ec86a7083f086 Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/8c4504cc0c64862740a6acb301e0cfa59580dbc5 Added Reference https://git.kernel.org/stable/c/932ddb5c29e884cc6fac20417ece72ba4a35c401 Added Reference https://git.kernel.org/stable/c/9375ea7f269093d7c884857ae1f47633a91f429c Added Reference https://git.kernel.org/stable/c/9d065aa52b6ee1b06f9c4eca881c9b4425a12ba2 Added Reference https://git.kernel.org/stable/c/b0327c84e91a0f4f0abced8cb83ec86a7083f086 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 21, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/8c4504cc0c64862740a6acb301e0cfa59580dbc5 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9375ea7f269093d7c884857ae1f47633a91f429c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/932ddb5c29e884cc6fac20417ece72ba4a35c401 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9d065aa52b6ee1b06f9c4eca881c9b4425a12ba2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b0327c84e91a0f4f0abced8cb83ec86a7083f086 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52852
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52852
weaknesses.