# CVE-2026-89989: ima: Check for ERR\_PTR from dentry\_path() in validate\_hash\_algo()

> 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 7, 2026-11-26)
- **Published:** 2026-09-16T10:33:03.703Z
- **Modified:** 2026-10-19T09:18:45.997Z

## Who should check

- Anyone running Linux \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< d6fade89903c8fd0af6c956242aec8b927040e02; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 0de5b525c0cd7d202848b8adfde3c01c287fb1a6; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 30b5c0e17dcad72b6b2f987319aa645570e6376d; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 9e69d683ebd7def04557fe758ff123105d7d9840; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< f8a2f2a4602318eb93d49d27fd0d0fdaab17edde; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< d62a84a78de5f29c642fa3bd4eee072ba7289cb4; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 8861f6d5c0678a7c5089c7b272509fc5931b8437
- Anyone running Linux 5.15

## Description

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

ima: Check for ERR\_PTR from dentry\_path() in validate\_hash\_algo()

dentry\_path() returns ERR\_PTR(-ENAMETOOLONG) when the path exceeds the
buffer. validate\_hash\_algo() passes the result straight to
integrity\_audit\_msg() without checking. ERR\_PTR is not NULL, so
integrity\_audit\_message() sees a valid pointer and calls strlen() on
it, which faults:

    BUG: unable to handle page fault for address: ffffffffffffffdc
    RIP: 0010:strlen+0x30/0xa0
    Call Trace:
     audit\_log\_untrustedstring+0x19/0x30
     integrity\_audit\_message+0x366/0x4f0
     ima\_inode\_setxattr+0x512/0x5f0

Check for IS\_ERR() and use NULL instead, which makes the audit message
skip the name= field instead of crashing.

## Affected and fixed versions

- Linux: \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< d6fade89903c8fd0af6c956242aec8b927040e02; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 0de5b525c0cd7d202848b8adfde3c01c287fb1a6; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 30b5c0e17dcad72b6b2f987319aa645570e6376d; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 9e69d683ebd7def04557fe758ff123105d7d9840; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< f8a2f2a4602318eb93d49d27fd0d0fdaab17edde; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< d62a84a78de5f29c642fa3bd4eee072ba7289cb4; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 8861f6d5c0678a7c5089c7b272509fc5931b8437 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 8861f6d5c0678a7c5089c7b272509fc5931b8437 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-89989. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89989.md
Affected: Linux >= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, < d6fade89903c8fd0af6c956242aec8b927040e02; >= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, < 0de5b525c0cd7d202848b8adfde3c01c287fb1a6; >= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, < 30b5c0e17dcad72b6b2f987319aa645570e6376d; >= 4f2946aa0c45c78b4f4ef10…
Fixed in: Linux 0de5b525c0cd7d202848b8adfde3c01c287fb1a6, Linux 30b5c0e17dcad72b6b2f987319aa645570e6376d, Linux 9e69d683ebd7def04557fe758ff123105d7d9840, Linux 8861f6d5c0678a7c5089c7b272509fc5931b8437

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

There is no confirmed exploitation: CVE-2026-89989 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-89989?

It has no CVSS score yet. Unknown.

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

Linux \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< d6fade89903c8fd0af6c956242aec8b927040e02; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 0de5b525c0cd7d202848b8adfde3c01c287fb1a6; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 30b5c0e17dcad72b6b2f987319aa645570e6376d; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 9e69d683ebd7def04557fe758ff123105d7d9840; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< f8a2f2a4602318eb93d49d27fd0d0fdaab17edde; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< d62a84a78de5f29c642fa3bd4eee072ba7289cb4; \>= 4f2946aa0c45c78b4f4ef101bab9694e38c68db0, \< 8861f6d5c0678a7c5089c7b272509fc5931b8437; Linux 5.15.

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

Yes. Fixed in Linux 0de5b525c0cd7d202848b8adfde3c01c287fb1a6, Linux 30b5c0e17dcad72b6b2f987319aa645570e6376d, Linux 9e69d683ebd7def04557fe758ff123105d7d9840, Linux 8861f6d5c0678a7c5089c7b272509fc5931b8437. Upgrade Linux to 8861f6d5c0678a7c5089c7b272509fc5931b8437 or later.

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

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/d6fade89903c8fd0af6c956242aec8b927040e02>
- other: <https://git.kernel.org/stable/c/0de5b525c0cd7d202848b8adfde3c01c287fb1a6>
- other: <https://git.kernel.org/stable/c/30b5c0e17dcad72b6b2f987319aa645570e6376d>
- other: <https://git.kernel.org/stable/c/9e69d683ebd7def04557fe758ff123105d7d9840>
- other: <https://git.kernel.org/stable/c/f8a2f2a4602318eb93d49d27fd0d0fdaab17edde>
- other: <https://git.kernel.org/stable/c/d62a84a78de5f29c642fa3bd4eee072ba7289cb4>
- other: <https://git.kernel.org/stable/c/8861f6d5c0678a7c5089c7b272509fc5931b8437>

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

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