CVE-2026-31451
ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio
Reported by linux · Published April 22, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| Linux | Linux | 356227096eb66e41b23caf7045e6304877322edf |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 46c7f254543dedcf134ad05091ed2b935a9a597d, 46c7f254543dedcf134ad05091ed2b935a9a597d, 46c7f254543dedcf134ad05091ed2b935a9a597d |
| Linux | Linux | 3.8, 0, 5.10.260 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | perf6.12 | 0 |
| Linux | Linux | 6.19.11, 6.18.21, 6.12.80 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.12.80-105.147 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.25-52.107 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
…and 10 more
Timeline
- Apr 22, 2026 CVE Published
- Apr 23, 2026 Security Advisory (97 in total, the first dated here)
- May 18, 2026 EPSS Score (26 in total, the first dated here)
- Jul 16, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (92 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-31451
vulnetix vdb fixes CVE-2026-31451
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31451/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart