CVE Database
/

CVE-2026-31577

Back to search

CVE-2026-31577

Published: Apr 24, 2026

Modified: Jun 1, 2026

PUBLISHED

Description

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.

VendorProductVersions

Linux

Linux

affected
d626fcdabea2258be395a775bdbe09270e9bf73d - < 6637bbcfb59df5b732a79e5ab1a74886a0b93d59
affected
d05cc5395e36711edad8bdef6945f138d8a7097b - < 837c7a59fb58f81b0db33848357f6a5d0d1250ad
affected
e897be17a441fa637cd166fc3de1445131e57692 - < 7902b1df1520a0880bcda7a3704cfacd17905a83
affected
e897be17a441fa637cd166fc3de1445131e57692 - < 7318e3549518ce8f14776a489d86488d80d7e2c8
affected
e897be17a441fa637cd166fc3de1445131e57692 - < 449ec5fc99f45974525ba9eea16b6670c45cd363

+14 more versions

Linux

Linux

affected
5.18
unaffected
0 - < 5.18
unaffected
5.10.258 - <= 5.10.*
unaffected
5.15.209 - <= 5.15.*
unaffected
6.1.175 - <= 6.1.*

+6 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now