CVE-2026-98821 (GCVE-0-2026-98821)
Vulnerability from cvelistv5
Published
2026-10-18 15:49
Modified
2026-10-19 09:26
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: block: reject polled dio with user integrity metadata IOCB_HAS_METADATA leaves iocb->private as a uio_meta, while iocb_bio_iopoll() expects a bio. Since 2729a60bbfb9, metadata I/O always uses __blkdev_direct_IO(), which never publishes the bio for polling, so IOPOLL calls bio_poll() on the uio_meta. Reproducer: io_uring IOPOLL plus a PI attribute on an integrity device (scsi_debug dif=1 dix=1). KASAN reports: Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004 KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] RIP: 0010:bio_poll+0x9d/0x4b0 Call Trace: iocb_bio_iopoll+0x5b/0x80 io_uring_classic_poll+0xf3/0x140 io_do_iopoll+0x4e3/0xc00 io_iopoll_check+0x275/0x560 __do_sys_io_uring_enter+0x2e5/0x720 Return -EOPNOTSUPP when HIPRI is combined with user metadata.
Impacted products
Vendor Product Version
Linux Linux Version: 2729a60bbfb9215997f25372ebe9b7964f038296
Version: 2729a60bbfb9215997f25372ebe9b7964f038296
Version: 2729a60bbfb9215997f25372ebe9b7964f038296
Version: 17ecefc9fdd8c554e0d03e5a990daef19f930add
Version: 6.16.8   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/fops.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c97ef13ad96be0e08af38dfa2ed40cded0b53e1b",
              "status": "affected",
              "version": "2729a60bbfb9215997f25372ebe9b7964f038296",
              "versionType": "git"
            },
            {
              "lessThan": "dd33c03cefccdfcb223e9e6262643d64f8c1ae20",
              "status": "affected",
              "version": "2729a60bbfb9215997f25372ebe9b7964f038296",
              "versionType": "git"
            },
            {
              "lessThan": "2a42e6fe1293f2e2d579c9fe5bbab056dd8b880e",
              "status": "affected",
              "version": "2729a60bbfb9215997f25372ebe9b7964f038296",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "17ecefc9fdd8c554e0d03e5a990daef19f930add",
              "versionType": "git"
            },
            {
              "lessThan": "6.17",
              "status": "affected",
              "version": "6.16.8",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "block/fops.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.17"
            },
            {
              "lessThan": "6.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.10",
              "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": "6.18.56",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.16.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock: reject polled dio with user integrity metadata\n\nIOCB_HAS_METADATA leaves iocb-\u003eprivate as a uio_meta, while\niocb_bio_iopoll() expects a bio. Since 2729a60bbfb9, metadata I/O\nalways uses __blkdev_direct_IO(), which never publishes the bio for\npolling, so IOPOLL calls bio_poll() on the uio_meta.\n\nReproducer: io_uring IOPOLL plus a PI attribute on an integrity device\n(scsi_debug dif=1 dix=1). KASAN reports:\n\n  Oops: general protection fault, probably for non-canonical\n  address 0xdffffc0000000004\n  KASAN: null-ptr-deref in range\n  [0x0000000000000020-0x0000000000000027]\n  RIP: 0010:bio_poll+0x9d/0x4b0\n  Call Trace:\n   iocb_bio_iopoll+0x5b/0x80\n   io_uring_classic_poll+0xf3/0x140\n   io_do_iopoll+0x4e3/0xc00\n   io_iopoll_check+0x275/0x560\n   __do_sys_io_uring_enter+0x2e5/0x720\n\nReturn -EOPNOTSUPP when HIPRI is combined with user metadata."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:26:14.186Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c97ef13ad96be0e08af38dfa2ed40cded0b53e1b"
        },
        {
          "url": "https://git.kernel.org/stable/c/dd33c03cefccdfcb223e9e6262643d64f8c1ae20"
        },
        {
          "url": "https://git.kernel.org/stable/c/2a42e6fe1293f2e2d579c9fe5bbab056dd8b880e"
        }
      ],
      "title": "block: reject polled dio with user integrity metadata",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98821",
    "datePublished": "2026-10-18T15:49:13.154Z",
    "dateReserved": "2026-09-25T10:25:14.372Z",
    "dateUpdated": "2026-10-19T09:26:14.186Z",
    "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…