VDB

CVE-2026-31577

CVE-2026-31577 PUBLISHED

nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map

Reported by linux · Published April 24, 2026

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.

EPSS 0.13% · 2.6th percentile

Risk scores

EPSS Score
0.13%
2.6th percentile

Affected products

VendorProductVersions
LinuxLinuxd626fcdabea2258be395a775bdbe09270e9bf73d, d05cc5395e36711edad8bdef6945f138d8a7097b, e897be17a441fa637cd166fc3de1445131e57692
LinuxLinux5.18, 0, 5.10.258
chainguardlinux-azure-6.180
chainguardlinux-gcp-6.120
LinuxLinux7.1, 6.19.14, 7.0.1
chainguardlinux-qemu-6.120
chainguardlinux-aws-6.120
chainguardlinux-gcp-6.180
chainguardlinux-qemu-6.180
chainguardlinux-aws-6.180
chainguardlinux-vmware-6.120
linuxlinux_kernel5.18, 5.18, 5.17.10
chainguardlinux-vmware-6.180

Timeline

  • Apr 24, 2026 CVE Published
  • Apr 24, 2026 Security Advisory (102 in total, the first dated here)
  • May 18, 2026 EPSS Score (25 in total, the first dated here)
  • Jun 14, 2026 CVE Updated
  • Jul 18, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (97 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31577
vulnetix vdb fixes CVE-2026-31577

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31577/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›