# CVE-2025-68315: f2fs: fix to detect potential corrupted nid in free_nid_list

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2025-12-16T15:39:45.716Z
- Modified: 2026-10-14T16:10:00.250Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to detect potential corrupted nid in free_nid_list

As reported, on-disk footer.ino and footer.nid is the same and
out-of-range, let's add sanity check on f2fs_alloc_nid() to detect
any potential corruption in free_nid_list.

(As written by CVE List.)

## Affected

- Linux Linux: from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 88b2ddb0c4f1dc874d4598e78cc830c64315ed86; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 9337ed5e777e1c19854928cba7a8131dd00e611b; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before adbcb34f03abb89e681a5907c4c3ce4bf224991d; from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 8fc6056dcf79937c46c97fa4996cda65956437a9; 3.8 (not affected: before 3.8; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.58 up to 6.12.*; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/88b2ddb0c4f1dc874d4598e78cc830c64315ed86>
- <https://git.kernel.org/stable/c/9337ed5e777e1c19854928cba7a8131dd00e611b>
- <https://git.kernel.org/stable/c/6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa>
- <https://git.kernel.org/stable/c/adbcb34f03abb89e681a5907c4c3ce4bf224991d>
- <https://git.kernel.org/stable/c/8fc6056dcf79937c46c97fa4996cda65956437a9>

## Sources

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

---

Page: https://cve.day/CVE-2025-68315 · Whole record: https://cve.day/CVE-2025-68315.json · Rebuilt by cve.day 2026-11-25T22:59:09.539Z
