CVE-2023-52444
f2fs: fix to avoid dirent corruption
Mitigation
- Upgrade Linux to 53edb549565f55ccd0bdf43be3d66ce4c2d48b28 or later.
Who should check
- Anyone running Linux >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 02160112e6d45c2610b049df6eb693d7a2e57b46; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 5624a3c1b1ebc8991318e1cce2aa719542991024; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 6f866885e147d33efc497f1095f35b2ee5ec7310; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < f100ba617d8be6c98a68f3744ef7617082975b77; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < f0145860c20be6bae6785c7a2249577674702ac7; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < d3c0b49aaa12a61d560528f5d605029ab57f0728; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 2fb4867f4405aea8c0519d7d188207f232a57862; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 53edb549565f55ccd0bdf43be3d66ce4c2d48b28
- Anyone running Linux 4.2
Vulnerability facts
- Affected
- Linux >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 02160112e6d45c2610b049df6eb693d7a2e57b46; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 5624a3c1b1ebc8991318e1cce2aa719542991024; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 6f866885e147d33efc497f1095f35b2ee5ec7310; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < f100ba617d8be6c98a68f3744ef7617082975b77; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < f0145860c20be6bae6785c7a2249577674702ac7; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < d3c0b49aaa12a61d560528f5d605029ab57f0728; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 2fb4867f4405aea8c0519d7d188207f232a57862; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 53edb549565f55ccd0bdf43be3d66ce4c2d48b28; Linux 4.2
- Fixed in
- Linux 02160112e6d45c2610b049df6eb693d7a2e57b46, Linux 5624a3c1b1ebc8991318e1cce2aa719542991024, Linux 6f866885e147d33efc497f1095f35b2ee5ec7310, Linux 2fb4867f4405aea8c0519d7d188207f232a57862, Linux 53edb549565f55ccd0bdf43be3d66ce4c2d48b28
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- CWE
- CWE-119
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid dirent corruption As Al reported in link[1]: f2fs_rename() ... if (old_dir != new_dir && !whiteout) f2fs_set_link(old_inode, old_dir_entry, old_dir_page, new_dir); else f2fs_put_page(old_dir_page, 0); You want correct inumber in the ".." link. And cross-directory rename does move the source to new parent, even if you'd been asked to leave a whiteout in the old place. [1] https://lore.kernel.org/all/20231017055040.GN800259@ZenIV/ With below testcase, it may cause dirent corruption, due to it missed to call f2fs_set_link() to update ".." link to new directory. - mkdir -p dir/foo - renameat2 -w dir/foo bar [ASSERT] (__chk_dots_dentries:1421) --> Bad inode number[0x4] for '..', parent parent ino is [0x3] [FSCK] other corrupted bugs [Fail]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 02160112e6d45c2610b049df6eb693d7a2e57b46; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 5624a3c1b1ebc8991318e1cce2aa719542991024; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 6f866885e147d33efc497f1095f35b2ee5ec7310; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < f100ba617d8be6c98a68f3744ef7617082975b77; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < f0145860c20be6bae6785c7a2249577674702ac7; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < d3c0b49aaa12a61d560528f5d605029ab57f0728; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 2fb4867f4405aea8c0519d7d188207f232a57862; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 53edb549565f55ccd0bdf43be3d66ce4c2d48b28 | — | cvelist |
| Linux | 4.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-52444. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52444.md Affected: Linux >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 02160112e6d45c2610b049df6eb693d7a2e57b46; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 5624a3c1b1ebc8991318e1cce2aa719542991024; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 6f866885e147d33efc497f1095f35b2ee5ec7310; >= 7e01e7ad746bc8198a8b461… Fixed in: Linux 02160112e6d45c2610b049df6eb693d7a2e57b46, Linux 5624a3c1b1ebc8991318e1cce2aa719542991024, Linux 6f866885e147d33efc497f1095f35b2ee5ec7310, Linux 2fb4867f4405aea8c0519d7d188207f232a57862, Linux 53edb549565f55ccd0bdf43be3d66ce4c2d48b28 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/02160112e6d45c2610b049df6eb693d7a2e57b46
- https://git.kernel.org/stable/c/5624a3c1b1ebc8991318e1cce2aa719542991024
- https://git.kernel.org/stable/c/6f866885e147d33efc497f1095f35b2ee5ec7310
- https://git.kernel.org/stable/c/f100ba617d8be6c98a68f3744ef7617082975b77
- https://git.kernel.org/stable/c/f0145860c20be6bae6785c7a2249577674702ac7
- https://git.kernel.org/stable/c/d3c0b49aaa12a61d560528f5d605029ab57f0728
- https://git.kernel.org/stable/c/2fb4867f4405aea8c0519d7d188207f232a57862
- https://git.kernel.org/stable/c/53edb549565f55ccd0bdf43be3d66ce4c2d48b28
FAQ
Is CVE-2023-52444 being exploited?
There is no confirmed exploitation: CVE-2023-52444 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52444?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-52444?
Linux >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 02160112e6d45c2610b049df6eb693d7a2e57b46; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 5624a3c1b1ebc8991318e1cce2aa719542991024; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 6f866885e147d33efc497f1095f35b2ee5ec7310; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < f100ba617d8be6c98a68f3744ef7617082975b77; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < f0145860c20be6bae6785c7a2249577674702ac7; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < d3c0b49aaa12a61d560528f5d605029ab57f0728; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 2fb4867f4405aea8c0519d7d188207f232a57862; >= 7e01e7ad746bc8198a8b46163ddc73a1c7d22339, < 53edb549565f55ccd0bdf43be3d66ce4c2d48b28; Linux 4.2.
Is there a fix for CVE-2023-52444?
Yes. Fixed in Linux 02160112e6d45c2610b049df6eb693d7a2e57b46, Linux 5624a3c1b1ebc8991318e1cce2aa719542991024, Linux 6f866885e147d33efc497f1095f35b2ee5ec7310, Linux 2fb4867f4405aea8c0519d7d188207f232a57862, Linux 53edb549565f55ccd0bdf43be3d66ce4c2d48b28. Upgrade Linux to 53edb549565f55ccd0bdf43be3d66ce4c2d48b28 or later.
How do I check if I'm affected by CVE-2023-52444?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.