CVE-2026-98067
Medium 5.5No known exploitationFix availableerofs: disable LZ4 rolling decompression for now
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 2% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
In the Linux kernel, the following vulnerability has been resolved: erofs: disable LZ4 rolling decompression for now LZ4 rolling decompression [1] was introduced to reduce the memory footprint of temporary pages: For many cases, it is needed for users to read small data within a compressed extent (pcluster), either due to random small read, or since uptodate folios (typically order-0) cannot be reused for decompression again since decompression algorithm refills already-uptodate folios. Rolling decompression works because LZ4 is LZ77-based and only refers to the most recent 64 KiB of decompressed data, so in theory only a bounded rolling window of temporary pages is needed when decompressing. It can save a lot of temporary memory, e.g. 601,960-byte data can be compressed into a 256k LZ4 compressed extent, which means it needs 146 extra pages per request in the worst case if rolling decompression is disabled. However, the upstream LZ4 implementation is not under EROFS' control: For example, the literal copy memmove() may still **copy long literals backward** on x86 based on the address comparison even when the source and destination ranges do not overlap (IOWs, inline decompression doesn't need to be considered here). That breaks the rolling assumption and makes the optimization broken. Disable it for now to make sure the data correctness first since EROFS is used everywhere now: The rolling window approach can be revived once we either ensure that the official LZ4 code always copies forward for non-overlapping ranges or maintain our own LZ4 implementation in EROFS. The main impact is a higher runtime memory footprint; However, recent commit 0f6273ab4637 ("erofs: add a reserved buffer pool for lz4 decompression") helps mitigate this when enabled but it's still not perfect. [1] https://www.usenix.org/conference/atc19/presentation/gao § 3.3 Decompression
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl3 kernel 6.6.159.1-1 on Azure Linux 3.0 | Not documented | 6.6.161.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| linux | linux_kernel | from 5.13 before 6.6.160 | 6.6.160 | NIST NVD |
| linux | linux_kernel | from 6.13 before 6.18.53 | 6.18.53 | NIST NVD |
| linux | linux_kernel | from 6.19 before 7.2.7 | 7.2.7 | NIST NVD |
| linux | linux_kernel | from 6.7 before 6.12.114 | 6.12.114 | NIST NVD |
| linux | linux_kernel | 7.3 | Not documented | NIST NVD |
| linux | linux_kernel | 7.3 | Not documented | NIST NVD |
Timeline
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Advisory change
Microsoft advisory revised (7.0): Information published.
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- https://git.kernel.org/stable/c/82e664cf1219c459c33aae931b222cf951af9cb7 (opens in a new tab)patch
- https://git.kernel.org/stable/c/c9a2db4b9950b59c571258e4bae74c271f62dd66 (opens in a new tab)patch
- https://git.kernel.org/stable/c/d923e53472b468a50a6cf41341531d5170c68371 (opens in a new tab)patch
- https://git.kernel.org/stable/c/dcc5e6c9e4d06fe73fc61e730ee3e51dd115a4d8 (opens in a new tab)patch
- https://git.kernel.org/stable/c/ec52dfed7b14514ed97ee71161e4cf4cfe2fbff2 (opens in a new tab)patch
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory