{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31577","id":"CVE-2026-31577","title":"nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map\n\nThe DAT inode's btree node cache (i_assoc_inode) is initialized lazily\nduring btree operations. However, nilfs_mdt_save_to_shadow_map()\nassumes i_assoc_inode is already initialized when copying dirty pages\nto the shadow map during GC.\n\nIf NILFS_IOCTL_CLEA","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map\n\nThe DAT inode's btree node cache (i_assoc_inode) is initialized lazily\nduring btree operations. However, nilfs_mdt_save_to_shadow_map()\nassumes i_assoc_inode is already initialized when copying dirty pages\nto the shadow map during GC.\n\nIf NILFS_IOCTL_CLEAN_SEGMENTS is called immediately after mount before\nany btree operation has occurred on the DAT inode, i_assoc_inode is\nNULL leading to a general protection fault.\n\nFix this by calling nilfs_attach_btree_node_cache() on the DAT inode\nin nilfs_dat_read() at mount time, ensuring i_assoc_inode is always\ninitialized before any GC operation can use it.","published":"2026-04-24T14:42:08.879Z","updated":"2026-11-17T07:02:37.583773391Z","reserved":"2026-03-09T15:48:24.119Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d626fcdabea2258be395a775bdbe09270e9bf73d","lessThan":"6637bbcfb59df5b732a79e5ab1a74886a0b93d59","status":"affected","versionType":"git"},{"version":"d05cc5395e36711edad8bdef6945f138d8a7097b","lessThan":"837c7a59fb58f81b0db33848357f6a5d0d1250ad","status":"affected","versionType":"git"},{"version":"e897be17a441fa637cd166fc3de1445131e57692","lessThan":"7902b1df1520a0880bcda7a3704cfacd17905a83","status":"affected","versionType":"git"},{"version":"e897be17a441fa637cd166fc3de1445131e57692","lessThan":"7318e3549518ce8f14776a489d86488d80d7e2c8","status":"affected","versionType":"git"},{"version":"e897be17a441fa637cd166fc3de1445131e57692","lessThan":"449ec5fc99f45974525ba9eea16b6670c45cd363","status":"affected","versionType":"git"},{"version":"e897be17a441fa637cd166fc3de1445131e57692","lessThan":"c36e206f302f1ddefed92d09ecbba070e1ae079e","status":"affected","versionType":"git"},{"version":"e897be17a441fa637cd166fc3de1445131e57692","lessThan":"41de342278ae025c99cc8d33648773f05e306cf1","status":"affected","versionType":"git"},{"version":"e897be17a441fa637cd166fc3de1445131e57692","lessThan":"97fb7afec404912d967a7d4715f37742666b3084","status":"affected","versionType":"git"},{"version":"e897be17a441fa637cd166fc3de1445131e57692","lessThan":"4a4e0328edd9e9755843787d28f16dd4165f8b48","status":"affected","versionType":"git"},{"version":"6c3da8c0a35bbafe359d9166269d5590f29664de","status":"affected","versionType":"git"},{"version":"605babb979c213737618b1c837e89624e5ab11fd","status":"affected","versionType":"git"},{"version":"307d021b1a7f33048b624f7aaeaa75e3eae571f1","status":"affected","versionType":"git"},{"version":"1829b24a36ca12ca95b96d5478faeff40c17f2b6","status":"affected","versionType":"git"},{"version":"5.10.118","lessThan":"5.10.258","status":"affected","versionType":"semver"},{"version":"5.15.42","lessThan":"5.15.209","status":"affected","versionType":"semver"},{"version":"4.14.296","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.245","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.196","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.17.10","lessThan":"5.18","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"5.10.258","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.175","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.136","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.83","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.24","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.14","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0.1","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6637bbcfb59df5b732a79e5ab1a74886a0b93d59","tags":["web"]},{"url":"https://git.kernel.org/stable/c/837c7a59fb58f81b0db33848357f6a5d0d1250ad","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7902b1df1520a0880bcda7a3704cfacd17905a83","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31577.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31577","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00125,"epssPercentile":0.02291,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31577","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31577","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31577","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31577","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}