# CVE-2026-97619: io_uring/rw: end write accounting from ->ki_complete

- 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.23%, higher than 15% of CVEs (2026-12-02)
- Published: 2026-09-25T10:22:25.644Z
- Modified: 2026-11-23T08:17:22.173Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

io_uring/rw: end write accounting from ->ki_complete

Commit b000145e9907 moved both the fsnotify calls and the write
accounting out of the kiocb completion handler and into the
io_req_rw_complete() task_work. However, only the fsnotify part actually
needed to move as it may sleep. Ending the write accounting is just a
percpu_up_read() on the superblock writers sem.

Deferring it is a problem, because it makes dropping SB_FREEZE_WRITE
protection depend on the ring owner getting to running task_work. But
the task may be blocked in freeze_super(), causing it to never get to
that:

  task                             io-wq worker
  --------------------------------------------------------------
  io_write()
    io_kiocb_start_write()         (takes sb_writers, hidden from
                                    lockdep by __sb_writers_release)
    write_iter() -> -EIOCBQUEUED
  ioctl(FS_IOC_SHUTDOWN)
    bdev_freeze()
      freeze_super()
        percpu_down_write()        <- waits for the reader above
                                   io_write()
                                     kiocb_start_write()
                                       percpu_down_read()  <- queued
                                                              behind the
                                                              writer
  <bio completes>
    io_complete_rw()
      queues io_req_rw_complete()  <- never runs, task is in D state

End the write from io_complete_rw() instead, and leave only the fsnotify
calls in task_work.

(As written by CVE List.)

## Affected

- Linux Linux: from ea2e6286e3e89a115ae554e20ba9aec2b2e1ddff before aa4a3bec32ffe20ba1044db8211140edf7637310; from 89a410dbd0f159ddd308f19d6eb682fc753e4771 before 16840e3478c72ebbf093c52cbdcd8a1f12fad692; from b000145e9907809406d8164c3b2b8861d95aecd1 before 647026fd61d9d2e628b2f743bbe09bfd9ddde110; from b000145e9907809406d8164c3b2b8861d95aecd1 before ed1cead97afb9c398bd7ab344a3c1ee34ab73af9; from b000145e9907809406d8164c3b2b8861d95aecd1 before 696459029f3b65c070c91b729478475582f1dcdf; from b000145e9907809406d8164c3b2b8861d95aecd1 before cc580cee4dfa2ec9099c30ecbd4d804cbb996432; from b000145e9907809406d8164c3b2b8861d95aecd1 before 055d43a1233edbd80e558889258105ce63051bcd; from b000145e9907809406d8164c3b2b8861d95aecd1 before 796aa0547557e63338657ed1c487906f9fac4c73; 2a853c206e553dd9c0a55c22858fd6a446d93e15; from 5.10.165 before 5.10.273; from 5.15.90 before 5.15.224; from 6.0.3 before 6.1; and 1 more (not affected: before 6.1; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/aa4a3bec32ffe20ba1044db8211140edf7637310>
- <https://git.kernel.org/stable/c/16840e3478c72ebbf093c52cbdcd8a1f12fad692>
- <https://git.kernel.org/stable/c/647026fd61d9d2e628b2f743bbe09bfd9ddde110>
- <https://git.kernel.org/stable/c/ed1cead97afb9c398bd7ab344a3c1ee34ab73af9>
- <https://git.kernel.org/stable/c/696459029f3b65c070c91b729478475582f1dcdf>
- <https://git.kernel.org/stable/c/cc580cee4dfa2ec9099c30ecbd4d804cbb996432>
- <https://git.kernel.org/stable/c/055d43a1233edbd80e558889258105ce63051bcd>
- <https://git.kernel.org/stable/c/796aa0547557e63338657ed1c487906f9fac4c73>

## Sources

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

---

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