Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a051ecf5c5b0387840dc210413ed3bc7fbdaa69c; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d791c544efd6b9c944b43cf7f502e5bcb02fb941; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 66c7c239c65341f99ae388d4d53dc9df2bcb9925; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2bb588cede1c1969e49c0a2822c8cb8b346b7682; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f57ccd4657c7f082dc47e5b9e18a883bb5f9118f; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 31fefc18096cdc5549cfa54964d90e0b3229aedc; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1efc128ee4adbc23e082715425ff895449d233bc; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8c97a6ddc95690a938ded44b4e3202f03f15078c |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.252 through 5.10.*; unaffected 5.15.202 through 5.15.*; unaffected 6.1.165 through 6.1.*; unaffected 6.6.128 through 6.6.*; unaffected 6.12.75 through 6.12.*; unaffected 6.18.16 through 6.18.*; unaffected 6.19.6 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- 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