Bug 2301532 (CVE-2024-42160) - CVE-2024-42160 kernel: f2fs: check validation of fault attrs in f2fs_build_fault_attr()
Summary: CVE-2024-42160 kernel: f2fs: check validation of fault attrs in f2fs_build_fa...
Keywords:
Status: NEW
Alias: CVE-2024-42160
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2302031
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 08:51 UTC by OSIDB Bzimport
Modified: 2024-09-24 13:49 UTC (History)
4 users (show)

Fixed In Version: kernel 6.1.98, kernel 6.6.39, kernel 6.9.9, kernel 6.10
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's f2fs f2fs_build_fault_attr() function. A lack of proper input validation of the fault attributes could lead to undefined behavior or system instability and potential memory corruption.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 08:51:11 UTC
In the Linux kernel, the following vulnerability has been resolved:

f2fs: check validation of fault attrs in f2fs_build_fault_attr()

- It missed to check validation of fault attrs in parse_options(),
let's fix to add check condition in f2fs_build_fault_attr().
- Use f2fs_build_fault_attr() in __sbi_store() to clean up code.

Comment 1 Mauro Matteo Cascella 2024-07-31 11:28:40 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073036-CVE-2024-42160-c733@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-31 11:29:01 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2302031]


Note You need to log in before you can comment on or make changes to this bug.