CVE-2025-68266

published 16 Dec 2025 · updated 12 Nov 2026

bfs: Reconstruct file type when loading from disk

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d0c5ec1f57d8fbb953f166a27d9d32473dc8f3e4, Kernel 34ab4c75588c07cca12884f2bf6b0347c7a13872, Kernel 77899444d46162aeb65f229590c26ba266864223 and 10 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d0c5ec1f57d8fbb953f166a27d9d32473dc8f3e4, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <34ab4c75588c07cca12884f2bf6b0347c7a13872, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <77899444d46162aeb65f229590c26ba266864223, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8f73336b75bd3457b6f9410f2a0601a238f32238, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a8cb796e7e2cb7971311ba236922f5e7e1be77e6, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a9f626396bfe66f49b743601e862767928237cc0, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <aeccd6743ee4fdd1ab8cfcbb5b9a20b613418f6d, =2.6.12d0c5ec1f57d8fbb953f166a27d9d32473dc8f3e4, 34ab4c75588c07cca12884f2bf6b0347c7a13872, 77899444d46162aeb65f229590c26ba266864223, 8f73336b75bd3457b6f9410f2a0601a238f32238, a8cb796e7e2cb7971311ba236922f5e7e1be77e6, a9f626396bfe66f49b743601e862767928237cc0, aeccd6743ee4fdd1ab8cfcbb5b9a20b613418f6d
linux-kernel: Kernel>=5.11.0 <5.15.198, >=5.16.0 <6.1.160, >=6.13.0 <6.17.12, >=6.2.0 <6.6.120, >=6.7.0 <6.12.62, >=2.6.12 <5.10.2485.15.198, 6.1.160, 6.17.12, 6.6.120, 6.12.62, 5.10.248

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68266 severity on Zeptric[![CVE-2025-68266](https://zeptric.io/badge/cve/CVE-2025-68266.svg)](https://zeptric.io/cve/CVE-2025-68266)