Bug 1223701 (CVE-2024-27032) - VUL-0: CVE-2024-27032: kernel: f2fs: fix to avoid potential panic during recovery
Summary: VUL-0: CVE-2024-27032: kernel: f2fs: fix to avoid potential panic during reco...
Status: RESOLVED INVALID
Alias: CVE-2024-27032
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/403823/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-27032:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 11:03 UTC by SMASH SMASH
Modified: 2024-05-02 11:04 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-05-02 11:03:21 UTC
In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to avoid potential panic during recovery

During recovery, if FAULT_BLOCK is on, it is possible that
f2fs_reserve_new_block() 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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-27032
https://www.cve.org/CVERecord?id=CVE-2024-27032
https://git.kernel.org/stable/c/21ec68234826b1b54ab980a8df6e33c74cfbee58
https://git.kernel.org/stable/c/8844b2f8a3f0c428b74672f9726f9950b1a7764c
https://git.kernel.org/stable/c/d034810d02a5af8eb74debe29877dcaf5f00fdd1
https://git.kernel.org/stable/c/f26091a981318b5b7451d61f99bc073a6af8db67
https://git.kernel.org/stable/c/fe4de493572a4263554903bf9c3afc5c196e15f0
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-27032.mbox
https://bugzilla.redhat.com/show_bug.cgi?id=2278469
Comment 1 Carlos López 2024-05-02 11:04:18 UTC
We don't enable f2fs on any branch, so we are not affected. Closing.