CVE-2025-68266
bfs: Reconstruct file type when loading from disk
Mitigation
- Upgrade Linux to 34ab4c75588c07cca12884f2bf6b0347c7a13872 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0c5ec1f57d8fbb953f166a27d9d32473dc8f3e4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aeccd6743ee4fdd1ab8cfcbb5b9a20b613418f6d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8f73336b75bd3457b6f9410f2a0601a238f32238; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a9f626396bfe66f49b743601e862767928237cc0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 77899444d46162aeb65f229590c26ba266864223; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a8cb796e7e2cb7971311ba236922f5e7e1be77e6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 34ab4c75588c07cca12884f2bf6b0347c7a13872
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0c5ec1f57d8fbb953f166a27d9d32473dc8f3e4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aeccd6743ee4fdd1ab8cfcbb5b9a20b613418f6d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8f73336b75bd3457b6f9410f2a0601a238f32238; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a9f626396bfe66f49b743601e862767928237cc0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 77899444d46162aeb65f229590c26ba266864223; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a8cb796e7e2cb7971311ba236922f5e7e1be77e6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 34ab4c75588c07cca12884f2bf6b0347c7a13872; Linux 2.6.12
- Fixed in
- Linux 8f73336b75bd3457b6f9410f2a0601a238f32238, Linux 77899444d46162aeb65f229590c26ba266864223, Linux 34ab4c75588c07cca12884f2bf6b0347c7a13872
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0c5ec1f57d8fbb953f166a27d9d32473dc8f3e4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aeccd6743ee4fdd1ab8cfcbb5b9a20b613418f6d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8f73336b75bd3457b6f9410f2a0601a238f32238; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a9f626396bfe66f49b743601e862767928237cc0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 77899444d46162aeb65f229590c26ba266864223; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a8cb796e7e2cb7971311ba236922f5e7e1be77e6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 34ab4c75588c07cca12884f2bf6b0347c7a13872 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-68266. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-68266.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0c5ec1f57d8fbb953f166a27d9d32473dc8f3e4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aeccd6743ee4fdd1ab8cfcbb5b9a20b613418f6d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8f73336b75bd3457b6f9410f2a0601a238f32238; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 8f73336b75bd3457b6f9410f2a0601a238f32238, Linux 77899444d46162aeb65f229590c26ba266864223, Linux 34ab4c75588c07cca12884f2bf6b0347c7a13872 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.
References
Other
- https://git.kernel.org/stable/c/d0c5ec1f57d8fbb953f166a27d9d32473dc8f3e4
- https://git.kernel.org/stable/c/aeccd6743ee4fdd1ab8cfcbb5b9a20b613418f6d
- https://git.kernel.org/stable/c/8f73336b75bd3457b6f9410f2a0601a238f32238
- https://git.kernel.org/stable/c/a9f626396bfe66f49b743601e862767928237cc0
- https://git.kernel.org/stable/c/77899444d46162aeb65f229590c26ba266864223
- https://git.kernel.org/stable/c/a8cb796e7e2cb7971311ba236922f5e7e1be77e6
- https://git.kernel.org/stable/c/34ab4c75588c07cca12884f2bf6b0347c7a13872
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
FAQ
Is CVE-2025-68266 being exploited?
There is no confirmed exploitation: CVE-2025-68266 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-68266?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-68266?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0c5ec1f57d8fbb953f166a27d9d32473dc8f3e4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aeccd6743ee4fdd1ab8cfcbb5b9a20b613418f6d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8f73336b75bd3457b6f9410f2a0601a238f32238; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a9f626396bfe66f49b743601e862767928237cc0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 77899444d46162aeb65f229590c26ba266864223; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a8cb796e7e2cb7971311ba236922f5e7e1be77e6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 34ab4c75588c07cca12884f2bf6b0347c7a13872; Linux 2.6.12.
Is there a fix for CVE-2025-68266?
Yes. Fixed in Linux 8f73336b75bd3457b6f9410f2a0601a238f32238, Linux 77899444d46162aeb65f229590c26ba266864223, Linux 34ab4c75588c07cca12884f2bf6b0347c7a13872. Upgrade Linux to 34ab4c75588c07cca12884f2bf6b0347c7a13872 or later.
How do I check if I'm affected by CVE-2025-68266?
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.