# CVE-2023-54187: f2fs: fix potential corruption when moving a directory

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-12-30T12:08:56.562Z
- Modified: 2026-08-05T09:17:54.804Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix potential corruption when moving a directory

F2FS has the same issue in ext4_rename causing crash revealed by
xfstests/generic/707.

See also commit 0813299c586b ("ext4: Fix possible corruption when moving a directory")

(As written by CVE List.)

## Affected

- Linux Linux: from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce before 3e77036246123ff710fa2661dcaa12a45284f09b; from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce before 957904f531fd857a92743b11fbc9c9ffdf7f3207; from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce before 8f57f3e112cf1d16682b6ff9c31c72f40f7da9c9; from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce before 8a0b544b7caedfbc05065b6377fd1d8bf7ef5e70; from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce before f20191100952013f0916418cdaed0ab55c7b634c; from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce before 0a76082a4a32a90d1ef33dee8b400efc082b4b6f; from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce before d94772154e524b329a168678836745d2773a6e02; 3.19 (not affected: before 3.19; from 5.4.243 up to 5.4.*; from 5.10.180 up to 5.10.*; from 5.15.112 up to 5.15.*; from 6.1.29 up to 6.1.*; from 6.2.16 up to 6.2.*; from 6.3.3 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/3e77036246123ff710fa2661dcaa12a45284f09b>
- <https://git.kernel.org/stable/c/957904f531fd857a92743b11fbc9c9ffdf7f3207>
- <https://git.kernel.org/stable/c/8f57f3e112cf1d16682b6ff9c31c72f40f7da9c9>
- <https://git.kernel.org/stable/c/8a0b544b7caedfbc05065b6377fd1d8bf7ef5e70>
- <https://git.kernel.org/stable/c/f20191100952013f0916418cdaed0ab55c7b634c>
- <https://git.kernel.org/stable/c/0a76082a4a32a90d1ef33dee8b400efc082b4b6f>
- <https://git.kernel.org/stable/c/d94772154e524b329a168678836745d2773a6e02>

## Sources

- CVE List: [CVE-2023-54187](https://www.cve.org/CVERecord?id=CVE-2023-54187), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-54187](https://nvd.nist.gov/vuln/detail/CVE-2023-54187), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-54187 · Whole record: https://cve.day/CVE-2023-54187.json · Rebuilt by cve.day 2026-11-25T22:58:35.211Z
