Skip to main content
Vulnerability Database/CVE-2026-97619

CVE-2026-97619: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-97619 is a privilege escalation vulnerability in the Linux kernel's io_uring subsystem affecting write accounting and filesystem freeze operations. This article covers the technical details, impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97619 Overview

CVE-2026-97619 describes a deadlock condition in the Linux kernel's io_uring read/write subsystem. The flaw originates from commit b000145e9907, which relocated both fsnotify calls and write accounting out of the kiocb completion handler and into the io_req_rw_complete() task_work. Deferring the write accounting creates a scenario where releasing SB_FREEZE_WRITE protection depends on the ring owner executing task_work. When the owning task is blocked in freeze_super(), the task_work never runs, producing a hang.

Critical Impact

Local processes using io_uring for writes can deadlock when a concurrent filesystem freeze operation occurs, resulting in a denial of service on the affected filesystem.

Affected Products

  • Linux kernel versions containing commit b000145e9907 prior to the fix
  • Linux stable branches referenced in the upstream fix commits
  • Distributions shipping affected mainline kernel builds

Discovery Timeline

  • 2026-09-25 - CVE CVE-2026-97619 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97619

Vulnerability Analysis

The vulnerability is a race condition and deadlock [CWE-667] in the io_uring write path. In the regressing commit, io_req_rw_complete() task_work was given responsibility for ending write accounting via percpu_up_read() on the superblock writers semaphore. Only the fsnotify path required deferral because it may sleep. The accounting itself is non-sleeping and can safely run from the completion handler.

Because ending the write now depends on task_work execution, any condition that blocks the owning task before task_work drains will leave sb_writers held. A concurrent freeze_super() request from ioctl(FS_IOC_SHUTDOWN) or bdev_freeze() calls percpu_down_write() and waits behind the still-held reader. The io-wq worker then calls kiocb_start_write() and queues percpu_down_read() behind the pending writer. The owning task is parked in D state, so io_complete_rw() queues io_req_rw_complete() that never runs.

Root Cause

The root cause is incorrect scheduling of non-sleeping cleanup work. Write accounting was placed in task_work alongside fsnotify, even though it only requires a percpu_up_read() call. This coupling introduced a lifetime dependency between filesystem freeze progress and io_uring task_work drain.

Attack Vector

A local user with the ability to issue io_uring write submissions and trigger a filesystem freeze through ioctl(FS_IOC_SHUTDOWN) can reproduce the deadlock. The impact is denial of service, not memory corruption or privilege escalation. See the upstream commits 055d43a1233e, 796aa0547557, and cc580cee4dfa for the exact fix.

// No verified exploitation code available. The fix moves write accounting
// back into io_complete_rw() while leaving only fsnotify in task_work.

Detection Methods for CVE-2026-97619

Indicators of Compromise

  • Processes stuck in uninterruptible (D) state with stack traces showing freeze_super, percpu_down_write, or kiocb_start_write.
  • Filesystem freeze or FS_IOC_SHUTDOWN operations that never complete on hosts using io_uring workloads.
  • Hung task warnings in dmesg referencing io_req_rw_complete or sb_writers.

Detection Strategies

  • Correlate kernel version inventory with the fix commits to identify unpatched hosts.
  • Monitor for hung_task_timeout_secs events emitted by the kernel watchdog.
  • Track workloads that combine io_uring write submissions with filesystem administration tooling.

Monitoring Recommendations

  • Enable /proc/sys/kernel/hung_task_timeout_secs alerting and forward kernel logs to centralized storage.
  • Alert on sustained D-state processes holding superblock writer references.
  • Audit use of FS_IOC_SHUTDOWN on production filesystems, especially on hosts running database or container workloads over io_uring.

How to Mitigate CVE-2026-97619

Immediate Actions Required

  • Inventory Linux hosts and identify kernels containing commit b000145e9907 without the three fix commits applied.
  • Schedule reboots into patched kernels across affected servers and workstations.
  • Restrict FS_IOC_SHUTDOWN and freeze operations to administrative maintenance windows until patching completes.

Patch Information

The fix ends write accounting from io_complete_rw() and leaves only the fsnotify calls in task_work. Apply the stable commits 055d43a1233e, 796aa0547557, and cc580cee4dfa, or upgrade to a distribution kernel that includes them.

Workarounds

  • Avoid issuing filesystem freeze or shutdown ioctl calls while io_uring writers are active.
  • Disable io_uring for untrusted workloads by setting kernel.io_uring_disabled=2 via sysctl where supported.
  • Isolate backup and snapshot tooling that invokes freeze_super() from hosts running heavy io_uring I/O.
bash
# Confirm running kernel and planned patched version before reboot
uname -r
sysctl kernel.io_uring_disabled
# Temporarily restrict io_uring usage system-wide where supported
sysctl -w kernel.io_uring_disabled=2

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.