CVE-2026-89600
fanotify: fix use-after-free of file range info
Reported by linux · Published September 11, 2026
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.
EPSS 0.12% · 2.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18 | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel-livepatch-6.18.51-120.162 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, 870499bc1d4dc04cba1f63dd5e7bc02b983e2458 |
| Linux | Linux | 6.14, 0, 6.18.50 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.51-120.162 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| linux | linux_kernel | 6.14, 6.14, 6.14 |
| Linux | Linux | 6.18.50, 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, 6.14 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
Timeline
- Sep 11, 2026 CVE Published
- Sep 12, 2026 EPSS Score (7 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89600
vulnetix vdb fixes CVE-2026-89600
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89600/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart