CVE-2026-31577nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map
- 5.5MediumCVSS base score
- 0.13%Exploitation in 30 daysEPSS · top 98% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 46 days later
· 46 days later
Published
- 51 days later
· 51 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.13% · top 98% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected d626fcdabea2258be395a775bdbe09270e9bf73d – < 6637bbcfb59df5b732a79e5ab1a74886a0b93d59
- affected d05cc5395e36711edad8bdef6945f138d8a7097b – < 837c7a59fb58f81b0db33848357f6a5d0d1250ad
- affected e897be17a441fa637cd166fc3de1445131e57692 – < 7902b1df1520a0880bcda7a3704cfacd17905a83
- affected e897be17a441fa637cd166fc3de1445131e57692 – < 7318e3549518ce8f14776a489d86488d80d7e2c8
- affected e897be17a441fa637cd166fc3de1445131e57692 – < 449ec5fc99f45974525ba9eea16b6670c45cd363
- affected e897be17a441fa637cd166fc3de1445131e57692 – < c36e206f302f1ddefed92d09ecbba070e1ae079e
- affected e897be17a441fa637cd166fc3de1445131e57692 – < 41de342278ae025c99cc8d33648773f05e306cf1
- affected e897be17a441fa637cd166fc3de1445131e57692 – < 97fb7afec404912d967a7d4715f37742666b3084
- affected e897be17a441fa637cd166fc3de1445131e57692 – < 4a4e0328edd9e9755843787d28f16dd4165f8b48
- affected 6c3da8c0a35bbafe359d9166269d5590f29664de
- affected 605babb979c213737618b1c837e89624e5ab11fd
- affected 307d021b1a7f33048b624f7aaeaa75e3eae571f1
- affected 1829b24a36ca12ca95b96d5478faeff40c17f2b6
- affected 5.10.118 – < 5.10.258
- affected 5.15.42 – < 5.15.209
- affected 4.14.296 – < 4.15
- affected 4.19.245 – < 4.20
- affected 5.4.196 – < 5.5
- affected 5.17.10 – < 5.18
- affected 5.18
- unaffected < 5.18
- unaffected 5.10.258 – ≤ 5.10.*
- unaffected 5.15.209 – ≤ 5.15.*
- unaffected 6.1.175 – ≤ 6.1.*
- unaffected 6.6.136 – ≤ 6.6.*
- unaffected 6.12.83 – ≤ 6.12.*
- unaffected 6.18.24 – ≤ 6.18.*
- unaffected 6.19.14 – ≤ 6.19.*
- unaffected 7.0.1 – ≤ 7.0.*
- unaffected 7.1 – ≤ *
References
References9
- https://git.kernel.org/stable/c/6637bbcfb59df5b732a79e5ab1a74886a0b93d59 (opens in a new tab)
- https://git.kernel.org/stable/c/837c7a59fb58f81b0db33848357f6a5d0d1250ad (opens in a new tab)
- https://git.kernel.org/stable/c/7902b1df1520a0880bcda7a3704cfacd17905a83 (opens in a new tab)
- https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8 (opens in a new tab)
- https://git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363 (opens in a new tab)
- https://git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e (opens in a new tab)
- https://git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1 (opens in a new tab)
- https://git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084 (opens in a new tab)
- https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-25470 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-31577)Record last updated .