CVE-2023-52444 json
f2fs: fix to avoid dirent corruption
published 2024-02-22 2 y ago modified 2026-10-15 25 d ago also EUVD-2023-57069
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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]
Patch / fix
- Linux Linux 4.19.306, 5.4.268, 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2, 6.8
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- linux Debian 12 6.1.76-1
- linux Debian 14, Debian 13 6.6.15-1
debian advisories DEBIAN-CVE-2023-52444
- linux Ubuntu 20.04 LTS 5.4.0-176.196
- linux Ubuntu 22.04 LTS 5.15.0-102.112
- linux-aws Ubuntu 20.04 LTS 5.4.0-1122.132
- linux-aws Ubuntu 22.04 LTS 5.15.0-1057.63
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1126.135
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1055.63
- linux-gke Ubuntu 22.04 LTS 5.15.0-1054.59
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1069.74
ubuntu advisories UBUNTU-CVE-2023-52444
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/02160112e6d45c2610b049df6eb693d7a2e57b46 commit
- git.kernel.org/stable/c/5624a3c1b1ebc8991318e1cce2aa719542991024 commit
- git.kernel.org/stable/c/6f866885e147d33efc497f1095f35b2ee5ec7310 commit
- git.kernel.org/stable/c/f100ba617d8be6c98a68f3744ef7617082975b77 commit
- git.kernel.org/stable/c/f0145860c20be6bae6785c7a2249577674702ac7 commit
- git.kernel.org/stable/c/d3c0b49aaa12a61d560528f5d605029ab57f0728 commit
- git.kernel.org/stable/c/2fb4867f4405aea8c0519d7d188207f232a57862 commit
- git.kernel.org/stable/c/53edb549565f55ccd0bdf43be3d66ce4c2d48b28 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
cisa ICSA-23-348-10 updated cvss 7.8
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
git.kernel.org
/stable/c/02160112e6d45c2610b049df6eb693d7a2e57b46
patch
-
git.kernel.org
/stable/c/5624a3c1b1ebc8991318e1cce2aa719542991024
patch
-
git.kernel.org
/stable/c/6f866885e147d33efc497f1095f35b2ee5ec7310
patch
-
git.kernel.org
/stable/c/f100ba617d8be6c98a68f3744ef7617082975b77
patch
-
git.kernel.org
/stable/c/f0145860c20be6bae6785c7a2249577674702ac7
patch
-
git.kernel.org
/stable/c/d3c0b49aaa12a61d560528f5d605029ab57f0728
patch
-
git.kernel.org
/stable/c/2fb4867f4405aea8c0519d7d188207f232a57862
patch
-
git.kernel.org
/stable/c/53edb549565f55ccd0bdf43be3d66ce4c2d48b28
patch
- lists.debian.org /debian-lts-announce/2024/06/msg00016.html
- lists.debian.org /debian-lts-announce/2024/06/msg00020.html
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2023-52444
- NVD CVE-2023-52444
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.