Skip to contentSkip to conversation

CVE-2026-43209: minix: Add required sanity checking to minix_check_superblock()

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:

minix: Add required sanity checking to minix_check_superblock()

The fs/minix implementation of the minix filesystem does not currently support any other value for s_log_zone_size than 0. This is also the only value supported in util-linux; see mkfs.minix.c line 511. In addition, this patch adds some sanity checking for the other minix superblock fields, and moves the minix_blocks_needed() checks for the zmap and imap also to minix_check_super_block().

This also closes a related syzbot bug report.

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

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

	Fixed in 5.10.252 with commit a051ecf5c5b0387840dc210413ed3bc7fbdaa69c
	Fixed in 5.15.202 with commit d791c544efd6b9c944b43cf7f502e5bcb02fb941
	Fixed in 6.1.165 with commit 66c7c239c65341f99ae388d4d53dc9df2bcb9925
	Fixed in 6.6.128 with commit 2bb588cede1c1969e49c0a2822c8cb8b346b7682
	Fixed in 6.12.75 with commit f57ccd4657c7f082dc47e5b9e18a883bb5f9118f
	Fixed in 6.18.16 with commit 31fefc18096cdc5549cfa54964d90e0b3229aedc
	Fixed in 6.19.6 with commit 1efc128ee4adbc23e082715425ff895449d233bc
	Fixed in 7.0 with commit 8c97a6ddc95690a938ded44b4e3202f03f15078c

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

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/minix/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/a051ecf5c5b0387840dc210413ed3bc7fbdaa69c
	https://git.kernel.org/stable/c/d791c544efd6b9c944b43cf7f502e5bcb02fb941
	https://git.kernel.org/stable/c/66c7c239c65341f99ae388d4d53dc9df2bcb9925
	https://git.kernel.org/stable/c/2bb588cede1c1969e49c0a2822c8cb8b346b7682
	https://git.kernel.org/stable/c/f57ccd4657c7f082dc47e5b9e18a883bb5f9118f
	https://git.kernel.org/stable/c/31fefc18096cdc5549cfa54964d90e0b3229aedc
	https://git.kernel.org/stable/c/1efc128ee4adbc23e082715425ff895449d233bc
	https://git.kernel.org/stable/c/8c97a6ddc95690a938ded44b4e3202f03f15078c