CVE-2026-98858

io_uring: fix task_work add use-after-free with SQPOLL

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring: fix task_work add use-after-free with SQPOLL For SQPOLL, the sqpoll thread runs task_work off its own list and doesn't need to be told about it, so it can pop and complete a request as soon as mpscq_push() has published it. If that was the last request holding the ring alive, io_ring_exit_work() then frees the ctx, stops the thread, and with it the tctx, while io_req_normal_work_add() is still looking at both after the push: BUG: KASAN: slab-use-after-free in io_req_normal_work_add+0x439/0x510 Read of size 4 at addr ff11000000ca0000 by task repro/55 (...) BUG: KASAN: slab-use-after-free in queue_work_on+0x25/0x70 Write of size 8 at addr ff11000000c3bd00 by task repro/55 Hold an RCU read lock across the add, like io_req_local_work_add() already does, and have io_ring_exit_work() wait for a grace period for SQPOLL rings as well before freeing the ctx.

Key facts

Published
18 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.157% likely to be exploited in the next 30 days, higher than 4.89% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • af5d68f8892f8ee8f137648b79ceb2abc153a19b up to but excluding 42b3332efacfd2140be4cd0dedad4fb96b8ae90e (affected)
  • af5d68f8892f8ee8f137648b79ceb2abc153a19b up to but excluding 891bd8335a0de3bb15c3b797ce3026bbb0dbef6c (affected)
  • af5d68f8892f8ee8f137648b79ceb2abc153a19b up to but excluding 395b25968fe854d4efaa19a8e9b7a5b6d1b3eea3 (affected)
  • af5d68f8892f8ee8f137648b79ceb2abc153a19b up to but excluding a92193c91e8839fe5fc209616ea95465ae4b919d (affected)
LinuxLinux
  • Default status: affected
  • 6.9 (affected)
  • 0 up to but excluding 6.9 (unaffected)
  • 6.12.113 up to and including 6.12.* (unaffected)
  • 6.18.56 up to and including 6.18.* (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References