CVE-2026-31577
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
13- osv-coords11 versionspkg:apk/chainguard/linux-aws-6.12pkg:apk/chainguard/linux-aws-6.18pkg:apk/chainguard/linux-azure-6.18pkg:apk/chainguard/linux-gcp-6.12pkg:apk/chainguard/linux-gcp-6.18pkg:apk/chainguard/linux-qemu-6.12pkg:apk/chainguard/linux-qemu-6.18pkg:apk/chainguard/linux-qemu-6.18-bootc-boot-installedpkg:apk/chainguard/linux-vmware-6.12pkg:apk/chainguard/linux-vmware-6.18pkg:rpm/opensuse/kernel-source&distro=openSUSE%20Tumbleweed
< 6.12.85-r0+ 10 more
- (no CPE)range: < 6.12.85-r0
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.12.85-r0
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.12.85-r0
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.12.85-r0
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 7.0.3-1.1
Patches
Vulnerability mechanics
References
9- git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1nvdPatch
- git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363nvdPatch
- git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48nvdPatch
- git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8nvdPatch
- git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084nvdPatch
- git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079envdPatch
- git.kernel.org/stable/c/6637bbcfb59df5b732a79e5ab1a74886a0b93d59nvd
- git.kernel.org/stable/c/7902b1df1520a0880bcda7a3704cfacd17905a83nvd
- git.kernel.org/stable/c/837c7a59fb58f81b0db33848357f6a5d0d1250adnvd
News mentions
0No linked articles in our index yet.