Menu

Star on GitHub · 3.5k

CVE-2026-89787

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 store…

Published Sep 16, 2026EPSS 0.21%

Overview

CVE-2026-89787 is a known-severity vulnerability. It was published on September 16, 2026.

Technical 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_di

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-89787?

CVE-2026-89787 is a known-severity vulnerability. It was published on September 16, 2026.

How severe is CVE-2026-89787?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2026-89787?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-89787?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-89787 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

CyberStrike v2 is here — more intelligence, greater reach