---
id: CVE-2026-31451
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio

  Replace BUG_ON() with proper error handling when inline data size
  exceeds PAGE_SIZE
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio

  Replace BUG_ON() with proper error handling when inline data size
  exceeds PAGE_SIZE. This pre…
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_kernel
affected:
  - 'linux_kernel >= 3.8, < 6.6.131'
  - 'linux_kernel >= 6.7, < 6.12.80'
  - 'linux_kernel >= 6.13, < 6.18.21'
  - 'linux_kernel >= 6.19, < 6.19.11'
  - linux_kernel = 7.0
patched:
  - linux_kernel 6.19.11
published: '2026-04-22'
updated: '2026-07-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-31451'
references:
  - url: 'https://git.kernel.org/stable/c/3462a3f0716d27af51896dc8688bcf0628fb17ee'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/356227096eb66e41b23caf7045e6304877322edf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/636e8d85a36ab6c31aafd04ee66a69b18eebee7b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/65c6c30ce6362c1c684568744ea510c921a756cd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/823849a26af089ffc5dfdd2ae4b9d446b46a0cda'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a7d600e04732a7d29b107c91fe3aec64cf6ce7f2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/af25a6affeac4919e8d8c5cccc01a9d53478447e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00162
epssPercentile: 0.04773
ingestedAt: '2026-07-04T12:56:09.360Z'
---

## Overview

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

ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio

Replace BUG_ON() with proper error handling when inline data size
exceeds PAGE_SIZE. This prevents kernel panic and allows the system to
continue running while properly reporting the filesystem corruption.

The error is logged via ext4_error_inode(), the buffer head is released
to prevent memory leak, and -EFSCORRUPTED is returned to indicate
filesystem corruption.

## Affected

- `linux_kernel >= 3.8, < 6.6.131`
- `linux_kernel >= 6.7, < 6.12.80`
- `linux_kernel >= 6.13, < 6.18.21`
- `linux_kernel >= 6.19, < 6.19.11`
- `linux_kernel = 7.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.19.11`
