{"id":"CVE-2026-98821","aliases":["CVE-2026-98821"],"related":[],"kind":"vulnerability","state":"published","title":"block: reject polled dio with user integrity metadata","summary":"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->private 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->private 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.","source":"cvelist"}],"published":"2026-10-18T15:49:13.154Z","modified":"2026-10-19T10:19:46.173Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2729a60bbfb9215997f25372ebe9b7964f038296","fixed":"c97ef13ad96be0e08af38dfa2ed40cded0b53e1b","status":"affected"},{"type":"git","introduced":"2729a60bbfb9215997f25372ebe9b7964f038296","fixed":"dd33c03cefccdfcb223e9e6262643d64f8c1ae20","status":"affected"},{"type":"git","introduced":"2729a60bbfb9215997f25372ebe9b7964f038296","fixed":"2a42e6fe1293f2e2d579c9fe5bbab056dd8b880e","status":"affected"},{"type":"git","version":"17ecefc9fdd8c554e0d03e5a990daef19f930add","status":"affected"},{"type":"semver","introduced":"6.16.8","fixed":"6.17","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c97ef13ad96be0e08af38dfa2ed40cded0b53e1b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd33c03cefccdfcb223e9e6262643d64f8c1ae20","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a42e6fe1293f2e2d579c9fe5bbab056dd8b880e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98821","url":"https://www.cve.org/CVERecord?id=CVE-2026-98821","licence":"CVE Terms of Use","modified":"2026-10-19T09:26:14.186Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98821","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98821","licence":"Public domain","modified":"2026-10-19T10:19:46.173Z"}],"updatedAt":"2026-11-25T22:59:45.314Z","epss":{"score":0.00166,"percentile":0.06143,"date":"2026-12-01T12:00:22.000Z"}}