# CVE-2024-42160: f2fs: check validation of fault attrs in f2fs_build_fault_attr()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-07-30T07:47:02.208Z
- Modified: 2026-06-17T07:48:57.393Z
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 6e5b601706ce05d94338cad598736d96bb8096c8; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before bc84dd2c33e0c10fd90d60f0cfc0bfb504d4692d; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 44958ca9e400f57bd0478115519ffc350fcee61e; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before ecb641f424d6d1f055d149a15b892edcc92c504b; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 4ed886b187f47447ad559619c48c086f432d2b77; 3.8 (not affected: before 3.8; from 5.15.181 up to 5.15.*; from 6.1.98 up to 6.1.*; from 6.6.39 up to 6.6.*; from 6.9.9 up to 6.9.*; from 6.10 up to *)
- debian debian_linux: 11.0
- linux linux_kernel: from 4.7 before 5.15.181; from 5.16 before 6.1.98; from 6.2 before 6.6.39; from 6.7 before 6.9.9

## References

- <https://git.kernel.org/stable/c/6e5b601706ce05d94338cad598736d96bb8096c8> (patch)
- <https://git.kernel.org/stable/c/bc84dd2c33e0c10fd90d60f0cfc0bfb504d4692d> (patch)
- <https://git.kernel.org/stable/c/44958ca9e400f57bd0478115519ffc350fcee61e> (patch)
- <https://git.kernel.org/stable/c/ecb641f424d6d1f055d149a15b892edcc92c504b> (patch)
- <https://git.kernel.org/stable/c/4ed886b187f47447ad559619c48c086f432d2b77> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2024-42160](https://www.cve.org/CVERecord?id=CVE-2024-42160), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-42160](https://nvd.nist.gov/vuln/detail/CVE-2024-42160), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42160 · Whole record: https://cve.day/CVE-2024-42160.json · Rebuilt by cve.day 2026-11-25T22:58:43.423Z
