CVE-2026-89787
CVE-2026-89787 — ext4: check dir entry fits before reading the hash trailer in ext4_search_dir()
In the Linux kernel, the following vulnerability has been resolved: ext4: check dir entry fits before reading the hash trailer in ext4_search_dir() For casefolded encrypted directories ext4 stores an 8-byte hash trailer after the name (EXT4_DIRENT_HASHES()), at an offset derived from de->name_len. On the sb_no_casefold_compat_fallback() path ext4_match() reads that trailer, but ext4_search_dir()'s by-hand pre-check only tests de->name + de->name_len <= dlimit, which proves the name fits, not the rounded trailer. A crafted entry whose name ends at the block boundary passes the check while EXT4_DIRENT_HASHES(de) lands past the block end, so ext4_match() reads out of bounds on an ordinary lookup. KASAN reports it as a use-after-free when the page after the directory block holds a freed object: BUG: KASAN: use-after-free in ext4_match (fs/ext4/namei.c:1435) Read of size 4 at addr ffff888010458000 by task exploit Call Trace: ext4_match (fs/ext4/namei.c:1435) ext4_search_dir (fs/ext4/namei.c:1470) __ext4_find_entry (fs/ext4/namei.c:1268 fs/ext4/namei.c:1632) ext4_lookup (fs/ext4/namei.c:1703 fs/ext4/namei.c:1769) ... filename_lookup (fs/namei.c:2842) vfs_statx (fs/stat.c:353) __do_sys_newfstatat (fs/stat.c:538) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Require, for hash-in-dirent directories, that the whole entry including the rounded trailer fits before calling ext4_match(). This is the same bound ext4_check_dir_entry() already enforces via ext4_dir_rec_len(), so no well-formed entry is rejected. The other caller, ext4_find_dest_de(), runs ext4_check_dir_entry() first and is unaffected.
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 5.13). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 4d20106c536b73c4a8a02652dc85e35898baebf7 | Vulnerable |
| Linux | Linux | 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 61a395967de06edba58760e81907a272db749faa | Vulnerable |
| Linux | Linux | 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 | Vulnerable |
| Linux | Linux | 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 | Vulnerable |
| Linux | Linux | 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 3933884bc3102898b458c53fbd1ac52eb9cdb8a4 | Vulnerable |
| Linux | Linux | 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 83663c0b739480c00cfe785675db87520ec484ed | Vulnerable |
| Linux | Linux | 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 | Vulnerable |
| Linux | Linux | 5.13 | Vulnerable |
| Linux | Linux | 0 to < 5.13 | Patched |
| Linux | Linux | 5.15.221 to <= 5.15.* | Patched |
| Linux | Linux | 6.1.188 to <= 6.1.* | Patched |
| Linux | Linux | 6.6.157 to <= 6.6.* | Patched |
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
1
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /ext4/namei.c:1435), /ext4/namei.c:1470), /ext4/namei.c:1268, /ext4/namei.c:1632), /ext4/namei.c:1703, /ext4/namei.c:1769), /namei.c:2842), /stat.c:353), /stat.c:538), /x86/entry/syscall_64.c:94), /x86/entry/entry_64.S:121).
- Monitor for scanner or exploit-pattern traffic after 1 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Sep 16, 2026 · NVD
Added · GHSA-cxfp-66mh-jhvv published (unknown)
Sep 16, 2026 · GitHub Security Advisory
CVE published by MITRE.
Sep 16, 2026 · SOCRadar CTI
References
9 on the record
- git.kernel.org/stable/c/3933884bc3102898b458c53fbd1ac52eb9cdb8a4
Vendor Advisory
- git.kernel.org/stable/c/4d20106c536b73c4a8a02652dc85e35898baebf7
Vendor Advisory
- git.kernel.org/stable/c/61a395967de06edba58760e81907a272db749faa
Vendor Advisory
- git.kernel.org/stable/c/83663c0b739480c00cfe785675db87520ec484ed
Vendor Advisory
- git.kernel.org/stable/c/c7e6b863d298f56522d0d08554bbea7f142e6588
Vendor Advisory
- git.kernel.org/stable/c/d8c184bec24b5a00ae96d704856d935eaded1685
Vendor Advisory
- git.kernel.org/stable/c/e94676a08af6312aa72d8a981232b281f9bcfcf5
Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-89787
NVD
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-89787 is ext4: check dir entry fits before reading the hash trailer in ext4_search_dir(), a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-89787. Public exploit evidence is: 1 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.