CVE-2025-68266
BaseFortify
Publication date: 2025-12-16
Last updated on: 2026-01-19
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves the BFS filesystem in the Linux kernel where the file type bits (S_IFMT) of the inode's mode can become incorrect if the mode or attributes fields loaded from disk are corrupted. BFS uses only the lower 9 bits of the mode field, but the upper 23 bits, including S_IFMT bits, may not be properly initialized, leading to bogus file type information. The fix involves ignoring the S_IFMT bits from the mode field loaded from disk and verifying that the attributes field is either BFS_VREG (regular file) or BFS_VDIR (directory), as BFS supports only these two types.
How can this vulnerability impact me? :
This vulnerability can cause the file type information of files in the BFS filesystem to be incorrect due to corrupted mode or attributes fields. This may lead to improper handling of files by the system or applications, potentially causing errors or unexpected behavior when accessing or managing files.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, ensure that your Linux kernel is updated to a version where the BFS filesystem properly reconstructs the file type when loading from disk. Specifically, the fix involves ignoring the S_IFMT bits of the mode field loaded from disk and verifying that the attributes field is either BFS_VREG or BFS_VDIR. Applying the latest kernel patches or updates that address this issue is recommended.