affs: handle set_blocksize failures
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < e01af5aa641039e000af855f448475316f0550fc| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
affs: handle set_blocksize failures
affs 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.
From the CVE record · Linux
The Linux kernel’s affs filesystem does not properly handle block-size failures when using buffer_heads with a block size greater than PAGE_SIZE. Mounting an affected filesystem can trigger a kernel BUG_ON on the first __bread_gfp call. The input does not specify whether an attacker can trigger this remotely or what access they would need.
Engineers running Linux kernels with affs support should check their installations; affected versions are not specified.