CVE-2026-31448
ext4: avoid infinite loops caused by residual data
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: avoid infinite loops caused by residual data On the mkdir/mknod path, when mapping logical blocks to physical blocks, if inserting a new extent into the extent tree fails (in this example, because the file system disabled the huge file feature when marking the inode as dirty), ext4_ext_map_blocks() only calls ext4_free_blocks() to reclaim the physical block without deleting the corresponding data in the extent tree. This causes subsequent mkdir operations to reference the previously reclaimed physical block number again, even though this physical block is already being used by the xattr block. Therefore, a situation arises where both the directory and xattr are using the same buffer head block in memory simultaneously. The above causes ext4_xattr_block_set() to enter an infinite loop about "inserted" and cannot release the inode lock, ultimately leading to the 143s blocking problem mentioned in [1]. If the metadata is corrupted, then trying to remove some extent space can do even more harm. Also in case EXT4_GET_BLOCKS_DELALLOC_RESERVE was passed, remove space wrongly update quota information. Jan Kara suggests distinguishing between two cases: 1) The error is ENOSPC or EDQUOT - in this case the filesystem is fully consistent and we must maintain its consistency including all the accounting. However these errors can happen only early before we've inserted the extent into the extent tree. So current code works correctly for this case. 2) Some other error - this means metadata is corrupted. We should strive to do as few modifications as possible to limit damage. So I'd just skip freeing of allocated blocks. [1] INFO: task syz.0.17:5995 blocked for more than 143 seconds. Call Trace: inode_lock_nested include/linux/fs.h:1073 [inline] __start_dirop fs/namei.c:2923 [inline] start_dirop fs/namei.c:2934 [inline]
INFO
Published Date :
April 22, 2026, 2:16 p.m.
Last Modified :
Dec. 1, 2026, 7:17 a.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the resolved version.
- Reboot the system after applying the update.
- Verify file system integrity after reboot.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-31448.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-31448 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-31448
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-31448 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-31448 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 01, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31448.json">CVE-2026-31448</a> Added Reference https://git.kernel.org/stable/c/101ddb1c8f4b0a196e5cbbf51edf4bb328838868 Added Reference https://git.kernel.org/stable/c/fb3356d72151b554e2b4bc92b368d4c648cce5d9 -
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ext4: evitar bucles infinitos causados por datos residuales En la ruta mkdir/mknod, al mapear bloques lógicos a bloques físicos, si la inserción de un nuevo extent en el árbol de extents falla (en este ejemplo, porque el sistema de archivos deshabilitó la característica de archivos grandes al marcar el inodo como sucio), ext4_ext_map_blocks() solo llama a ext4_free_blocks() para reclamar el bloque físico sin eliminar los datos correspondientes en el árbol de extents. Esto hace que las operaciones mkdir posteriores referencien de nuevo el número de bloque físico previamente reclamado, aunque este bloque físico ya esté siendo utilizado por el bloque xattr. Por lo tanto, surge una situación en la que tanto el directorio como xattr están utilizando el mismo bloque de cabecera de búfer en memoria simultáneamente. Lo anterior hace que ext4_xattr_block_set() entre en un bucle infinito sobre ’inserted’ y no pueda liberar el bloqueo del inodo, lo que finalmente lleva al problema de bloqueo de 143s mencionado en [1]. Si los metadatos están corruptos, entonces intentar eliminar algo de espacio de extent puede causar aún más daño. También en caso de que se pasara EXT4_GET_BLOCKS_DELALLOC_RESERVE, la eliminación de espacio actualiza erróneamente la información de cuota. Jan Kara sugiere distinguir entre dos casos: 1) El error es ENOSPC o EDQUOT - en este caso el sistema de archivos es totalmente consistente y debemos mantener su consistencia incluyendo toda la contabilidad. Sin embargo, estos errores solo pueden ocurrir temprano antes de haber insertado el extent en el árbol de extents. Por lo tanto, el código actual funciona correctamente para este caso. 2) Algún otro error - esto significa que los metadatos están corruptos. Debemos esforzarnos por hacer la menor cantidad de modificaciones posible para limitar el daño. Así que simplemente omitiría la liberación de bloques asignados. [1] INFO: la tarea syz.0.17:5995 bloqueada durante más de 143 segundos. Traza de Llamada: inode_lock_nested include/linux/fs.h:1073 [inline] __start_dirop fs/namei.c:2923 [inline] start_dirop fs/namei.c:2934 [inline] -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Nov. 10, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31448.json">CVE-2026-31448</a> -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-835 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-31448', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:09:25.858485Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/3a7667595bcad84da53fc156a418e110267c3412 Added Reference https://git.kernel.org/stable/c/416c86f30f91b4fb2642ef6b102596ca898f41a5 Added Reference https://git.kernel.org/stable/c/5422fe71d26d42af6c454ca9527faaad4e677d6c Added Reference https://git.kernel.org/stable/c/64f425b06b3bea9abc8977fd3982779b3ad070c9 Added Reference https://git.kernel.org/stable/c/c66545e83a802c3851d9be27a41c0479dd29ff0c Added Reference https://git.kernel.org/stable/c/ecc50bfca9b5c2ee6aeef998181689b80477367b Removed Reference https://git.kernel.org/stable/c/3a7667595bcad84da53fc156a418e110267c3412 Removed Reference https://git.kernel.org/stable/c/416c86f30f91b4fb2642ef6b102596ca898f41a5 Removed Reference https://git.kernel.org/stable/c/5422fe71d26d42af6c454ca9527faaad4e677d6c Removed Reference https://git.kernel.org/stable/c/64f425b06b3bea9abc8977fd3982779b3ad070c9 Removed Reference https://git.kernel.org/stable/c/c66545e83a802c3851d9be27a41c0479dd29ff0c Removed Reference https://git.kernel.org/stable/c/ecc50bfca9b5c2ee6aeef998181689b80477367b Removed Reference Type https://git.kernel.org/stable/c/3a7667595bcad84da53fc156a418e110267c3412 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/416c86f30f91b4fb2642ef6b102596ca898f41a5 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/5422fe71d26d42af6c454ca9527faaad4e677d6c Types: Patch Removed Reference Type https://git.kernel.org/stable/c/64f425b06b3bea9abc8977fd3982779b3ad070c9 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c66545e83a802c3851d9be27a41c0479dd29ff0c Types: Patch Removed Reference Type https://git.kernel.org/stable/c/ecc50bfca9b5c2ee6aeef998181689b80477367b Types: Patch -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Oct. 15, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31448.json">CVE-2026-31448</a> Added Reference https://cert-portal.siemens.com/productcert/html/ssa-019113.html Added Reference https://cert-portal.siemens.com/productcert/html/ssa-082556.html Added Reference https://cert-portal.siemens.com/productcert/html/ssa-457936.html Removed Reference https://cert-portal.siemens.com/productcert/html/ssa-019113.html Removed Reference https://cert-portal.siemens.com/productcert/html/ssa-082556.html -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Jul. 14, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIPLUS S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIPLUS S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}] Added Reference https://cert-portal.siemens.com/productcert/html/ssa-019113.html Added Reference https://cert-portal.siemens.com/productcert/html/ssa-082556.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '315054f023d28ee64f308adf8b5737831541776b', 'lessThan': 'c66545e83a802c3851d9be27a41c0479dd29ff0c', 'versionType': 'git'}, {'status': 'affected', 'version': '315054f023d28ee64f308adf8b5737831541776b', 'lessThan': 'ecc50bfca9b5c2ee6aeef998181689b80477367b', 'versionType': 'git'}, {'status': 'affected', 'version': '315054f023d28ee64f308adf8b5737831541776b', 'lessThan': '3a7667595bcad84da53fc156a418e110267c3412', 'versionType': 'git'}, {'status': 'affected', 'version': '315054f023d28ee64f308adf8b5737831541776b', 'lessThan': '416c86f30f91b4fb2642ef6b102596ca898f41a5', 'versionType': 'git'}, {'status': 'affected', 'version': '315054f023d28ee64f308adf8b5737831541776b', 'lessThan': '64f425b06b3bea9abc8977fd3982779b3ad070c9', 'versionType': 'git'}, {'status': 'affected', 'version': '315054f023d28ee64f308adf8b5737831541776b', 'lessThan': '5422fe71d26d42af6c454ca9527faaad4e677d6c', 'versionType': 'git'}], 'programFiles': ['fs/ext4/extents.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.22'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.22', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.168', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.131', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.80', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.21', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.11', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/ext4/extents.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 07, 2026
Action Type Old Value New Value Added CWE CWE-835 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:2.6.22:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.22:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.22:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.22:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:2.6.22:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.131 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.80 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.22.1 up to (excluding) 6.1.168 Added Reference Type kernel.org: https://git.kernel.org/stable/c/3a7667595bcad84da53fc156a418e110267c3412 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/416c86f30f91b4fb2642ef6b102596ca898f41a5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5422fe71d26d42af6c454ca9527faaad4e677d6c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/64f425b06b3bea9abc8977fd3982779b3ad070c9 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c66545e83a802c3851d9be27a41c0479dd29ff0c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ecc50bfca9b5c2ee6aeef998181689b80477367b Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 22, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ext4: avoid infinite loops caused by residual data On the mkdir/mknod path, when mapping logical blocks to physical blocks, if inserting a new extent into the extent tree fails (in this example, because the file system disabled the huge file feature when marking the inode as dirty), ext4_ext_map_blocks() only calls ext4_free_blocks() to reclaim the physical block without deleting the corresponding data in the extent tree. This causes subsequent mkdir operations to reference the previously reclaimed physical block number again, even though this physical block is already being used by the xattr block. Therefore, a situation arises where both the directory and xattr are using the same buffer head block in memory simultaneously. The above causes ext4_xattr_block_set() to enter an infinite loop about "inserted" and cannot release the inode lock, ultimately leading to the 143s blocking problem mentioned in [1]. If the metadata is corrupted, then trying to remove some extent space can do even more harm. Also in case EXT4_GET_BLOCKS_DELALLOC_RESERVE was passed, remove space wrongly update quota information. Jan Kara suggests distinguishing between two cases: 1) The error is ENOSPC or EDQUOT - in this case the filesystem is fully consistent and we must maintain its consistency including all the accounting. However these errors can happen only early before we've inserted the extent into the extent tree. So current code works correctly for this case. 2) Some other error - this means metadata is corrupted. We should strive to do as few modifications as possible to limit damage. So I'd just skip freeing of allocated blocks. [1] INFO: task syz.0.17:5995 blocked for more than 143 seconds. Call Trace: inode_lock_nested include/linux/fs.h:1073 [inline] __start_dirop fs/namei.c:2923 [inline] start_dirop fs/namei.c:2934 [inline] Added Reference https://git.kernel.org/stable/c/3a7667595bcad84da53fc156a418e110267c3412 Added Reference https://git.kernel.org/stable/c/416c86f30f91b4fb2642ef6b102596ca898f41a5 Added Reference https://git.kernel.org/stable/c/5422fe71d26d42af6c454ca9527faaad4e677d6c Added Reference https://git.kernel.org/stable/c/64f425b06b3bea9abc8977fd3982779b3ad070c9 Added Reference https://git.kernel.org/stable/c/c66545e83a802c3851d9be27a41c0479dd29ff0c Added Reference https://git.kernel.org/stable/c/ecc50bfca9b5c2ee6aeef998181689b80477367b