[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024073036-CVE-2024-42160-c733@gregkh>
Date: Tue, 30 Jul 2024 09:48:18 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-42160: f2fs: check validation of fault attrs in f2fs_build_fault_attr()
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2024-42160 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.98 with commit bc84dd2c33e0
Fixed in 6.6.39 with commit 44958ca9e400
Fixed in 6.9.9 with commit ecb641f424d6
Fixed in 6.10 with commit 4ed886b187f4
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2024-42160
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/f2fs/f2fs.h
fs/f2fs/super.c
fs/f2fs/sysfs.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/bc84dd2c33e0c10fd90d60f0cfc0bfb504d4692d
https://git.kernel.org/stable/c/44958ca9e400f57bd0478115519ffc350fcee61e
https://git.kernel.org/stable/c/ecb641f424d6d1f055d149a15b892edcc92c504b
https://git.kernel.org/stable/c/4ed886b187f47447ad559619c48c086f432d2b77
Powered by blists - more mailing lists