CVE-2026-46274

In the Linux kernel, the following vulnerability has been resolved: io-wq: check that the predecessor is hashed in io_wq_remove_pending() io_wq_remove_pending() needs to fix up wq->hash_tail[] if the cancelled work was the tail of its hash bucket. When doing this, it checks whether the preceding entry in acct->work_list has the same hash value, but never checks that the predecessor is hashed at all. io_get_work_hash() is simply atomic_read(&work->flags) >> IO_WQ_HASH_SHIFT, and the hash bits are never set for non-hashed work, so it returns 0. Thus, when a hashed bucket-0 work is cancelled while a non-hashed work is its list predecessor, the check spuriously passes and a pointer to the non-hashed io_kiocb is stored in wq->hash_tail[0]. Because non-hashed work is dequeued via the fast path in io_get_next_work(), which never touches hash_tail[], the stale pointer is never cleared. Therefore, after the non-hashed io_kiocb completes and is freed back to req_cachep, wq->hash_tail[0] is a dangling pointer. The io_wq is per-task (tctx->io_wq) and survives ring open/close, so the dangling pointer persists for the lifetime of the task; the next hashed bucket-0 enqueue dereferences it in io_wq_insert_work() and wq_list_add_after() writes through freed memory. Add the missing io_wq_is_hashed() check so a non-hashed predecessor never inherits a hash_tail[] slot.

Package Linux Kernel
Published 2026-06-08
Last modified 2026-06-08
Patch available
Yes

Affected versions

Linux kernel versions 5.8.6, 5.9 and later are affected. Fixed in 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1-rc4 and their respective stable series.

Affected from
≥ 5.8.6 ≥ 5.9
Fixed in
✓ 6.6.141 6.6.x ✓ 6.12.91 6.12.x ✓ 6.18.33 6.18.x ✓ 7.0.10 7.0.x ✓ 7.1-rc4

References

The following references provide additional information about CVE-2026-46274 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2026-46274?

    CVE-2026-46274 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.8.6 onward and has been patched in 6.6.141, 6.12.91, 6.18.33 and others. CVE-2026-46274 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-46274?

    Yes — CVE-2026-46274 has been patched. Fixed versions include 6.6.141, 6.12.91, 6.18.33 and others. If you are running Linux kernel 5.8.6 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-46274 actively exploited?

    No — CVE-2026-46274 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.