# CVE-2026-98821: block: reject polled dio with user integrity metadata

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-18T15:49:13.154Z
- Modified: 2026-10-19T10:19:46.173Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2729a60bbfb9215997f25372ebe9b7964f038296 before c97ef13ad96be0e08af38dfa2ed40cded0b53e1b; from 2729a60bbfb9215997f25372ebe9b7964f038296 before dd33c03cefccdfcb223e9e6262643d64f8c1ae20; from 2729a60bbfb9215997f25372ebe9b7964f038296 before 2a42e6fe1293f2e2d579c9fe5bbab056dd8b880e; 17ecefc9fdd8c554e0d03e5a990daef19f930add; from 6.16.8 before 6.17; 6.17 (not affected: before 6.17; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c97ef13ad96be0e08af38dfa2ed40cded0b53e1b>
- <https://git.kernel.org/stable/c/dd33c03cefccdfcb223e9e6262643d64f8c1ae20>
- <https://git.kernel.org/stable/c/2a42e6fe1293f2e2d579c9fe5bbab056dd8b880e>

## Sources

- CVE List: [CVE-2026-98821](https://www.cve.org/CVERecord?id=CVE-2026-98821), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98821](https://nvd.nist.gov/vuln/detail/CVE-2026-98821), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98821 · Whole record: https://cve.day/CVE-2026-98821.json · Rebuilt by cve.day 2026-11-25T22:59:45.314Z
