# CVE-2026-97487: jfs: handle set_blocksize failures

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2026-09-24T16:04:32.648Z
- Modified: 2026-10-03T11:17:58.697Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

jfs: handle set_blocksize failures

jfs 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e2712fa5c02cd1b3e40d45bc8ce581f3c67bf4b4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before deb9400a38849e03210c9169b777e89e74debe96; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a0eaa3f4b6dcc829228752f6255f0e45cc94b273; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 87d6852f06c5a29f757f7b7ad1423e4cbd0f2cad; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a0ac22af8acca6ea6c57aff72662086cb3243b1c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 153374ee67a458c77b5755d3cc57fbdc639d327e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 05107f5602751fcfd3d108c1f579eb45aabead52; 2.6.12 (not affected: before 2.6.12; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/e2712fa5c02cd1b3e40d45bc8ce581f3c67bf4b4>
- <https://git.kernel.org/stable/c/deb9400a38849e03210c9169b777e89e74debe96>
- <https://git.kernel.org/stable/c/a0eaa3f4b6dcc829228752f6255f0e45cc94b273>
- <https://git.kernel.org/stable/c/87d6852f06c5a29f757f7b7ad1423e4cbd0f2cad>
- <https://git.kernel.org/stable/c/a0ac22af8acca6ea6c57aff72662086cb3243b1c>
- <https://git.kernel.org/stable/c/153374ee67a458c77b5755d3cc57fbdc639d327e>
- <https://git.kernel.org/stable/c/05107f5602751fcfd3d108c1f579eb45aabead52>

## Sources

- CVE List: [CVE-2026-97487](https://www.cve.org/CVERecord?id=CVE-2026-97487), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2026-97487](https://nvd.nist.gov/vuln/detail/CVE-2026-97487), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2026-97487 · Whole record: https://cve.day/CVE-2026-97487.json · Rebuilt by cve.day 2026-11-25T22:59:40.866Z
