# CVE-2026-92501: ext4: drain in-flight DIO before buffered write fallback

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:10:14.753Z
- **Modified:** 2026-10-19T09:19:40.347Z

## Who should check

- Anyone running Linux \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< fd7e0dab20837b9ea1eeef7c26f78ace8ac8258c; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< f0af3ae09fb72382da1a5371bf6761b0264668e4; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 7341e234927ff215f1d5d0bcfe04b74f53af378d; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 74eee4ff9698a65b2e6e15dac0e50d6526ad5f20; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< d47cdadd6e49023f7ee248048463807f1214f1ee; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 4e4e3eec506247c8f8bd8aaa1eb25e67016681a5; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 9fd3ffc3c51c9deaba99bd7b338fff2d08f52416; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 15cdefd0c0522f9d5e12d947fa04f4c11649b699
- Anyone running Linux 5.5

## Description

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

ext4: drain in-flight DIO before buffered write fallback

generic/746 started failing intermittently on ext3 (no-extent inodes).
The test triggers 'Page cache invalidation failure on direct I/O'
warnings and subsequent fsync returns -EIO. Adding a 50ms delay
between ext4\_buffered\_write\_iter() and filemap\_write\_and\_wait\_range()
in ext4\_dio\_write\_iter() makes the race almost always reproducible.

On no-extent inodes, DIO writes to holes cannot use unwritten extents,
so ext4\_iomap\_alloc() leaves m\_flags=0 and ext4\_map\_blocks() returns 0.
The iomap layer then returns -ENOTBLK, causing fallback to buffered I/O.

The fallback path in ext4\_dio\_write\_iter() calls
ext4\_buffered\_write\_iter() which dirties pages, then does flush and
invalidate. However, there's an unprotected window between
ext4\_buffered\_write\_iter() returning (with inode lock released) and
the subsequent flush+invalidate.

Concurrent async DIO completions from other threads can run
kiocb\_invalidate\_post\_direct\_write() during this window. If pages have
been re-dirtied, post-invalidation finds dirty pages and triggers the
warning, setting -EIO in the error sequence.

Consider a file with two 4k extents: \[hole\]\[written\]. Thread A does
DIO to the written extent, while thread B does DIO spanning both:

  kworker A (4k DIO, allocated block)    kworker B (8k DIO, fallback)
  -----------------------------------    ----------------------------
  inode\_lock\_shared()                    inode\_lock\_shared()
  iomap\_dio\_rw():                        iomap\_dio\_rw():
    kiocb\_invalidate\_pages -\> clean        iomap\_begin -\> -ENOTBLK
    submit\_bio (async)                     dio-\>size = 0
  inode\_unlock\_shared()                  inode\_unlock\_shared()

  \[bio pending in block layer\]           /\* fallback: lock released \*/
                                         ext4\_buffered\_write\_iter()
                                           inode\_lock(exclusive)
                                           generic\_perform\_write()
                                             -\> dirty pages \[0, 8k\]
                                           inode\_unlock(exclusive)

                                         /\* pages dirty, no lock \*/
  \[bio completes\]                        filemap\_write\_and\_wait\_range()
  iomap\_dio\_complete()                     -\> flush dirty pages
    kiocb\_invalidate\_post\_direct\_write() invalidate\_mapping\_pages()
      invalidate\_inode\_pages2\_range()
      -\> finds dirty page!
      -\> dio\_warn\_stale\_pagecache()
      -\> errseq\_set(-EIO)

This issue can be triggered through normal I/O paths, not just
intentionally overlapping DIO writes from userspace. For example,
generic/746 uses a loop device where multiple kworkers issue concurrent
I/O to the backing file. Additionally, when block\_size \< folio\_size,
non-overlapping DIO writes that share a large folio can also trigger
the race.

Add inode\_dio\_wait() in ext4\_buffered\_write\_iter() before
ext4\_write\_checks() to drain all in-flight DIO. This ensures that
all DIO clears existing pages before submitting IO (via
kiocb\_invalidate\_pages()), all BIO waits for all DIO to complete
(via inode\_dio\_wait()), and ext4\_write\_checks() observes the inode
size after all completed DIO so that ext4\_block\_zero\_eof() does not
race with in-flight DIO, thus eliminating the race.

## Affected and fixed versions

- Linux: \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< fd7e0dab20837b9ea1eeef7c26f78ace8ac8258c; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< f0af3ae09fb72382da1a5371bf6761b0264668e4; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 7341e234927ff215f1d5d0bcfe04b74f53af378d; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 74eee4ff9698a65b2e6e15dac0e50d6526ad5f20; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< d47cdadd6e49023f7ee248048463807f1214f1ee; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 4e4e3eec506247c8f8bd8aaa1eb25e67016681a5; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 9fd3ffc3c51c9deaba99bd7b338fff2d08f52416; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 15cdefd0c0522f9d5e12d947fa04f4c11649b699 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 15cdefd0c0522f9d5e12d947fa04f4c11649b699 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-92501. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-92501.md
Affected: Linux >= 378f32bab3714f04c4e0c3aee4129f6703805550, < fd7e0dab20837b9ea1eeef7c26f78ace8ac8258c; >= 378f32bab3714f04c4e0c3aee4129f6703805550, < f0af3ae09fb72382da1a5371bf6761b0264668e4; >= 378f32bab3714f04c4e0c3aee4129f6703805550, < 7341e234927ff215f1d5d0bcfe04b74f53af378d; >= 378f32bab3714f04c4e0c3a…
Fixed in: Linux 7341e234927ff215f1d5d0bcfe04b74f53af378d, Linux 74eee4ff9698a65b2e6e15dac0e50d6526ad5f20, Linux 4e4e3eec506247c8f8bd8aaa1eb25e67016681a5, Linux 9fd3ffc3c51c9deaba99bd7b338fff2d08f52416, Linux 15cdefd0c0522f9d5e12d947fa04f4c11649b699

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-92501 being exploited?

There is no confirmed exploitation: CVE-2026-92501 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-92501?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-92501?

Linux \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< fd7e0dab20837b9ea1eeef7c26f78ace8ac8258c; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< f0af3ae09fb72382da1a5371bf6761b0264668e4; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 7341e234927ff215f1d5d0bcfe04b74f53af378d; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 74eee4ff9698a65b2e6e15dac0e50d6526ad5f20; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< d47cdadd6e49023f7ee248048463807f1214f1ee; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 4e4e3eec506247c8f8bd8aaa1eb25e67016681a5; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 9fd3ffc3c51c9deaba99bd7b338fff2d08f52416; \>= 378f32bab3714f04c4e0c3aee4129f6703805550, \< 15cdefd0c0522f9d5e12d947fa04f4c11649b699; Linux 5.5.

### Is there a fix for CVE-2026-92501?

Yes. Fixed in Linux 7341e234927ff215f1d5d0bcfe04b74f53af378d, Linux 74eee4ff9698a65b2e6e15dac0e50d6526ad5f20, Linux 4e4e3eec506247c8f8bd8aaa1eb25e67016681a5, Linux 9fd3ffc3c51c9deaba99bd7b338fff2d08f52416, Linux 15cdefd0c0522f9d5e12d947fa04f4c11649b699. Upgrade Linux to 15cdefd0c0522f9d5e12d947fa04f4c11649b699 or later.

### How do I check if I'm affected by CVE-2026-92501?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/fd7e0dab20837b9ea1eeef7c26f78ace8ac8258c>
- other: <https://git.kernel.org/stable/c/f0af3ae09fb72382da1a5371bf6761b0264668e4>
- other: <https://git.kernel.org/stable/c/7341e234927ff215f1d5d0bcfe04b74f53af378d>
- other: <https://git.kernel.org/stable/c/74eee4ff9698a65b2e6e15dac0e50d6526ad5f20>
- other: <https://git.kernel.org/stable/c/d47cdadd6e49023f7ee248048463807f1214f1ee>
- other: <https://git.kernel.org/stable/c/4e4e3eec506247c8f8bd8aaa1eb25e67016681a5>
- other: <https://git.kernel.org/stable/c/9fd3ffc3c51c9deaba99bd7b338fff2d08f52416>
- other: <https://git.kernel.org/stable/c/15cdefd0c0522f9d5e12d947fa04f4c11649b699>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-92501>

HTML: <https://flawdb.com/CVE-2026-92501> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-92501>
