# CVE-2025-68266: bfs: Reconstruct file type when loading from disk

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-16 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2025-68266, DEBIAN-CVE-2025-68266
- Record: https://cvemate.com/vulnerability/CVE-2025-68266 · JSON: https://cvemate.com/vulnerability/CVE-2025-68266/json

## Description

```text
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).
```

## Signals

- CVSS: 7.1 high (v4.0, OSV · Ubuntu) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.234%, percentile 15.327%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 160)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.63-1 \| \< 6.17.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-173.183 \| \< 6.8.0-110.110 \| \< 6.17.0-19.19
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110 \| \< 6.8.0-1052.55 \| \< 6.17.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1103.110~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1009.9~24.04.2
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1052.55~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110+fips1 \| \< 6.8.0-1052.55+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1109.118 \| \< 6.8.0-1054.60 \| \< 6.17.0-1010.10

## References (first 20 of 43)

- <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://ubuntu.com/security/CVE-2025-68266>
- <https://www.cve.org/CVERecord?id=CVE-2025-68266>
- <https://git.kernel.org/linus/34ab4c75588c07cca12884f2bf6b0347c7a13872>
- <https://ubuntu.com/security/notices/USN-8094-1>
- <https://ubuntu.com/security/notices/USN-8096-1>
- <https://ubuntu.com/security/notices/USN-8096-2>
- <https://ubuntu.com/security/notices/USN-8094-2>
- <https://ubuntu.com/security/notices/USN-8096-3>
- <https://ubuntu.com/security/notices/USN-8096-4>
- <https://ubuntu.com/security/notices/USN-8116-1>
- <https://ubuntu.com/security/notices/USN-8096-5>
- <https://ubuntu.com/security/notices/USN-8094-3>

---

Data as of 2026-12-05T04:44:18.308Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
