Menu

Star on GitHub · 3.2k

CVE-2023-52444

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid dirent corruption As Al reported in link[1]: f2fs_rename() ...

Published Feb 22, 2024CWE-119EPSS 0.24%

Overview

CVE-2023-52444 is a high-severity vulnerability. It was published on February 22, 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: 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]

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

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

How severe is CVE-2023-52444?

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

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

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