CriticalFix available
f2fs: fix to detect potential corrupted nid in free_nid_list
Type: advisorySources: OSV
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.175, 6.12.58, 6.17.8, 6.6.140
- CVEs
- CVE-2025-68315
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:00 UTC · Revision 1
Source evidence
f2fs: fix to detect potential corrupted nid in free_nid_list
core-osv · Original sourcePublished 16 Dec 2025, 15:39 UTC
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.
osv:CVE-2025-68315
Kernel
Fixed versions: 6.1.175, 6.6.140, 6.12.58, 6.17.8
Complete source record
{
"id": "eff4606535d928404d3b01f471bf10dfd1f6a82047cc9de67fd4c65c060d2458",
"url": "https://osv.dev/vulnerability/CVE-2025-68315",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "f2fs: fix to detect potential corrupted nid in free_nid_list",
"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 f2fs_alloc_nid() to detect any potential corruption in free_nid_list.",
"evidence": "osv:CVE-2025-68315",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.175",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.140",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.58",
"evidence": "/affected/1/ranges"
},
{
"value": "6.17.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2025-68315",
"aliases": [
"CVE-2025-68315"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "98e4da8ca301e062d79ae168c67e56f3c3de3ce4"
},
{
"fixed": "88b2ddb0c4f1dc874d4598e78cc830c64315ed86"
},
{
"fixed": "9337ed5e777e1c19854928cba7a8131dd00e611b"
},
{
"fixed": "6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa"
},
{
"fixed": "adbcb34f03abb89e681a5907c4c3ce4bf224991d"
},
{
"fixed": "8fc6056dcf79937c46c97fa4996cda65956437a9"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68315.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.8.0"
},
{
"fixed": "6.1.175"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.140"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.58"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.17.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68315.json"
}
}
],
"modified": "2026-10-28T02:30:38.537136054Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/6b9525596a83cd5b7bbc2c7bd5f9ad9cf5ad60fa",
"https://git.kernel.org/stable/c/88b2ddb0c4f1dc874d4598e78cc830c64315ed86",
"https://git.kernel.org/stable/c/8fc6056dcf79937c46c97fa4996cda65956437a9",
"https://git.kernel.org/stable/c/9337ed5e777e1c19854928cba7a8131dd00e611b",
"https://git.kernel.org/stable/c/adbcb34f03abb89e681a5907c4c3ce4bf224991d",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68315.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-68315",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68315.json"
}
},
"related_cves": [
{
"value": "CVE-2025-68315",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505943,
"published_at": "2025-12-16T15:39:45.716+00:00"
}