CVE-2026-31577

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map The DAT inode's btree node cache (i_assoc_inode) is initialized lazily during btree operations. However, nilfs_mdt_save_to_shadow_map() assumes i_assoc_inode is already initialized when copying dirty pages to the shadow map during GC. If NILFS_IOCTL_CLEAN_SEGMENTS is called immediately after mount before any btree operation has occurred on the DAT inode, i_assoc_inode is NULL leading to a general protection fault. Fix this by calling nilfs_attach_btree_node_cache() on the DAT inode in nilfs_dat_read() at mount time, ensuring i_assoc_inode is always initialized before any GC operation can use it.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: nilfs2: corrección de la desreferencia de i_assoc_inode NULL en nilfs_mdt_save_to_shadow_map La caché de nodos btree del inodo DAT (i_assoc_inode) se inicializa de forma perezosa durante las operaciones btree. Sin embargo, nilfs_mdt_save_to_shadow_map() asume que i_assoc_inode ya está inicializado al copiar páginas sucias al mapa de sombra durante la GC. Si se llama a NILFS_IOCTL_CLEAN_SEGMENTS inmediatamente después del montaje antes de que haya ocurrido cualquier operación btree en el inodo DAT, i_assoc_inode es NULL, lo que lleva a un fallo de protección general. Esto se soluciona llamando a nilfs_attach_btree_node_cache() en el inodo DAT en nilfs_dat_read() en el momento del montaje, asegurando que i_assoc_inode siempre esté inicializado antes de que cualquier operación de GC pueda usarlo.

01 Jun 2026, 17:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/6637bbcfb59df5b732a79e5ab1a74886a0b93d59 -
  • () https://git.kernel.org/stable/c/7902b1df1520a0880bcda7a3704cfacd17905a83 -
  • () https://git.kernel.org/stable/c/837c7a59fb58f81b0db33848357f6a5d0d1250ad -

27 Apr 2026, 20:41

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1 - () https://git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1 - Patch
References () https://git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363 - () https://git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363 - Patch
References () https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48 - () https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48 - Patch
References () https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8 - () https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8 - Patch
References () https://git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084 - () https://git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084 - Patch
References () https://git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e - () https://git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e - Patch
CWE CWE-476
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux

27 Apr 2026, 14:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8 -

27 Apr 2026, 12:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48 -

24 Apr 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-24 15:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-31577

Mitre link : CVE-2026-31577

CVE.ORG link : CVE-2026-31577


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference