# CVE-2026-80631: btrfs: lzo: reject compressed segment that overflows the compressed input

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-28)
- **Published:** 2026-08-28T06:48:47.166Z
- **Modified:** 2026-10-30T13:20:08.623Z

## Who should check

- Anyone running Linux \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< e4325fb00e0c7269cb67f97d7148507787a57fd7; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< d9b17f9ce67d00e48fab62dcae197612a58f625f; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< 1c48c8c807e49ac4f72819a89035fb8d2d094015; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< be7fb59512ffc2da5d98214a00117dfe9eccab78; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< 1641d058adfbd50cf95d54581ed5d142ee82c07f; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< b0d27d43791b7a3057c3c4aedf9b4aa033d37c46
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: lzo: reject compressed segment that overflows the compressed input

lzo\_decompress\_bio() validates each on-disk segment length seg\_len only
against the workspace cbuf size, not against the compressed input size
(compressed\_len, the total folio bytes of the bio).  A crafted extent can
carry a segment whose seg\_len passes the cbuf check but runs past the end
of the bio, so copy\_compressed\_segment() walks off the last folio:
get\_current\_folio() then returns the NULL folio from bio\_next\_folio(), and
with CONFIG\_BTRFS\_ASSERT disabled (default) folio\_size(NULL) faults.

 BUG: KASAN: null-ptr-deref in lzo\_decompress\_bio (fs/btrfs/lzo.c:383)
 Read of size 8 at addr 0000000000000000 by task kworker/u8:1/29
 Workqueue: btrfs-endio simple\_end\_io\_work
  kasan\_report (mm/kasan/report.c:590)
  lzo\_decompress\_bio (fs/btrfs/lzo.c:383)
  end\_bbio\_compressed\_read (fs/btrfs/compression.c:1065)
  btrfs\_bio\_end\_io (fs/btrfs/bio.c:135)
  btrfs\_check\_read\_bio (fs/btrfs/bio.c:180 fs/btrfs/bio.c:285)
  simple\_end\_io\_work
  process\_one\_work
  worker\_thread

Reject any segment whose payload would extend beyond compressed\_len before
copying it, treating it as corruption like the other on-disk validation
failures in this function.

## Affected and fixed versions

- Linux: \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< e4325fb00e0c7269cb67f97d7148507787a57fd7; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< d9b17f9ce67d00e48fab62dcae197612a58f625f; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< 1c48c8c807e49ac4f72819a89035fb8d2d094015; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< be7fb59512ffc2da5d98214a00117dfe9eccab78; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< 1641d058adfbd50cf95d54581ed5d142ee82c07f; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< b0d27d43791b7a3057c3c4aedf9b4aa033d37c46 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80631. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80631.md
Affected: Linux >= a6e66e6f8c1b685e11b778bef614480a9c1a5278, < e4325fb00e0c7269cb67f97d7148507787a57fd7; >= a6e66e6f8c1b685e11b778bef614480a9c1a5278, < d9b17f9ce67d00e48fab62dcae197612a58f625f; >= a6e66e6f8c1b685e11b778bef614480a9c1a5278, < 1c48c8c807e49ac4f72819a89035fb8d2d094015; >= a6e66e6f8c1b685e11b778b…
Fixed in: Linux 1c48c8c807e49ac4f72819a89035fb8d2d094015, Linux 1641d058adfbd50cf95d54581ed5d142ee82c07f

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

## FAQ

### Is CVE-2026-80631 being exploited?

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

### How serious is CVE-2026-80631?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-80631?

Linux \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< e4325fb00e0c7269cb67f97d7148507787a57fd7; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< d9b17f9ce67d00e48fab62dcae197612a58f625f; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< 1c48c8c807e49ac4f72819a89035fb8d2d094015; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< be7fb59512ffc2da5d98214a00117dfe9eccab78; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< 1641d058adfbd50cf95d54581ed5d142ee82c07f; \>= a6e66e6f8c1b685e11b778bef614480a9c1a5278, \< b0d27d43791b7a3057c3c4aedf9b4aa033d37c46; Linux 5.15.

### Is there a fix for CVE-2026-80631?

Yes. Fixed in Linux 1c48c8c807e49ac4f72819a89035fb8d2d094015, Linux 1641d058adfbd50cf95d54581ed5d142ee82c07f. No fix listed yet: follow the vendor advisory.

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

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.

## References

- other: <https://git.kernel.org/stable/c/e4325fb00e0c7269cb67f97d7148507787a57fd7>
- other: <https://git.kernel.org/stable/c/d9b17f9ce67d00e48fab62dcae197612a58f625f>
- other: <https://git.kernel.org/stable/c/1c48c8c807e49ac4f72819a89035fb8d2d094015>
- other: <https://git.kernel.org/stable/c/be7fb59512ffc2da5d98214a00117dfe9eccab78>
- other: <https://git.kernel.org/stable/c/1641d058adfbd50cf95d54581ed5d142ee82c07f>
- other: <https://git.kernel.org/stable/c/b0d27d43791b7a3057c3c4aedf9b4aa033d37c46>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80631>

HTML: <https://flawdb.com/CVE-2026-80631> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80631>
