# CVE-2024-49859: f2fs: fix to check atomic_file in f2fs ioctl interfaces

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2024-10-21T12:27:17.968Z
- Modified: 2026-08-05T11:40:07.797Z
- Weaknesses: CWE-362
- 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: fix to check atomic_file in f2fs ioctl interfaces

Some f2fs ioctl interfaces like f2fs_ioc_set_pin_file(),
f2fs_move_file_range(), and f2fs_defragment_range() missed to
check atomic_write status, which may cause potential race issue,
fix it.

(As written by CVE List.)

## Affected

- Linux Linux: from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 26b07bd2e1f124b0e430c8d250023f7205c549c3; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 7cb51731f24b216b0b87942f519f2c67a17107ee; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 10569b682ebe9c75ef06ddd322ae844e9be6374b; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before d6f08c88047accc6127dddb6798a3ff11321539d; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before bfe5c02654261bfb8bd9cb174a67f3279ea99e58; 3.8 (not affected: before 3.8; from 6.1.113 up to 6.1.*; from 6.6.54 up to 6.6.*; from 6.10.13 up to 6.10.*; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 6.1.113; from 6.2 before 6.6.54; from 6.7 before 6.10.13; from 6.11 before 6.11.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/26b07bd2e1f124b0e430c8d250023f7205c549c3> (patch)
- <https://git.kernel.org/stable/c/7cb51731f24b216b0b87942f519f2c67a17107ee> (patch)
- <https://git.kernel.org/stable/c/10569b682ebe9c75ef06ddd322ae844e9be6374b> (patch)
- <https://git.kernel.org/stable/c/d6f08c88047accc6127dddb6798a3ff11321539d> (patch)
- <https://git.kernel.org/stable/c/bfe5c02654261bfb8bd9cb174a67f3279ea99e58> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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