Skip to contentSkip to conversation

CVE-2026-90161: erofs: fix interlaced ztailpacking pclusters

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

erofs: fix interlaced ztailpacking pclusters

On-disk sizes of interlaced pclusters should be block-aligned, and ztailpacking interlaced pclusters should be invalid at all.

Currently, mkfs.erofs won't generate any interlaced pcluster with ztailpacking enabled, so this doesn't affect any existing valid filesystems.

However, crafted images can contain invalid interlaced ztailpacking pclusters, resulting in an out-of-bounds read from a kmap'd page and copying irrelevant kernel memory into userspace-visible page cache.

The Linux kernel CVE team has assigned CVE-2026-90161 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.1 with commit fdffc091e6f94602558bba712b51bc16f79fd6d5 and fixed in 6.18.52 with commit ddb7ea4fd99bf6c4314d1dfca18aec6945ce8054
	Issue introduced in 6.1 with commit fdffc091e6f94602558bba712b51bc16f79fd6d5 and fixed in 7.2.6 with commit 451027c642e752420e1a04237db9ce7b35cee595
	Issue introduced in 6.1 with commit fdffc091e6f94602558bba712b51bc16f79fd6d5 and fixed in 7.3-rc1 with commit 862427ebb81d1f6abbf74d799790e1694b37b187
	Issue introduced in 6.0.16 with commit 7d6ef8277e44c22f894d54d26ddb36c22d60712d

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90161

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
fs/erofs/decompressor.c
fs/erofs/zmap.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/ddb7ea4fd99bf6c4314d1dfca18aec6945ce8054
	https://git.kernel.org/stable/c/451027c642e752420e1a04237db9ce7b35cee595
	https://git.kernel.org/stable/c/862427ebb81d1f6abbf74d799790e1694b37b187