CVE-2026-31577
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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d626fcdabea2258be395a775bdbe09270e9bf73d, d05cc5395e36711edad8bdef6945f138d8a7097b, e897be17a441fa637cd166fc3de1445131e57692 |
| Linux | Linux | 5.18, 0, 5.10.258 |
| chainguard | linux-azure-6.18 | 0 |
| chainguard | linux-gcp-6.12 | 0 |
| Linux | Linux | 7.1, 6.19.14, 7.0.1 |
| chainguard | linux-qemu-6.12 | 0 |
| chainguard | linux-aws-6.12 | 0 |
| chainguard | linux-gcp-6.18 | 0 |
| chainguard | linux-qemu-6.18 | 0 |
| chainguard | linux-aws-6.18 | 0 |
| chainguard | linux-vmware-6.12 | 0 |
| linux | linux_kernel | 5.18, 5.18, 5.17.10 |
| chainguard | linux-vmware-6.18 | 0 |
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