CVE-2026-89787
publishedext4: check dir entry fits before reading the hash trailer in ext4_search_dir()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 4d20106c536b73c4a8a02652dc85e35898baebf7 · 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 61a395967de06edba58760e81907a272db749faa · 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < e94676a08af6312aa72d8a981232b281f9bcfcf5 · 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < d8c184bec24b5a00ae96d704856d935eaded1685 · 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 3933884bc3102898b458c53fbd1ac52eb9cdb8a4 · 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 83663c0b739480c00cfe785675db87520ec484ed · 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < c7e6b863d298f56522d0d08554bbea7f142e6588 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.221 through 5.15.* (unaffected · semver) · 6.1.188 through 6.1.* (unaffected · semver) · 6.6.157 through 6.6.* (unaffected · semver) · 6.12.110 through 6.12.* (unaffected · semver) · 6.18.52 through 6.18.* (unaffected · semver) · 7.2.6 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.190-1 | DLA-4841-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.111-1~deb12u1 | DLA-4817-1 |
| Debian | trixie | linux | Advisory build | 6.12.111-1 | DSA-6528-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el10uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 4d20106c536b73c4a8a02652dc85e35898baebf7 (affected · git)471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 61a395967de06edba58760e81907a272db749faa (affected · git)471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < e94676a08af6312aa72d8a981232b281f9bcfcf5 (affected · git)471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < d8c184bec24b5a00ae96d704856d935eaded1685 (affected · git)471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 3933884bc3102898b458c53fbd1ac52eb9cdb8a4 (affected · git)471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < 83663c0b739480c00cfe785675db87520ec484ed (affected · git)471fbbea7ff7061b2d6474665cb5a2ceb4fd6500 to < c7e6b863d298f56522d0d08554bbea7f142e6588 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.221 through 5.15.* (unaffected · semver)6.1.188 through 6.1.* (unaffected · semver)6.6.157 through 6.6.* (unaffected · semver)6.12.110 through 6.12.* (unaffected · semver)6.18.52 through 6.18.* (unaffected · semver)7.2.6 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/3933884bc3102898b458c53fbd1ac52eb9cdb8a4
- https://git.kernel.org/stable/c/4d20106c536b73c4a8a02652dc85e35898baebf7
- https://git.kernel.org/stable/c/61a395967de06edba58760e81907a272db749faa
- https://git.kernel.org/stable/c/83663c0b739480c00cfe785675db87520ec484ed
- https://git.kernel.org/stable/c/c7e6b863d298f56522d0d08554bbea7f142e6588
- https://git.kernel.org/stable/c/d8c184bec24b5a00ae96d704856d935eaded1685
- https://git.kernel.org/stable/c/e94676a08af6312aa72d8a981232b281f9bcfcf5
Provider assertions
1Linux · cna
ext4: check dir entry fits before reading the hash trailer in ext4_search_dir()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7f00c6668e583113f5f48f9c0e4d915aea0853dbd202e1e005469305234ee147
- Ingested
- 19 Oct 2026, 08:57:57 UTC
- Source record
- Official CVE record