---
id: CVE-2025-68315
title: |-
  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 f2f…
summary: |-
  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 f2f…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
published: '2025-12-16'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:10:00.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68315'
references:
  - url: 'https://git.kernel.org/stable/c/6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/88b2ddb0c4f1dc874d4598e78cc830c64315ed86'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8fc6056dcf79937c46c97fa4996cda65956437a9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9337ed5e777e1c19854928cba7a8131dd00e611b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/adbcb34f03abb89e681a5907c4c3ce4bf224991d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.0043
epssPercentile: 0.35459
ingestedAt: '2026-10-14T16:40:32.056Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
