Skip to main content

In the Linux kernel, the following vulnerability has been resolved: block: reject polled dio with user integrity metadata IOCB_HAS_METADATA leaves… (CVE-2026-98821)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:04 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel related to block device polled direct I/O (DIO) with user integrity metadata has been resolved. The issue arises because IOCB_HAS_METADATA leaves iocb->private as a uio_meta, but iocb_bio_iopoll() expects a bio, causing a mismatch. This leads to a general protection fault and kernel crash when io_uring IOPOLL is used with a PI attribute on an integrity device. The fix involves rejecting polled DIO with user metadata and returning -EOPNOTSUPP when HIPRI is combined with user metadata.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:20:29 UTC

Technical Analysis

The Linux kernel vulnerability (CVE-2026-98821) involves a mismatch in the handling of polled direct I/O (DIO) operations with user integrity metadata. Specifically, IOCB_HAS_METADATA leaves the iocb->private pointer as a uio_meta structure, whereas the iocb_bio_iopoll() function expects a bio pointer. Since metadata I/O always uses __blkdev_direct_IO(), which does not publish the bio for polling, the IOPOLL mechanism calls bio_poll() on a uio_meta pointer, leading to a general protection fault and kernel crash. This can be reproduced using io_uring IOPOLL combined with a PI attribute on an integrity device (e.g., scsi_debug with dif=1 dix=1). The kernel's KASAN detects a null pointer dereference in this scenario. The resolution is to reject polled DIO with user integrity metadata and return an error (-EOPNOTSUPP) when HIPRI is combined with user metadata.

Potential Impact

The vulnerability causes a kernel crash (general protection fault) due to a null pointer dereference when polled direct I/O with user integrity metadata is used improperly. This can lead to denial of service on affected systems using io_uring with integrity devices configured with PI attributes. There is no indication of code execution or privilege escalation from the provided data.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to reject polled direct I/O operations with user integrity metadata. Systems should apply the official kernel update that includes this fix. Until patched, avoid using polled DIO with user metadata and HIPRI combinations on integrity devices. Patch status is not explicitly stated in the input data; check the vendor advisory for the current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-4mqf-mrhr-h3rh
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98821"]

Threat ID: 6ad520aa2cdf04f6569938cf

Added to database: 10/18/2026, 19:40:26 UTC

Last enriched: 10/18/2026, 22:20:29 UTC

Last updated: 10/18/2026, 22:20:29 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses