---
id: CVE-2026-97489
title: "In the Linux kernel, the following vulnerability has been resolved:\n\nbfs: handle set_blocksize failures\n\nbfs uses buffer_heads, which don't handle block size > PAGE_SIZE well.\nWithout this, mounting will hit the\n\n\tBUG_ON(offset >= folio_…"
summary: "In the Linux kernel, the following vulnerability has been resolved:\n\nbfs: handle set_blocksize failures\n\nbfs uses buffer_heads, which don't handle block size > PAGE_SIZE well.\nWithout this, mounting will hit the\n\n\tBUG_ON(offset >= folio_…"
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-617
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    965b53ee91cfda3faf8bd0d0ffff5f70c7d1c479
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    0fe260d82555ffebfb627cd23cbb6e880399804c
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    c6d069c34d57414c039167967ef826a8516c98f3
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    8a96010d230a8c83181137d88bad4bf71d862628
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    7cc713b29eecc0189a184e82f42d174fddaa9e1e
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    ab1d6160d26e6ee8939e994999be9b45e90a42ef
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    2430e3380936df0b648af720cae624eef035a2d1
  - Linux 2.6.12
published: '2026-09-24'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:17:58.920'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97489'
references:
  - url: 'https://git.kernel.org/stable/c/0fe260d82555ffebfb627cd23cbb6e880399804c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2430e3380936df0b648af720cae624eef035a2d1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7cc713b29eecc0189a184e82f42d174fddaa9e1e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8a96010d230a8c83181137d88bad4bf71d862628'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/965b53ee91cfda3faf8bd0d0ffff5f70c7d1c479'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ab1d6160d26e6ee8939e994999be9b45e90a42ef'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c6d069c34d57414c039167967ef826a8516c98f3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97489.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-97489'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2540388'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-97489'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97489'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97489.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00173
epssPercentile: 0.0663
cvssSource: vendor
ingestedAt: '2026-09-24T16:47:15.868Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-09-29 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97489.json)
