qnx4: handle set_blocksize failures
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 60f7ccf669882262330171eda51a4f52fa2e69c9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
qnx4: handle set_blocksize failures
qnx4 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 qnx4 filesystem does not properly handle block-size failures when using buffer_heads with block sizes larger than PAGE_SIZE. Mounting such a filesystem can trigger a kernel BUG on the first __bread_gfp call. The input does not specify whether an attacker can trigger this or what access would be required.
Engineers running Linux kernels with qnx4 filesystem support should check their systems; affected versions are not specified.