CVE-2025-68315 f2fs: fix to detect potential corrupted nid in free_nid_list
A missing sanity check in the f2fs filesystem allows corrupted node IDs to cause system instability or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-68315?
CVE-2025-68315 is a critical denial of service vulnerability in Linux, published on 16 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-68315?
How do I fix CVE-2025-68315?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-68315 being exploited?
There is no known exploitation of CVE-2025-68315 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-68315, DEBIAN-CVE-2025-68315, GHSA-9w55-r5pp-5hfx, ROOT-OS-DEBIAN-11-CVE-2025-68315, ROOT-OS-DEBIAN-12-CVE-2025-68315, ROOT-OS-DEBIAN-13-CVE-2025-68315 and 3 more.