CVE-2026-31577

MEDIUM EPSS 2.6%
Published Apr 24, 20262mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Apr 24, 2026 2mo ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
2.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 5

VendorProductVersionRange
linuxlinux_kernel* <6.6.136
linuxlinux_kernel*≥6.7  –  <6.12.83
linuxlinux_kernel*≥6.13  –  <6.18.24
linuxlinux_kernel*≥6.19  –  <6.19.14
linuxlinux_kernel*≥7.0  –  <7.0.1

References 9

  • git.kernel.org https://git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/6637bbcfb59df5b732a79e5ab1a74886a0b93d59
  • git.kernel.org https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7902b1df1520a0880bcda7a3704cfacd17905a83
  • git.kernel.org https://git.kernel.org/stable/c/837c7a59fb58f81b0db33848357f6a5d0d1250ad
  • git.kernel.org https://git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e
    Patch