CVE-2026-31577 (GCVE-0-2026-31577)

Vulnerability from cvelistv5 – Published: 2026-04-24 14:42 – Updated: 2026-06-14 17:42
VLAI
Title
nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Affected: d626fcdabea2258be395a775bdbe09270e9bf73d , < 6637bbcfb59df5b732a79e5ab1a74886a0b93d59 (git)
Affected: d05cc5395e36711edad8bdef6945f138d8a7097b , < 837c7a59fb58f81b0db33848357f6a5d0d1250ad (git)
Affected: e897be17a441fa637cd166fc3de1445131e57692 , < 7902b1df1520a0880bcda7a3704cfacd17905a83 (git)
Affected: e897be17a441fa637cd166fc3de1445131e57692 , < 7318e3549518ce8f14776a489d86488d80d7e2c8 (git)
Affected: e897be17a441fa637cd166fc3de1445131e57692 , < 449ec5fc99f45974525ba9eea16b6670c45cd363 (git)
Affected: e897be17a441fa637cd166fc3de1445131e57692 , < c36e206f302f1ddefed92d09ecbba070e1ae079e (git)
Affected: e897be17a441fa637cd166fc3de1445131e57692 , < 41de342278ae025c99cc8d33648773f05e306cf1 (git)
Affected: e897be17a441fa637cd166fc3de1445131e57692 , < 97fb7afec404912d967a7d4715f37742666b3084 (git)
Affected: e897be17a441fa637cd166fc3de1445131e57692 , < 4a4e0328edd9e9755843787d28f16dd4165f8b48 (git)
Affected: 6c3da8c0a35bbafe359d9166269d5590f29664de (git)
Affected: 605babb979c213737618b1c837e89624e5ab11fd (git)
Affected: 307d021b1a7f33048b624f7aaeaa75e3eae571f1 (git)
Affected: 1829b24a36ca12ca95b96d5478faeff40c17f2b6 (git)
Affected: 5.10.118 , < 5.10.258 (semver)
Affected: 5.15.42 , < 5.15.209 (semver)
Affected: 4.14.296 , < 4.15 (semver)
Affected: 4.19.245 , < 4.20 (semver)
Affected: 5.4.196 , < 5.5 (semver)
Affected: 5.17.10 , < 5.18 (semver)
Create a notification for this product.
Linux Linux Affected: 5.18
Unaffected: 0 , < 5.18 (semver)
Unaffected: 5.10.258 , ≤ 5.10.* (semver)
Unaffected: 5.15.209 , ≤ 5.15.* (semver)
Unaffected: 6.1.175 , ≤ 6.1.* (semver)
Unaffected: 6.6.136 , ≤ 6.6.* (semver)
Unaffected: 6.12.83 , ≤ 6.12.* (semver)
Unaffected: 6.18.24 , ≤ 6.18.* (semver)
Unaffected: 6.19.14 , ≤ 6.19.* (semver)
Unaffected: 7.0.1 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nilfs2/dat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6637bbcfb59df5b732a79e5ab1a74886a0b93d59",
              "status": "affected",
              "version": "d626fcdabea2258be395a775bdbe09270e9bf73d",
              "versionType": "git"
            },
            {
              "lessThan": "837c7a59fb58f81b0db33848357f6a5d0d1250ad",
              "status": "affected",
              "version": "d05cc5395e36711edad8bdef6945f138d8a7097b",
              "versionType": "git"
            },
            {
              "lessThan": "7902b1df1520a0880bcda7a3704cfacd17905a83",
              "status": "affected",
              "version": "e897be17a441fa637cd166fc3de1445131e57692",
              "versionType": "git"
            },
            {
              "lessThan": "7318e3549518ce8f14776a489d86488d80d7e2c8",
              "status": "affected",
              "version": "e897be17a441fa637cd166fc3de1445131e57692",
              "versionType": "git"
            },
            {
              "lessThan": "449ec5fc99f45974525ba9eea16b6670c45cd363",
              "status": "affected",
              "version": "e897be17a441fa637cd166fc3de1445131e57692",
              "versionType": "git"
            },
            {
              "lessThan": "c36e206f302f1ddefed92d09ecbba070e1ae079e",
              "status": "affected",
              "version": "e897be17a441fa637cd166fc3de1445131e57692",
              "versionType": "git"
            },
            {
              "lessThan": "41de342278ae025c99cc8d33648773f05e306cf1",
              "status": "affected",
              "version": "e897be17a441fa637cd166fc3de1445131e57692",
              "versionType": "git"
            },
            {
              "lessThan": "97fb7afec404912d967a7d4715f37742666b3084",
              "status": "affected",
              "version": "e897be17a441fa637cd166fc3de1445131e57692",
              "versionType": "git"
            },
            {
              "lessThan": "4a4e0328edd9e9755843787d28f16dd4165f8b48",
              "status": "affected",
              "version": "e897be17a441fa637cd166fc3de1445131e57692",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "6c3da8c0a35bbafe359d9166269d5590f29664de",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "605babb979c213737618b1c837e89624e5ab11fd",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "307d021b1a7f33048b624f7aaeaa75e3eae571f1",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "1829b24a36ca12ca95b96d5478faeff40c17f2b6",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.258",
              "status": "affected",
              "version": "5.10.118",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.209",
              "status": "affected",
              "version": "5.15.42",
              "versionType": "semver"
            },
            {
              "lessThan": "4.15",
              "status": "affected",
              "version": "4.14.296",
              "versionType": "semver"
            },
            {
              "lessThan": "4.20",
              "status": "affected",
              "version": "4.19.245",
              "versionType": "semver"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.196",
              "versionType": "semver"
            },
            {
              "lessThan": "5.18",
              "status": "affected",
              "version": "5.17.10",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nilfs2/dat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.18"
            },
            {
              "lessThan": "5.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.258",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.136",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.83",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.24",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.258",
                  "versionStartIncluding": "5.10.118",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "5.15.42",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.175",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.136",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.83",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.24",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.14",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.1",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.14.296",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.245",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.196",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.17.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-14T17:42:01.611Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6637bbcfb59df5b732a79e5ab1a74886a0b93d59"
        },
        {
          "url": "https://git.kernel.org/stable/c/837c7a59fb58f81b0db33848357f6a5d0d1250ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/7902b1df1520a0880bcda7a3704cfacd17905a83"
        },
        {
          "url": "https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8"
        },
        {
          "url": "https://git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363"
        },
        {
          "url": "https://git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e"
        },
        {
          "url": "https://git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1"
        },
        {
          "url": "https://git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084"
        },
        {
          "url": "https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48"
        }
      ],
      "title": "nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31577",
    "datePublished": "2026-04-24T14:42:08.879Z",
    "dateReserved": "2026-03-09T15:48:24.119Z",
    "dateUpdated": "2026-06-14T17:42:01.611Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-31577",
      "date": "2026-11-17",
      "epss": "0.00125",
      "percentile": "0.02272"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/nilfs2/dat.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "6637bbcfb59df5b732a79e5ab1a74886a0b93d59",
                    "status": "affected",
                    "version": "d626fcdabea2258be395a775bdbe09270e9bf73d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "837c7a59fb58f81b0db33848357f6a5d0d1250ad",
                    "status": "affected",
                    "version": "d05cc5395e36711edad8bdef6945f138d8a7097b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7902b1df1520a0880bcda7a3704cfacd17905a83",
                    "status": "affected",
                    "version": "e897be17a441fa637cd166fc3de1445131e57692",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7318e3549518ce8f14776a489d86488d80d7e2c8",
                    "status": "affected",
                    "version": "e897be17a441fa637cd166fc3de1445131e57692",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "449ec5fc99f45974525ba9eea16b6670c45cd363",
                    "status": "affected",
                    "version": "e897be17a441fa637cd166fc3de1445131e57692",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c36e206f302f1ddefed92d09ecbba070e1ae079e",
                    "status": "affected",
                    "version": "e897be17a441fa637cd166fc3de1445131e57692",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "41de342278ae025c99cc8d33648773f05e306cf1",
                    "status": "affected",
                    "version": "e897be17a441fa637cd166fc3de1445131e57692",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "97fb7afec404912d967a7d4715f37742666b3084",
                    "status": "affected",
                    "version": "e897be17a441fa637cd166fc3de1445131e57692",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4a4e0328edd9e9755843787d28f16dd4165f8b48",
                    "status": "affected",
                    "version": "e897be17a441fa637cd166fc3de1445131e57692",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "6c3da8c0a35bbafe359d9166269d5590f29664de",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "605babb979c213737618b1c837e89624e5ab11fd",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "307d021b1a7f33048b624f7aaeaa75e3eae571f1",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "1829b24a36ca12ca95b96d5478faeff40c17f2b6",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5.10.258",
                    "status": "affected",
                    "version": "5.10.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.15.209",
                    "status": "affected",
                    "version": "5.15.42",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "4.15",
                    "status": "affected",
                    "version": "4.14.296",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "4.20",
                    "status": "affected",
                    "version": "4.19.245",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.5",
                    "status": "affected",
                    "version": "5.4.196",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.18",
                    "status": "affected",
                    "version": "5.17.10",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/nilfs2/dat.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.18"
                  },
                  {
                    "lessThan": "5.18",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.258",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.209",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.175",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.136",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.83",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.24",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.19.*",
                    "status": "unaffected",
                    "version": "6.19.14",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.0.*",
                    "status": "unaffected",
                    "version": "7.0.1",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "14109CEF-714B-4029-A318-97AA58A01833",
                    "versionEndExcluding": "6.6.136",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7F0AE5B5-23AC-4DCC-B37A-51CA1DAE7BA8",
                    "versionEndExcluding": "6.12.83",
                    "versionStartIncluding": "6.7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8126B8B8-6D0B-4443-86C1-672AEE893555",
                    "versionEndExcluding": "6.18.24",
                    "versionStartIncluding": "6.13",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D6A8A074-BBF4-4803-ABED-519A839435BB",
                    "versionEndExcluding": "6.19.14",
                    "versionStartIncluding": "6.19",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9B5888AB-7403-4335-89E4-21CC0B48366A",
                    "versionEndExcluding": "7.0.1",
                    "versionStartIncluding": "7.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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\u0027s 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."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnilfs2: correcci\u00f3n de la desreferencia de i_assoc_inode NULL en nilfs_mdt_save_to_shadow_map\n\nLa cach\u00e9 de nodos btree del inodo DAT (i_assoc_inode) se inicializa de forma perezosa durante las operaciones btree. Sin embargo, nilfs_mdt_save_to_shadow_map() asume que i_assoc_inode ya est\u00e1 inicializado al copiar p\u00e1ginas sucias al mapa de sombra durante la GC.\n\nSi se llama a NILFS_IOCTL_CLEAN_SEGMENTS inmediatamente despu\u00e9s del montaje antes de que haya ocurrido cualquier operaci\u00f3n btree en el inodo DAT, i_assoc_inode es NULL, lo que lleva a un fallo de protecci\u00f3n general.\n\nEsto se soluciona llamando a nilfs_attach_btree_node_cache() en el inodo DAT en nilfs_dat_read() en el momento del montaje, asegurando que i_assoc_inode siempre est\u00e9 inicializado antes de que cualquier operaci\u00f3n de GC pueda usarlo."
          }
        ],
        "id": "CVE-2026-31577",
        "lastModified": "2026-11-11T23:10:00.263",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2026-04-24T15:16:32.347",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/41de342278ae025c99cc8d33648773f05e306cf1"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/449ec5fc99f45974525ba9eea16b6670c45cd363"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/4a4e0328edd9e9755843787d28f16dd4165f8b48"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6637bbcfb59df5b732a79e5ab1a74886a0b93d59"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/7318e3549518ce8f14776a489d86488d80d7e2c8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7902b1df1520a0880bcda7a3704cfacd17905a83"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/837c7a59fb58f81b0db33848357f6a5d0d1250ad"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/97fb7afec404912d967a7d4715f37742666b3084"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/c36e206f302f1ddefed92d09ecbba070e1ae079e"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-476"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-05T19:21:31+00:00",
      "cve": "CVE-2026-31577",
      "id": "CVE-2026-31577",
      "initial_release_date": "2026-04-24T00:00:00+00:00",
      "product_status:known_not_affected": "200",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31577.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…