CVE-2026-31452
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 8
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn 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.
- Vendor / product
- linux linux kernel
- Published
- 22.04.2026
- Modified
- 12.11.2026
- CWE
- CWE-787
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
42- Ubuntu: USN-8668-2 – Linux kernel (Raspberry Pi) vulnerabilities 21.09.2026 · Critical · Patch day
- Ubuntu: USN-8668-1 – Linux kernel (GCP) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8665-1 – Linux kernel (Raspberry Pi) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8620-4 – Linux kernel (Intel IoTG) vulnerabilities 31.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-3 – Linux kernel (Intel IoTG) vulnerabilities 31.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-2 – Linux kernel (Azure FIPS) vulnerabilities 29.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-1 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8619-1 – Linux kernel (HWE) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-3 – Linux kernel (AWS) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-3 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22812-1 – Security update for the Linux Kernel 27.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22835-1 – Security update for the Linux Kernel 27.07.2026 · Critical · Patch day
- Ubuntu: USN-8610-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-3 – Linux kernel vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8609-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8608-1 – Linux kernel (Azure FIPS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8607-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8606-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-2 – Linux kernel (AWS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8597-1 – Linux kernel (IBM) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8576-2 – Linux kernel (NVIDIA Tegra) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8596-1 – Linux kernel (NVIDIA) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-1 – Linux kernel (Oracle) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22742-1 – Security update for the Linux Kernel 22.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22769-1 – Security update for the Linux Kernel 22.07.2026 · Critical · Patch day
- Ubuntu: USN-8576-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-1 – Linux kernel vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-1 – Linux kernel (GCP FIPS) vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8567-1 – Linux kernel vulnerabilities 20.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2799-1 – Security update for the Linux Kernel 08.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22440-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22458-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22460-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22393-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22394-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22433-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22436-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2722-1 – Security update for the Linux Kernel 01.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2450-1 – Security update for the Linux Kernel 18.06.2026 · Critical · Patch day
- Microsoft: Mariner 29.04.2026 · Medium · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.