Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-68167

UNSCOREDEPSS 5%

btrfs: do not try compression for data reloc inodes

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < 31a62e4ad66313cf1ebaa00c2a17d644a4b87d22; >= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < ae4316f332e03e628712e9dfb89f2b7d3c70c21a
  • Anyone running Linux 7.1

Vulnerability facts

Affected
Linux >= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < 31a62e4ad66313cf1ebaa00c2a17d644a4b87d22; >= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < ae4316f332e03e628712e9dfb89f2b7d3c70c21a; Linux 7.1
Fixed in
Linux 31a62e4ad66313cf1ebaa00c2a17d644a4b87d22
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.20% chance of exploitation in 30 days (percentile 5, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: do not try compression for data reloc inodes [BUG] There is a syzbot report that the check inside get_new_location() triggered: BTRFS info (device loop0): found 31 extents, stage: move data extents BTRFS info (device loop0): leaf 8908800 gen 16 total ptrs 28 free space 1676 owner 18446744073709551607 item 0 key (256 INODE_ITEM 0) itemoff 3835 itemsize 160 inode generation 5 transid 0 size 0 nbytes 0 block group 0 mode 40755 links 1 uid 0 gid 0 rdev 0 sequence 0 flags 0x0 atime 1669132761.0 ctime 1669132761.0 mtime 1669132761.0 otime 0.0 item 1 key (256 INODE_REF 256) itemoff 3823 itemsize 12 index 0 name_len 2 item 2 key (258 INODE_ITEM 0) itemoff 3663 itemsize 160 inode generation 1 transid 16 size 733184 nbytes 106496 block group 0 mode 100600 links 0 uid 0 gid 0 rdev 0 sequence 24 flags 0x18 item 3 key (258 EXTENT_DATA 0) itemoff 3595 itemsize 68 generation 16 type 0 inline extent data size 47 ram_bytes 4096 compression 1 [...] item 27 key (18446744073709551611 ORPHAN_ITEM 258) itemoff 2376 itemsize 0 BTRFS error (device loop0): unexpected non-zero offset in file extent item for data reloc inode 258 key offset 0 offset 9277520992061368337 ------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) [CAUSE] The above dump tree shows the first file extent item is inlined, which should make no sense for data reloc inodes, as such inodes just represent where the data extents are in the relocation destination chunk. However the relocation path preallocates space for each block, then dirties them, cluster by cluster. It's possible to have a single block at the beginning of the block group, and no other block in the same cluster. So relocation will preallocate a file extent for that block and dirty the first block. Then memory pressure forces the data reloc inode to be written back, before any other blocks are dirtied/allocated. Finally commit 3eaf5f082c4c ("btrfs: extract inlined creation into a dedicated delalloc helper") changed the sequence of delalloc. Before that commit we always tried NOCOW first, so that dirtied block would be written back into the preallocated space, and appear as a regular extent. But with that commit, we always try inline first, and since compression is forced, we try compressing the first block, and then inline the compressed data, resulting in the above inlined file extent in the data reloc tree. Then the check in get_new_location() will check the file offset, without checking if the file extent is inlined or not, resulting in the above failure. [FIX] Do not allow compression for data reloc inodes. Since data reloc inode sizes are always block aligned, as long as we do not compress, @data_len will always be at least one block, and that will cause can_cow_file_range_inline() to return false, thus no inlined extent will be created.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < 31a62e4ad66313cf1ebaa00c2a17d644a4b87d22; >= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < ae4316f332e03e628712e9dfb89f2b7d3c70c21a—cvelist
Linux7.1—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-2026-68167. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68167.md
Affected: Linux >= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < 31a62e4ad66313cf1ebaa00c2a17d644a4b87d22; >= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < ae4316f332e03e628712e9dfb89f2b7d3c70c21a; Linux 7.1
Fixed in: Linux 31a62e4ad66313cf1ebaa00c2a17d644a4b87d22

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

FAQ

Is CVE-2026-68167 being exploited?

There is no confirmed exploitation: CVE-2026-68167 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-68167?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-68167?

Linux >= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < 31a62e4ad66313cf1ebaa00c2a17d644a4b87d22; >= 3eaf5f082c4cc71dea70bee23355bf63b24df303, < ae4316f332e03e628712e9dfb89f2b7d3c70c21a; Linux 7.1.

Is there a fix for CVE-2026-68167?

Yes. Fixed in Linux 31a62e4ad66313cf1ebaa00c2a17d644a4b87d22. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-68167?

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.

Sponsors