CVE-2023-54187
f2fs: fix potential corruption when moving a directory
Check your servers for CVE-2023-54187
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54187 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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")
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.11% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce, before 3e77036246123ff710fa2661dcaa12a45284f09b affected from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce, before 957904f531fd857a92743b11fbc9c9ffdf7f3207 affected from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce, before 8f57f3e112cf1d16682b6ff9c31c72f40f7da9c9 affected from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce, before 8a0b544b7caedfbc05065b6377fd1d8bf7ef5e70 affected from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce, before f20191100952013f0916418cdaed0ab55c7b634c affected from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce, before 0a76082a4a32a90d1ef33dee8b400efc082b4b6f affected from 622f28ae9ba4fa89b4ff0f4a6cf75d153ea838ce, before d94772154e524b329a168678836745d2773a6e02
Other versions: unaffected
|
| Linux |
affected 3.19 unaffected before 3.19 unaffected from 5.4.243 up to and including 5.4.* unaffected from 5.10.180 up to and including 5.10.* unaffected from 5.15.112 up to and including 5.15.* unaffected from 6.1.29 up to and including 6.1.* unaffected from 6.2.16 up to and including 6.2.* unaffected from 6.3.3 up to and including 6.3.* unaffected 6.4 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54187 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54187
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54187
trivy image --scanners vuln IMAGE | grep CVE-2023-54187
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3e77036246123ff710fa2661dcaa12a45284f09b git.kernel.org
- https://git.kernel.org/stable/c/957904f531fd857a92743b11fbc9c9ffdf7f3207 git.kernel.org
- https://git.kernel.org/stable/c/8f57f3e112cf1d16682b6ff9c31c72f40f7da9c9 git.kernel.org
- https://git.kernel.org/stable/c/8a0b544b7caedfbc05065b6377fd1d8bf7ef5e70 git.kernel.org
- https://git.kernel.org/stable/c/f20191100952013f0916418cdaed0ab55c7b634c git.kernel.org
- https://git.kernel.org/stable/c/0a76082a4a32a90d1ef33dee8b400efc082b4b6f git.kernel.org
- https://git.kernel.org/stable/c/d94772154e524b329a168678836745d2773a6e02 git.kernel.org
Source: the record CVE-2023-54187 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse