2084AI 安全观察

CVE

CVE-2026-31666

CVE-2026-31666HIGH 7.8EPSS 2%

CNA 原文 · 原文(英文)

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix incorrect return value after changing leaf in lookup_extent_data_ref() After commit 1618aa3c2e01 ("btrfs: simplify return variables in lookup_extent_data_ref()"), the err and ret variables were merged into a single ret variable. However, when btrfs_next_leaf() returns 0 (success), ret is overwritten from -ENOENT to 0. If the first key in the next leaf does not match (different objectid or type), the function returns 0 instead of -ENOENT, making the caller believe the lookup succeeded when it did not. This can lead to operations on the wrong extent tree item, potentially causing extent tree corruption. Fix this by returning -ENOENT directly when the key does not match, instead of relying on the ret variable.

受影响版本

Linux kernel 的全部漏洞 →

  • 7.0-rc7仅此版本
  • 7.0-rc6仅此版本
  • 7.0-rc5仅此版本
  • 7.0-rc4仅此版本
  • 7.0-rc3仅此版本
  • 7.0-rc2仅此版本
  • 7.0-rc1仅此版本
  • ≥ 6.19, < 6.19.13修复版本 6.19.13
  • ≥ 6.13, < 6.18.23修复版本 6.18.23
  • ≥ 6.10.1, < 6.12.82修复版本 6.12.82
  • 6.10仅此版本

发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。

公告与补丁

数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。