CVE-2026-31452: ext4: convert inline data to extents when truncate exceeds inline size
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.13% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 07c1a31af18290054da3d18221b8bf58983c5d3a, 110d7ef602659ce4d7947c5480f7ca2779696aaf, 699bac4d4c951974d55b045c983d1de777215949; azl3 kernel 6.6.130.1-3 on Azure Linux 3.0 6.6.134.1-2.
Low priority for now. Upgrade to Linux Linux 07c1a31af18290054da3d18221b8bf58983c5d3a, 110d7ef602659ce4d7947c5480f7ca2779696aaf, 699bac4d4c951974d55b045c983d1de777215949; azl3 kernel 6.6.130.1-3 on Azure Linux 3.0 6.6.134.1-2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: ext4: convert inline data to extents when truncate exceeds inline size Add a check in ext4_setattr() to convert files from inline data storage to extent-based storage when truncate() grows the file size beyond the inline capacity. This prevents the filesystem from entering an inconsistent state where the inline data flag is set but the file size exceeds what can be stored inline. Without this fix, the following sequence causes a kernel BUG_ON(): 1. Mount filesystem with inode that has inline flag set and small size 2. truncate(file, 50MB) - grows size but inline flag remains set 3. sendfile() attempts to write data 4. ext4_write_inline_data() hits BUG_ON(write_size > inline_capacity) The crash occurs because ext4_write_inline_data() expects inline storage to accommodate the write, but the actual inline capacity (~60 bytes for i_block + ~96 bytes for xattrs) is far smaller than the file size and write request. The fix checks if the new size from setattr exceeds the inode's actual inline capacity (EXT4_I(inode)->i_inline_size) and converts the file to extent-based storage before proceeding with the size change. This addresses the root cause by ensuring the inline data flag and file size remain consistent during truncate operations.
- Published
- Apr 22, 2026
- Updated
- Oct 15, 2026
- EPSS
- 0.1% · 2th percentile
- CWE
- CWE-787
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel3.8 and later · before 5.10.253
- linux linux kernel5.11 and later · before 5.15.203
- linux linux kernel5.16 and later · before 6.1.168
- linux linux kernel6.2 and later · before 6.6.131
- linux linux kernel6.7 and later · before 6.12.80
- linux linux kernel6.13 and later · before 6.18.21
- linux linux kernel6.19 and later · before 6.19.11
- linux linux kernel7.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.8affected
- 67cf5b09a46f72e048501b84996f2f77bc42e947 and later · before 110d7ef602659ce4d7947c5480f7ca2779696aafaffected · git
- 67cf5b09a46f72e048501b84996f2f77bc42e947 and later · before f53a5d9f32924bc2a810d2df243b7714da58b636affected · git
- 67cf5b09a46f72e048501b84996f2f77bc42e947 and later · before c047332be7195833a5c5126816c2502df8269fe4affected · git
- 67cf5b09a46f72e048501b84996f2f77bc42e947 and later · before 699bac4d4c951974d55b045c983d1de777215949affected · git
- 67cf5b09a46f72e048501b84996f2f77bc42e947 and later · before 7920dcc571cef3d8aa9ee109c136125d61d41669affected · git
- 67cf5b09a46f72e048501b84996f2f77bc42e947 and later · before 93cb2d103e5c707de0f7ad58a39b7f0fddc27aa6affected · git
- 67cf5b09a46f72e048501b84996f2f77bc42e947 and later · before 07c1a31af18290054da3d18221b8bf58983c5d3aaffected · git
- 67cf5b09a46f72e048501b84996f2f77bc42e947 and later · before ed9356a30e59c7cc3198e7fc46cfedf3767b9b17affected · git
- before 3.8not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.170-1 | 6.1.170-1 |
| Debian:13 | linux | before 6.12.85-1 | 6.12.85-1 |
| Debian:14 | linux | before 6.19.11-1 | 6.19.11-1 |
| openSUSE:Leap 16.0 | dtb-aarch64 | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-64kb | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-azure | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-default | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-default-base | before 6.12.0-160000.36.1.160000.2.17 | 6.12.0-160000.36.1.160000.2.17 |
| openSUSE:Leap 16.0 | kernel-docs | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-rt | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-source | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-syms | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | before 6.12.0-160000.36.1 | 6.12.0-160000.36.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kernel-default | before 4.12.14-122.317.1 | 4.12.14-122.317.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_84 | before 1-8.7.1 | 1-8.7.1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_17 | before 1-150700.15.3.1 | 1-150700.15.3.1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7-RT_Update_17 | before 1-150700.1.3.1 | 1-150700.1.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-64kb | before 6.4.0-150700.53.63.1 | 6.4.0-150700.53.63.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-default | before 6.4.0-150700.53.63.1 | 6.4.0-150700.53.63.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-default-base | before 6.4.0-150700.53.63.1.150700.17.37.1 | 6.4.0-150700.53.63.1.150700.17.37.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-source | before 6.4.0-150700.53.63.1 | 6.4.0-150700.53.63.1 |
+28
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2026-31450Apr 22, 2026 · ext4: publish jinode after initialization35Monitor
- ← EarlierCVE-2026-31451Apr 22, 2026 · ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio22Monitor
- Later →CVE-2026-31453Apr 22, 2026 · xfs: avoid dereferencing log items after push callbacks31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 07c1a31af18290054da3d18221b8bf58983c5d3a | Vendor (CNA) |
| Linux Linux | 110d7ef602659ce4d7947c5480f7ca2779696aaf | Vendor (CNA) |
| Linux Linux | 699bac4d4c951974d55b045c983d1de777215949 | Vendor (CNA) |
| Linux Linux | 7920dcc571cef3d8aa9ee109c136125d61d41669 | Vendor (CNA) |
| Linux Linux | 93cb2d103e5c707de0f7ad58a39b7f0fddc27aa6 | Vendor (CNA) |
| Linux Linux | c047332be7195833a5c5126816c2502df8269fe4 | Vendor (CNA) |
| Linux Linux | ed9356a30e59c7cc3198e7fc46cfedf3767b9b17 | Vendor (CNA) |
| Linux Linux | f53a5d9f32924bc2a810d2df243b7714da58b636 | Vendor (CNA) |
| azl3 kernel 6.6.130.1-3 on Azure Linux 3.0 | 6.6.134.1-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.170-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-64kb | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-azure | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-default | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-default-base | 6.12.0-160000.36.1.160000.2.17 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-docs | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-kvmsmall | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-obs-build | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-obs-qa | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-rt | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-source | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-syms | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| suse:kernel-64kb | 6.12.0-160000.36.1 · SUSE:Linux Micro 6.2 | Package registry (OSV) |
| suse:kernel-azure | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
| suse:kernel-default | 6.4.0-48.1 · SUSE:Linux Micro 6.0 | Package registry (OSV) |
| suse:kernel-default-base | 6.4.0-48.1.21.25 · SUSE:Linux Micro 6.0 | Package registry (OSV) |
| suse:kernel-docs | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
| suse:kernel-kvmsmall | 6.4.0-48.1 · SUSE:Linux Micro 6.0 | Package registry (OSV) |
| suse:kernel-obs-build | 6.12.0-160000.36.1 · SUSE:Linux Micro Extras 6.2 | Package registry (OSV) |
| suse:kernel-obs-qa | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
+4
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/110d7ef602659ce4d7947c5480f7ca2779696aaf
- git.kernel.org/stable/c/699bac4d4c951974d55b045c983d1de777215949
- git.kernel.org/stable/c/7920dcc571cef3d8aa9ee109c136125d61d41669
- git.kernel.org/stable/c/93cb2d103e5c707de0f7ad58a39b7f0fddc27aa6
- git.kernel.org/stable/c/c047332be7195833a5c5126816c2502df8269fe4
- git.kernel.org/stable/c/ed9356a30e59c7cc3198e7fc46cfedf3767b9b17
- git.kernel.org/stable/c/f53a5d9f32924bc2a810d2df243b7714da58b636
- cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com/productcert/html/ssa-082556.html
- cert-portal.siemens.com/productcert/html/ssa-457936.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.