VDB

CVE-2026-89600

CVE-2026-89600 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-headersAmazon Linux1:6.18.51-120.162.amzn2023
bpftool6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel-livepatch-6.18.51-120.162Amazon Linux1:1.0-0.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.51-120.162.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.12%
2.1th percentile

Affected products

VendorProductVersions
LinuxLinux870499bc1d4dc04cba1f63dd5e7bc02b983e2458, 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, 870499bc1d4dc04cba1f63dd5e7bc02b983e2458
LinuxLinux6.14, 0, 6.18.50
amazon:2023kernel6.180
amazon:2023kernel6.18-headers0
amazon:2023bpftool6.180
amazon:2023kernel-livepatch-6.18.51-120.1620
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel6.14, 6.14, 6.14
LinuxLinux6.18.50, 870499bc1d4dc04cba1f63dd5e7bc02b983e2458, 6.14
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-devel0
amazon:2023perf6.180
amazon:2023python3-perf6.180
amazon:2023microvm-kernel6.180

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›