minix: Add required sanity checking to minix_check_superblock()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 31fefc18096cdc5549cfa54964d90e0b3229aedc| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's minix filesystem implementation lacks required checks for superblock fields, including the supported zone-size value. The input does not specify an attacker impact or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux systems that use the minix filesystem should check their kernel versions; affected versions were not provided.