Skip to main content
← All vulnerabilities
CVE-2026-97489

bfs: handle set_blocksize failures

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 965b53ee91cfda3faf8bd0d0ffff5f70c7d1c479; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 0fe260d82555ffebfb627cd23cbb6e880399804c; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in c6d069c34d57414c039167967ef826a8516c98f3; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 8a96010d230a8c83181137d88bad4bf71d862628; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 7cc713b29eecc0189a184e82f42d174fddaa9e1e; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in ab1d6160d26e6ee8939e994999be9b45e90a42ef; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 2430e3380936df0b648af720cae624eef035a2d1

  • Linux Linux

    2.6.12

  • KernelLinux

    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

References 7

git.kernel.org