GHSA-4jw8-cp5g-24j2
A vulnerability in the Linux kernel's ext4 filesystem code involved improper error handling in the ext4_read_inline_folio function. The issue was that a BUG_ON() macro was used when inline data size exceeded PAGE_SIZE, causing a kernel panic. The fix replaces BUG_ON() with proper error handling that logs the error, releases resources to prevent memory leaks, and returns an error code indicating filesystem corruption, allowing the system to continue running.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel ext4 filesystem was due to the use of BUG_ON() in ext4_read_inline_folio when inline data size exceeded PAGE_SIZE. This caused a kernel panic, resulting in a denial of service. The fix replaces the BUG_ON() with proper error handling: the error is logged via ext4_error_inode(), the buffer head is released to prevent memory leaks, and -EFSCORRUPTED is returned to indicate filesystem corruption. This change prevents kernel panic and allows the system to continue operating despite the filesystem corruption.
Potential Impact
The vulnerability can cause a denial of service by triggering a kernel panic when inline data size exceeds PAGE_SIZE in ext4. There is no confidentiality or integrity impact reported. The system availability is affected due to the kernel panic. The fix prevents this by handling the error gracefully.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, monitoring for kernel updates addressing this issue is recommended. No specific workaround is provided in the available data.
GHSA-4jw8-cp5g-24j2
Description
A vulnerability in the Linux kernel's ext4 filesystem code involved improper error handling in the ext4_read_inline_folio function. The issue was that a BUG_ON() macro was used when inline data size exceeded PAGE_SIZE, causing a kernel panic. The fix replaces BUG_ON() with proper error handling that logs the error, releases resources to prevent memory leaks, and returns an error code indicating filesystem corruption, allowing the system to continue running.
CVSS v3.1
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel ext4 filesystem was due to the use of BUG_ON() in ext4_read_inline_folio when inline data size exceeded PAGE_SIZE. This caused a kernel panic, resulting in a denial of service. The fix replaces the BUG_ON() with proper error handling: the error is logged via ext4_error_inode(), the buffer head is released to prevent memory leaks, and -EFSCORRUPTED is returned to indicate filesystem corruption. This change prevents kernel panic and allows the system to continue operating despite the filesystem corruption.
Potential Impact
The vulnerability can cause a denial of service by triggering a kernel panic when inline data size exceeds PAGE_SIZE in ext4. There is no confidentiality or integrity impact reported. The system availability is affected due to the kernel panic. The fix prevents this by handling the error gracefully.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, monitoring for kernel updates addressing this issue is recommended. No specific workaround is provided in the available data.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4jw8-cp5g-24j2
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-31451"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a498a7b27e9c7971936f6d3
Added to database: 07/04/2026, 22:34:35 UTC
Last enriched: 07/04/2026, 23:06:51 UTC
Last updated: 07/05/2026, 00:11:25 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.