hpfs: handle set_blocksize failures
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < f27e21cf3c0446a3536ea9b588a78a46b0a2cb66| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
hpfs: handle set_blocksize failures
hpfs 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 hpfs code does not handle block-size setup failures when the block size exceeds PAGE_SIZE. Mounting such a filesystem can trigger a kernel BUG on the first buffer read. The input does not specify an attacker, authentication requirements, or whether user interaction is needed.
Engineers running Linux kernels with hpfs support should check their versions against the vendor advisory; affected versions are not specified.