Skip to contentSkip to conversation

CVE-2026-98879: isofs: handle set_blocksize failures

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

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

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

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

isofs: handle set_blocksize failures

isofs uses buffer_heads, which don't handle block size > PAGE_SIZE well. Without this, mounting we will hit the

        BUG_ON(offset >= folio_size(folio));

in folio_set_bh on the first __bread_gfp call.

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

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

	Fixed in 5.10.271 with commit 6db7f0ba365786304558db6a3d52013ae176e03e
	Fixed in 5.15.222 with commit 61f277bf35f533b602984f0e55900111fe52f31a
	Fixed in 6.1.189 with commit cebde6d88e34396c29f2f001d90e921677cc17d6
	Fixed in 6.6.158 with commit 28d1f6aa14f5924e36602b7a31c9141d34de0b9c
	Fixed in 6.12.111 with commit 9c97e3b1152d3092581745189f5d2f04c6404ef9
	Fixed in 6.18.53 with commit 9584ab6283721e5aab485c79bd06c2f78d89e55c
	Fixed in 7.2 with commit 25ef4c4d9f0e96fb89c0ae0d7127c3f12a31bc32

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

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/isofs/inode.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/6db7f0ba365786304558db6a3d52013ae176e03e
	https://git.kernel.org/stable/c/61f277bf35f533b602984f0e55900111fe52f31a
	https://git.kernel.org/stable/c/cebde6d88e34396c29f2f001d90e921677cc17d6
	https://git.kernel.org/stable/c/28d1f6aa14f5924e36602b7a31c9141d34de0b9c
	https://git.kernel.org/stable/c/9c97e3b1152d3092581745189f5d2f04c6404ef9
	https://git.kernel.org/stable/c/9584ab6283721e5aab485c79bd06c2f78d89e55c
	https://git.kernel.org/stable/c/25ef4c4d9f0e96fb89c0ae0d7127c3f12a31bc32