# CVE-2023-52852: linux: In the Linux kernel, the following vulnerability has been resolved:  f2fs: compress: fix to avoid use-after-free on d...

CVE-2023-52852 is fixed in linux on 1 platform, first by DEBIAN-CVE-2023-52852, released May 21, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-52852
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0024
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 21, 2024

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 6.1.64-1 | [DEBIAN-CVE-2023-52852](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52852.md) | May 21, 2024 |
| Linux | linux Debian 13.5 (trixie) | 6.6.8-1 | [DEBIAN-CVE-2023-52852](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52852.md) | May 21, 2024 |
| Linux | linux Debian 14 | 6.6.8-1 | [DEBIAN-CVE-2023-52852](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52852.md) | May 21, 2024 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
