bfs: handle set_blocksize failures
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < ab1d6160d26e6ee8939e994999be9b45e90a42ef| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
bfs: handle set_blocksize failures
bfs uses buffer_heads, which don't handle block size > PAGE_SIZE well. Without this, mounting 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 BFS filesystem uses buffer heads that do not handle block sizes larger than PAGE_SIZE well. Mounting a BFS filesystem with such a block size can trigger a kernel BUG_ON during the first buffer read. The input does not specify attacker access requirements or whether user interaction is needed.
Operators running Linux kernels with BFS filesystem support should check their systems; affected versions are not specified.