# CVE-2026-92499: ext4: validate readdir offset before accessing dirent

> 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.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-17T16:10:13.391Z
- **Modified:** 2026-11-23T08:17:21.727Z

## Who should check

- Anyone running Linux \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< c9d5bf6d5c9b8515f64506807d37d36b0567ad48; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< 094e8139cf5a5e37b363ac984f628359558415e6; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< 64d445d40e5ea4c4d4d88880db753b370cb69161; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< b4c728577933753180e3e97f08424d5bcaff705e; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< bc4b7b0414c33b2c8898eb04386df0d21a13dad8
- Anyone running Linux 2.6.19

## Description

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

ext4: validate readdir offset before accessing dirent

A corrupted directory can trigger the following KASAN report when
ext4\_readdir() resumes from an invalid position:

  BUG: KASAN: use-after-free in \_\_ext4\_check\_dir\_entry+0x5ef/0x820
  Read of size 2 at addr ffff88810a646000 by task repro\_linear/509

  Call Trace:
   \<TASK\>
   dump\_stack\_lvl+0x53/0x70
   print\_report+0xd0/0x630
   kasan\_report+0xce/0x100
   \_\_ext4\_check\_dir\_entry+0x5ef/0x820
   ext4\_readdir+0xcde/0x2b70
   iterate\_dir+0x1a1/0x520
   \_\_x64\_sys\_getdents64+0x12b/0x220
   do\_syscall\_64+0xf9/0x540
   entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
   \</TASK\>

KASAN reports use-after-free because the out-of-bounds access lands in an
adjacent freed page. The directory buffer itself is still referenced.

ext4\_dir\_llseek() invalidates the directory cookie so that ext4\_readdir()
rescans directory entries from the start of the block. The rescan checks
only the lower bound of rec\_len before advancing. A corrupted rec\_len can
therefore place the offset where the block has insufficient space for a
complete directory entry. The rescan itself may dereference that truncated
entry, or the main loop may pass it to \_\_ext4\_check\_dir\_entry(). The latter
reads de-\>rec\_len before validating the range. For example:

  block offset  0                           4092  4096
                \|---- de1.rec\_len = 4092 -----\|----\|
                                               de2.inode
                                                    \| de2.rec\_len
                                                    ^ OOB, reported as UAF

de2 starts at offset 4092 in this 4 KiB block. Its four-byte inode fits in
the block, but its rec\_len starts at offset 4096 and crosses the boundary.

The minimum safe length is inode-dependent. Encrypted and casefolded
directory entries need eight additional hash bytes, while a valid metadata
checksum tail is only 12 bytes.

Cache the metadata checksum feature state and derive the minimum directory
entry length from the on-disk format. Use it to bound both the rescan and
the offset passed to the main loop. Report an offset in a truncated block
tail and skip the remainder of the block, while continuing to accept an
offset exactly at the block boundary.

## Affected and fixed versions

- Linux: \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< c9d5bf6d5c9b8515f64506807d37d36b0567ad48; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< 094e8139cf5a5e37b363ac984f628359558415e6; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< 64d445d40e5ea4c4d4d88880db753b370cb69161; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< b4c728577933753180e3e97f08424d5bcaff705e; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< bc4b7b0414c33b2c8898eb04386df0d21a13dad8 (cvelist)
- Linux: 2.6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-92499.md
Affected: Linux >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < c9d5bf6d5c9b8515f64506807d37d36b0567ad48; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 094e8139cf5a5e37b363ac984f628359558415e6; >= ac27a0ec112a089f1a5102bc8dffc79c8c815571, < 64d445d40e5ea4c4d4d88880db753b370cb69161; >= ac27a0ec112a089f1a5102b…
Fixed in: Linux 094e8139cf5a5e37b363ac984f628359558415e6, Linux 64d445d40e5ea4c4d4d88880db753b370cb69161

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-92499 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< c9d5bf6d5c9b8515f64506807d37d36b0567ad48; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< 094e8139cf5a5e37b363ac984f628359558415e6; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< 64d445d40e5ea4c4d4d88880db753b370cb69161; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< b4c728577933753180e3e97f08424d5bcaff705e; \>= ac27a0ec112a089f1a5102bc8dffc79c8c815571, \< bc4b7b0414c33b2c8898eb04386df0d21a13dad8; Linux 2.6.19.

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

Yes. Fixed in Linux 094e8139cf5a5e37b363ac984f628359558415e6, Linux 64d445d40e5ea4c4d4d88880db753b370cb69161. No fix listed yet: follow the vendor advisory.

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

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/c9d5bf6d5c9b8515f64506807d37d36b0567ad48>
- other: <https://git.kernel.org/stable/c/094e8139cf5a5e37b363ac984f628359558415e6>
- other: <https://git.kernel.org/stable/c/64d445d40e5ea4c4d4d88880db753b370cb69161>
- other: <https://git.kernel.org/stable/c/b4c728577933753180e3e97f08424d5bcaff705e>
- other: <https://git.kernel.org/stable/c/bc4b7b0414c33b2c8898eb04386df0d21a13dad8>

## 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-92499>

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