# CVE-2026-98858: io\_uring: fix task\_work add use-after-free with SQPOLL

- Priority: **Routine**
- Reason: Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-18 · Modified: 2026-10-19
- Aliases: DEBIAN-CVE-2026-98858, UBUNTU-CVE-2026-98858
- Record: https://cvemate.com/vulnerability/CVE-2026-98858 · JSON: https://cvemate.com/vulnerability/CVE-2026-98858/json

## Description

```text
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.
```

## Signals

- CVSS: 7.3 high (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.157%, percentile 5.061%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 172)

- debian linux (Debian): \< 6.12.113-1 \| \< 7.2.10-1
- debian linux-6.12 (Debian): \< 6.12.113-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-43.43
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1017.18
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1017.18~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/42b3332efacfd2140be4cd0dedad4fb96b8ae90e>
- <https://git.kernel.org/stable/c/891bd8335a0de3bb15c3b797ce3026bbb0dbef6c>
- <https://git.kernel.org/stable/c/395b25968fe854d4efaa19a8e9b7a5b6d1b3eea3>
- <https://git.kernel.org/stable/c/a92193c91e8839fe5fc209616ea95465ae4b919d>
- <https://security-tracker.debian.org/tracker/CVE-2026-98858>
- <https://ubuntu.com/security/CVE-2026-98858>
- <https://www.cve.org/CVERecord?id=CVE-2026-98858>
- <https://ubuntu.com/security/notices/USN-9018-1>
- <https://ubuntu.com/security/notices/USN-9020-1>
- <https://ubuntu.com/security/notices/USN-9019-1>
- <https://ubuntu.com/security/notices/USN-9018-2>
- <https://ubuntu.com/security/notices/USN-9021-1>
- <https://ubuntu.com/security/notices/USN-9160-1>

---

Data as of 2026-12-05T04:27:18.540Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
