CVE-2024-27032

Source
https://cve.org/CVERecord?id=CVE-2024-27032
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27032.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27032
Downstream
Published
2024-05-01T12:53:32.812Z
Modified
2026-03-14T12:27:44.089203Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
f2fs: fix to avoid potential panic during recovery
Details

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

f2fs: fix to avoid potential panic during recovery

During recovery, if FAULTBLOCK is on, it is possible that f2fsreservenewblock() will return -ENOSPC during recovery, then it may trigger panic.

Also, if fault injection rate is 1 and only FAULT_BLOCK fault type is on, it may encounter deadloop in loop of block reservation.

Let's change as below to fix these issues: - remove bug_on() to avoid panic. - limit the loop count of block reservation to avoid potential deadloop.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27032.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b1020a546779139eec5d930e15ce534c1101b89c
Fixed
fe4de493572a4263554903bf9c3afc5c196e15f0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2a7b12d4705bc308cf18eae2b69ec8db34881cc3
Fixed
8844b2f8a3f0c428b74672f9726f9950b1a7764c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c
Fixed
d034810d02a5af8eb74debe29877dcaf5f00fdd1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd
Fixed
f26091a981318b5b7451d61f99bc073a6af8db67
Fixed
21ec68234826b1b54ab980a8df6e33c74cfbee58
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8
Last affected
9fceaf8182d453639cddb7f4a6877a1e1564de39
Last affected
80c69f576ff39d6ae8a6e2107da3dc03b533759c
Last affected
b4fb0807a1d60f8642a5fd62bd659cd6052eaf97

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27032.json"