CVE-2026-80807 (GCVE-0-2026-80807)
Vulnerability from cvelistv5
Published
2026-09-04 15:13
Modified
2026-10-19 08:44
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: nilfs2: reject invalid block index in GC ioctl Syzbot reported list corruption caused by a double list_add_tail() call on bh->b_assoc_buffers within nilfs_lookup_dirty_data_buffers(). Analysis revealed that the root cause was the insertion of a page/folio with a page index of ULONG_MAX into the page cache via the GC ioctl. filemap_get_folios_tag(), called by nilfs_lookup_dirty_data_buffers(), repeatedly detects a dirty folio with a page index of ULONG_MAX due to index wrap-around, leading to duplicate processing of dirty buffers. As a preparatory step, the GC ioctl loads the page/folio of the block to be moved during GC and inserts it into the page cache based on information in the nilfs_vdesc structure passed as an argument. Normally, this does not cause issues because the user-space GC library configures the nilfs_vdesc structure properly. However, since there is no range check on the parameters determining the page index, a request with artificially crafted parameters -- such as those generated by Syzbot -- can result in a page/folio being inserted with a page index of ULONG_MAX, triggering the above problem. This resolves the issue by checking the ranges of 'vd_offset' and 'vd_vblocknr' in the nilfs_vdesc structure that determine the page index, thereby preventing the invalid page/folio insertions.
Impacted products
Vendor Product Version
Linux Linux Version: 7942b919f7321f95a777d396ff7894a7a83dc9b0
Version: 7942b919f7321f95a777d396ff7894a7a83dc9b0
Version: 7942b919f7321f95a777d396ff7894a7a83dc9b0
Version: 7942b919f7321f95a777d396ff7894a7a83dc9b0
Version: 7942b919f7321f95a777d396ff7894a7a83dc9b0
Version: 7942b919f7321f95a777d396ff7894a7a83dc9b0
Version: 7942b919f7321f95a777d396ff7894a7a83dc9b0
Version: 7942b919f7321f95a777d396ff7894a7a83dc9b0
Version: 7942b919f7321f95a777d396ff7894a7a83dc9b0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nilfs2/ioctl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "898404cdf882d7b54f1132f75570984ca3214796",
              "status": "affected",
              "version": "7942b919f7321f95a777d396ff7894a7a83dc9b0",
              "versionType": "git"
            },
            {
              "lessThan": "ba8a8b563a28d358c45c62a306d421434a058648",
              "status": "affected",
              "version": "7942b919f7321f95a777d396ff7894a7a83dc9b0",
              "versionType": "git"
            },
            {
              "lessThan": "3bd064ccc70b85f9a3d53aece29dc8473be5a226",
              "status": "affected",
              "version": "7942b919f7321f95a777d396ff7894a7a83dc9b0",
              "versionType": "git"
            },
            {
              "lessThan": "a5e776e2937581d67ec5b9b4d27b0f70d7baa6b1",
              "status": "affected",
              "version": "7942b919f7321f95a777d396ff7894a7a83dc9b0",
              "versionType": "git"
            },
            {
              "lessThan": "68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44",
              "status": "affected",
              "version": "7942b919f7321f95a777d396ff7894a7a83dc9b0",
              "versionType": "git"
            },
            {
              "lessThan": "e447f7edb99bd00cec63d6f3049e2e5074946f71",
              "status": "affected",
              "version": "7942b919f7321f95a777d396ff7894a7a83dc9b0",
              "versionType": "git"
            },
            {
              "lessThan": "ec6ddf271dfa4c7e3147bc2c8b2bad4315f316a1",
              "status": "affected",
              "version": "7942b919f7321f95a777d396ff7894a7a83dc9b0",
              "versionType": "git"
            },
            {
              "lessThan": "fbcfb75c20d71a5b542ad4ac3b79d10b997c8152",
              "status": "affected",
              "version": "7942b919f7321f95a777d396ff7894a7a83dc9b0",
              "versionType": "git"
            },
            {
              "lessThan": "a1735eae55448bc79c2da6593455791e886f6ed8",
              "status": "affected",
              "version": "7942b919f7321f95a777d396ff7894a7a83dc9b0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nilfs2/ioctl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.30"
            },
            {
              "lessThan": "2.6.30",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.269",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.220",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.187",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.156",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.108",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.47",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.269",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.220",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.187",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.156",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.108",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.47",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.11",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.1",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: reject invalid block index in GC ioctl\n\nSyzbot reported list corruption caused by a double list_add_tail() call on\nbh-\u003eb_assoc_buffers within nilfs_lookup_dirty_data_buffers().\n\nAnalysis revealed that the root cause was the insertion of a page/folio\nwith a page index of ULONG_MAX into the page cache via the GC ioctl.\nfilemap_get_folios_tag(), called by nilfs_lookup_dirty_data_buffers(),\nrepeatedly detects a dirty folio with a page index of ULONG_MAX due to\nindex wrap-around, leading to duplicate processing of dirty buffers.\n\nAs a preparatory step, the GC ioctl loads the page/folio of the block to\nbe moved during GC and inserts it into the page cache based on information\nin the nilfs_vdesc structure passed as an argument.  Normally, this does\nnot cause issues because the user-space GC library configures the\nnilfs_vdesc structure properly.  However, since there is no range check on\nthe parameters determining the page index, a request with artificially\ncrafted parameters -- such as those generated by Syzbot -- can result in a\npage/folio being inserted with a page index of ULONG_MAX, triggering the\nabove problem.\n\nThis resolves the issue by checking the ranges of \u0027vd_offset\u0027 and\n\u0027vd_vblocknr\u0027 in the nilfs_vdesc structure that determine the page index,\nthereby preventing the invalid page/folio insertions."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:44:00.360Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/898404cdf882d7b54f1132f75570984ca3214796"
        },
        {
          "url": "https://git.kernel.org/stable/c/ba8a8b563a28d358c45c62a306d421434a058648"
        },
        {
          "url": "https://git.kernel.org/stable/c/3bd064ccc70b85f9a3d53aece29dc8473be5a226"
        },
        {
          "url": "https://git.kernel.org/stable/c/a5e776e2937581d67ec5b9b4d27b0f70d7baa6b1"
        },
        {
          "url": "https://git.kernel.org/stable/c/68aa9ab6f8f2895713aa6ddf781463ed8ea5ba44"
        },
        {
          "url": "https://git.kernel.org/stable/c/e447f7edb99bd00cec63d6f3049e2e5074946f71"
        },
        {
          "url": "https://git.kernel.org/stable/c/ec6ddf271dfa4c7e3147bc2c8b2bad4315f316a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/fbcfb75c20d71a5b542ad4ac3b79d10b997c8152"
        },
        {
          "url": "https://git.kernel.org/stable/c/a1735eae55448bc79c2da6593455791e886f6ed8"
        }
      ],
      "title": "nilfs2: reject invalid block index in GC ioctl",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80807",
    "datePublished": "2026-09-04T15:13:23.605Z",
    "dateReserved": "2026-08-26T14:34:25.794Z",
    "dateUpdated": "2026-10-19T08:44:00.360Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…