# CVE-2025-68315: f2fs: fix to detect potential corrupted nid in free\_nid\_list

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.89% (percentile 57, 2026-11-26)
- **Published:** 2025-12-16T15:39:45.716Z
- **Modified:** 2026-10-14T16:10:00.250Z

## Who should check

- Anyone running Linux \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 88b2ddb0c4f1dc874d4598e78cc830c64315ed86; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 9337ed5e777e1c19854928cba7a8131dd00e611b; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< adbcb34f03abb89e681a5907c4c3ce4bf224991d; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 8fc6056dcf79937c46c97fa4996cda65956437a9
- Anyone running Linux 3.8

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

## Affected and fixed versions

- Linux: \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 88b2ddb0c4f1dc874d4598e78cc830c64315ed86; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 9337ed5e777e1c19854928cba7a8131dd00e611b; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< adbcb34f03abb89e681a5907c4c3ce4bf224991d; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 8fc6056dcf79937c46c97fa4996cda65956437a9 (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- Upgrade Linux to 8fc6056dcf79937c46c97fa4996cda65956437a9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68315. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68315.md
Affected: Linux >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 88b2ddb0c4f1dc874d4598e78cc830c64315ed86; >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 9337ed5e777e1c19854928cba7a8131dd00e611b; >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa; >= 98e4da8ca301e062d79ae16…
Fixed in: Linux 88b2ddb0c4f1dc874d4598e78cc830c64315ed86, Linux 9337ed5e777e1c19854928cba7a8131dd00e611b, Linux 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa, Linux 8fc6056dcf79937c46c97fa4996cda65956437a9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68315 being exploited?

There is no confirmed exploitation: CVE-2025-68315 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68315?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-68315?

Linux \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 88b2ddb0c4f1dc874d4598e78cc830c64315ed86; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 9337ed5e777e1c19854928cba7a8131dd00e611b; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< adbcb34f03abb89e681a5907c4c3ce4bf224991d; \>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, \< 8fc6056dcf79937c46c97fa4996cda65956437a9; Linux 3.8.

### Is there a fix for CVE-2025-68315?

Yes. Fixed in Linux 88b2ddb0c4f1dc874d4598e78cc830c64315ed86, Linux 9337ed5e777e1c19854928cba7a8131dd00e611b, Linux 6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa, Linux 8fc6056dcf79937c46c97fa4996cda65956437a9. Upgrade Linux to 8fc6056dcf79937c46c97fa4996cda65956437a9 or later.

### How do I check if I'm affected by CVE-2025-68315?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68315>

HTML: <https://flawdb.com/CVE-2025-68315> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68315>
