CVE-2026-31577: Linux kernel · nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 12 Nov 2026, 03:33 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Thin evidence
One scorer or noneExploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux | Affected
| Fixed in– |
AI-suggested
A fix is available that initializes the btree node cache at mount time, preventing the NULL dereference. Users should upgrade to versions where this fix is applied. The affected versions listed are =4.14.296, =4.19.245, =5.4.196, =5.10.118, =5.15.42, and =5.17.10. No further mitigation steps are indicated.
Description
A NULL pointer dereference vulnerability exists in the Linux kernel's nilfs2 filesystem code. The issue occurs because the DAT inode's btree node cache (i_assoc_inode) is lazily initialized but assumed to be initialized during garbage collection operations. If the NILFS_IOCTL_CLEAN_SEGMENTS ioctl is called immediately after mounting before any btree operation, a NULL dereference leads to a general protection fault. The flaw is fixed by initializing the btree node cache at mount time.
References
- git.kernel.org/stable/c/6637bbcfb59df5b732a79e5ab1a74886a0b93d59 (opens in a new tab)
- git.kernel.org/stable/c/837c7a59fb58f81b0db33848357f6a5d0d1250ad (opens in a new tab)
- git.kernel.org/stable/c/7902b1df1520a0880bcda7a3704cfacd17905a83 (opens in a new tab)
- git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8 (opens in a new tab)
- git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363 (opens in a new tab)
- git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e (opens in a new tab)
- git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1 (opens in a new tab)
- git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084 (opens in a new tab)
- git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48 (opens in a new tab)