cvelo
P3 · MediumCVSS 5.5EPSS 0.1%

CVE-2026-98067

  • CVE-2026-98067

Description

Show the whole 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

Text from the NVD record.

Recommendation

  • linux linux kernel

    • If you run a version from 6.19 to before 7.2.7update to 7.2.7 or laterMajor version change: expect breaking changes
    • If you run a version from 6.13 to before 6.18.53update to 6.18.53 or laterMinor version change: check the release notes
    • If you run a version from 6.7 to before 6.12.114update to 6.12.114 or laterMinor version change: check the release notes
    • If you run a version from 5.13 to before 6.6.160update to 6.6.160 or laterMajor version change: expect breaking changes

    Some affected versions have no stated fix.

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • linux linux kernel

    Affected versionsFixed in
    from 6.19 to before 7.2.77.2.7
    from 6.13 to before 6.18.536.18.53
    from 6.7 to before 6.12.1146.12.114
    from 5.13 to before 6.6.1606.6.160
    7.3none stated

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.