CVE-2026-74723
btrfs: lzo: reject inline extents without valid headers
Check your servers for CVE-2026-74723
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74723 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
btrfs: lzo: reject inline extents without valid headers
[BUG] For a crafted btrfs image, the following KASAN can be triggered when reading an inline lzo compressed file extent:
BUG: KASAN: slab-out-of-bounds in lzo_decompress+0x57d/0x700 Read of size 4 at addr ffff888006f2e644 by task btrfs_lzo_inlin/77
Call Trace: <TASK> dump_stack_lvl+0x5b/0x70 print_report+0xd1/0x610 kasan_report+0xe0/0x110 __asan_report_load_n_noabort+0x13/0x20 lzo_decompress+0x57d/0x700 btrfs_decompress+0x140/0x1c0 uncompress_inline+0x147/0x1b0 btrfs_get_extent+0xb23/0x10a0 btrfs_do_readpage.constprop.0+0x538/0x1ac0 btrfs_readahead+0x32f/0x5f0 read_pages+0x16f/0x850 page_cache_ra_unbounded+0x296/0x490 do_page_cache_ra+0xd9/0x130 page_cache_sync_ra+0x3ee/0x6f0 filemap_get_pages+0x306/0x15c0 filemap_read+0x329/0xd00 btrfs_file_read_iter+0x1f8/0x2b0 vfs_read+0x4ef/0x720 ksys_read+0xf8/0x1d0 __x64_sys_read+0x71/0xb0 x64_sys_call+0x1ab0/0x1b70 do_syscall_64+0x61/0x470 entry_SYSCALL_64_after_hwframe+0x4b/0x53 </TASK>
[CAUSE] For an inline lzo compressed file extent, there should always be one lzo header, recording the total length of the compressed data, followed by one segment header, recording the compressed lzo payload.
But if a crafted inline lzo compressed file extent contains only an lzo header, without the segment header or payload, lzo_decompress() will still try to read the segment header, causing a read beyond the item boundary.
Furthermore if the inline lzo compressed file extent is the first item of the leaf, it will be at the extent buffer boundary. The above out-of-boundary read will go beyond the extent buffer boundary, triggering the above KASAN report.
[FIX] Validate the total length of the inlined lzo compressed file extent, to make sure there is at least one LZO header and one segment header, and a non-zero payload.
[ Rework the commit message to remove slop ]
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.49%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 43.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a6fa6fae40ec336c7df6155255ae64ebef43a8bc, before 0b824d657d2403e8dbe4257d62825e66f79dcf8c affected from a6fa6fae40ec336c7df6155255ae64ebef43a8bc, before 5d00c9c1c951ae82d498eabbdfff973252a05c50 affected from a6fa6fae40ec336c7df6155255ae64ebef43a8bc, before fd150d7c8e0ad9d721c011cfd4cc0f3c65bd6834 affected from a6fa6fae40ec336c7df6155255ae64ebef43a8bc, before 056876c9db1e969bfcf7d8583c7696cc0dd080df affected from a6fa6fae40ec336c7df6155255ae64ebef43a8bc, before fc50b475ad27f50b4dcc98fc4c44e8802bc1b248 affected from a6fa6fae40ec336c7df6155255ae64ebef43a8bc, before 0fa78ef637deb5dbe341582f88553a4bce496de0
Other versions: unaffected
|
| Linux |
affected 2.6.38 unaffected before 2.6.38 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.57 up to and including 6.18.* unaffected from 7.1.9 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74723 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74723
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-74723
trivy image --scanners vuln IMAGE | grep CVE-2026-74723
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0b824d657d2403e8dbe4257d62825e66f79dcf8c git.kernel.org
- https://git.kernel.org/stable/c/5d00c9c1c951ae82d498eabbdfff973252a05c50 git.kernel.org
- https://git.kernel.org/stable/c/fd150d7c8e0ad9d721c011cfd4cc0f3c65bd6834 git.kernel.org
- https://git.kernel.org/stable/c/056876c9db1e969bfcf7d8583c7696cc0dd080df git.kernel.org
- https://git.kernel.org/stable/c/fc50b475ad27f50b4dcc98fc4c44e8802bc1b248 git.kernel.org
- https://git.kernel.org/stable/c/0fa78ef637deb5dbe341582f88553a4bce496de0 git.kernel.org
Source: the record CVE-2026-74723 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse