Vendors › Linux

CVE-2026-31666

High (7.8) EPSS 0.1% Linux · fs

Linux kernel: btrfs: fix incorrect return value after changing leaf in lookup_extent_data_ref()

A vulnerability in the Linux kernel fs subsystem (fs/btrfs/extent-tree.c), assigned CVE-2026-31666. The issue was introduced in kernel 6.10 and is fixed in 6.12.82, 6.18.23, 6.19.13, 7.0. Updating to a fixed stable release resolves it.

Published2026-04-24
Updated2026-08-05
AffectedLinux kernel 6.10 and later, before the fix (fixed in 6.12.82, 6.18.23, 6.19.13, 7.0)
FixUpdate to kernel 6.12.82, 6.18.23, 6.19.13, 7.0 or later
Vendor advisoryhttps://cve.org/CVERecord/?id=CVE-2026-31666

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-31666CWE-754OtherOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.