# CVE-2026-89600: fanotify: fix use-after-free of file range info

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-11T19:45:03.450Z
- **Modified:** 2026-10-19T09:17:56.520Z

## Who should check

- Anyone running Linux \>= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, \< 66aa9a9e6481bfa512ee5b6380eaaec455a954d2; \>= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, \< b8f73b163b646bc56d4dce9c697a578e333f4894; \>= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, \< d7f1cf5be33ef0175a4e8ed8687aeb98fb00a851
- Anyone running Linux 6.14

## Description

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

fanotify: fix use-after-free of file range info

fsnotify\_pre\_content() builds its file\_range on the triggering task's
stack. fanotify\_alloc\_perm\_event() saves a pointer to range.pos in the
heap-allocated permission event so copy\_range\_info\_to\_user() can report
the offset later.

The event reader can set the event state to FAN\_EVENT\_REPORTED and then
sleep while preparing the file descriptor. If a signal interrupts the
triggering task at that point, fanotify\_get\_response() changes the state
to FAN\_EVENT\_CANCELED and returns. This unwinds the file\_range stack
frame while the reader still owns the event. The reader then dereferences
pevent-\>ppos and copies the stale stack value to userspace.

KASAN reported:

  BUG: KASAN: use-after-free in fanotify\_read+0x293e/0x2970
  Read of size 8 at addr ffff88811434fc50 by task fanotify\_inotif/95
  Call Trace:
   fanotify\_read+0x293e/0x2970
   vfs\_read+0x177/0xa20
   ksys\_read+0xf7/0x1c0
   do\_syscall\_64+0xf9/0x540
   entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Store the range position directly in the permission event and use
FANOTIFY\_NO\_RANGE when range information is unavailable. The event remains
alive until the reader finishes, so the reported offset no longer depends
on the triggering task's stack.

## Affected and fixed versions

- Linux: \>= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, \< 66aa9a9e6481bfa512ee5b6380eaaec455a954d2; \>= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, \< b8f73b163b646bc56d4dce9c697a578e333f4894; \>= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, \< d7f1cf5be33ef0175a4e8ed8687aeb98fb00a851 (cvelist)
- Linux: 6.14 (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-89600. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89600.md
Affected: Linux >= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, < 66aa9a9e6481bfa512ee5b6380eaaec455a954d2; >= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, < b8f73b163b646bc56d4dce9c697a578e333f4894; >= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, < d7f1cf5be33ef0175a4e8ed8687aeb98fb00a851; Linux 6.14
Fixed in: Linux 66aa9a9e6481bfa512ee5b6380eaaec455a954d2

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

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, \< 66aa9a9e6481bfa512ee5b6380eaaec455a954d2; \>= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, \< b8f73b163b646bc56d4dce9c697a578e333f4894; \>= 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, \< d7f1cf5be33ef0175a4e8ed8687aeb98fb00a851; Linux 6.14.

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

Yes. Fixed in Linux 66aa9a9e6481bfa512ee5b6380eaaec455a954d2. No fix listed yet: follow the vendor advisory.

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

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/66aa9a9e6481bfa512ee5b6380eaaec455a954d2>
- other: <https://git.kernel.org/stable/c/b8f73b163b646bc56d4dce9c697a578e333f4894>
- other: <https://git.kernel.org/stable/c/d7f1cf5be33ef0175a4e8ed8687aeb98fb00a851>

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

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