Skip to contentSkip to conversation

CVE-2026-43179: erofs: fix incorrect early exits for invalid metabox-enabled images

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

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 incorrect early exits for invalid metabox-enabled images

Crafted EROFS images with metadata compression enabled can trigger incorrect early returns, leading to folio reference leaks.

However, this does not cause system crashes or other severe issues.

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

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

	Issue introduced in 6.17 with commit 414091322c6363c9283aeb177101e4d7a3819ccd and fixed in 6.18.16 with commit 041b5163bb9b2e81050bcd885b3373bf2f42d5f5
	Issue introduced in 6.17 with commit 414091322c6363c9283aeb177101e4d7a3819ccd and fixed in 6.19.6 with commit 56e4a84220045b6af0f1efc11825b39217c7decf
	Issue introduced in 6.17 with commit 414091322c6363c9283aeb177101e4d7a3819ccd and fixed in 7.0 with commit 643575d5a4f24b23b0c54aa20aa74a4abed8ff5e

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-43179

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/super.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/041b5163bb9b2e81050bcd885b3373bf2f42d5f5
	https://git.kernel.org/stable/c/56e4a84220045b6af0f1efc11825b39217c7decf
	https://git.kernel.org/stable/c/643575d5a4f24b23b0c54aa20aa74a4abed8ff5e