CVE-2025-68266
In the Linux kernel, the following vulnerability has been resolved: bfs: Reconstruct file type when loading from disk syzbot is reporting that S_IFMT bits of inode->i_mode can become bogus when the S_IFMT bits of the 32bits "mode" field loaded from disk are corrupted or when the 32bits "attributes" field loaded from disk are corrupted. A documentation says that BFS uses only lower 9 bits of the "mode" field. But I can't find an explicit explanation that the unused upper 23 bits (especially, the S_IFMT bits) are initialized with 0. Therefore, ignore the S_IFMT bits of the "mode" field loaded from disk. Also, verify that the value of the "attributes" field loaded from disk is either BFS_VREG or BFS_VDIR (because BFS supports only regular files and the root directory).
Affected versions
Linux kernel versions
2.6.12
and later are affected. Fixed in
5.10.248,
5.15.198,
6.1.160,
6.6.120,
6.12.62,
6.17.12,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-68266 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/34ab4c75588c07cca12884f2bf6b0347c7a13872
-
PatchKernel patch commithttps://git.kernel.org/stable/c/77899444d46162aeb65f229590c26ba266864223
-
PatchKernel patch commithttps://git.kernel.org/stable/c/8f73336b75bd3457b6f9410f2a0601a238f32238
Frequently asked questions
-
What is CVE-2025-68266?
CVE-2025-68266 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 2.6.12 onward and has been patched in 5.10.248, 5.15.198, 6.1.160 and others. CVE-2025-68266 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-68266?
Yes — CVE-2025-68266 has been patched. Fixed versions include 5.10.248, 5.15.198, 6.1.160 and others. If you are running Linux kernel 2.6.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-68266 actively exploited?
No — CVE-2025-68266 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.