iio: event: Fix event FIFO reset race
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Partial Red Hat: 4 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: iio: event: Fix event FIFO reset race `iio_event_getfd()` creates the event file descriptor with `anon_inode_getfd()`, which allocates a new fd, creates the anonymous file and installs it in the process fd table before returning to the caller. The IIO code resets the event FIFO after `anon_inode_getfd()` has returned, but before `IIO_GET_EVENT_FD_IOCTL` has copied the fd number to userspace. But since fd tables are shared between threads, another thread can guess the newly allocated fd number and issue a `read()` on it as soon as the fd has been installed. This means the `kfifo_to_user()` in `iio_event_chrdev_read()` can run in parallel with the `kfifo_reset_out()` in `iio_event_getfd()`. The kfifo documentation says that `kfifo_reset_out()` is only safe when it is called from the reader thread and there is only one concurrent reader. Otherwise it is dangerous and must be handled in the same way as `kfifo_reset()`. If that happens, `kfifo_to_user()` can advance the FIFO `out` index based on state from before the reset, after the reset has already moved the `out` index to the current `in` index. That can leave the FIFO with an `out` index past the `in` index. A later `read()` can then see an underflowed FIFO length and copy more data than the event FIFO buffer contains. This can result in an out-of-bounds read and leak adjacent kernel memory to userspace. Move the FIFO reset before `anon_inode_getfd()`. At that point the event fd is marked busy, but the new fd has not been installed yet, so userspace cannot access it while the FIFO is reset.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4, 7.2
Red Hat 2 advisories
- RHSA-2026:52765 Released 2026-08-10 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.154.1.el8_10, kernel-4.18.0-553.154.1.el8_10, kernel-abi-stablelists-4.18.0-553.154.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.154.1.el8_10
- RHSA-2026:52761 Released 2026-08-10 · Red Hat rating Moderatekernel-rt security update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.154.1.rt7.495.el8_10, kernel-rt-core-4.18.0-553.154.1.rt7.495.el8_10, kernel-rt-debug-4.18.0-553.154.1.rt7.495.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.154.1.rt7.495.el8_10, kernel-rt-core-4.18.0-553.154.1.rt7.495.el8_10, kernel-rt-debug-4.18.0-553.154.1.rt7.495.el8_10 +7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2026:52765 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:52765 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2026:52761 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2026:52761 |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2026-64496
- 2026-10-03 Alias added: GHSA-hh3r-jgc6-qr6q
- 2026-10-13 Affected versions changed · Red Hat
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-20 Weakness changed · CISA ADP
References
Other 8
- https://git.kernel.org/stable/c/9dc84ba4be5bbeb29ee49efe6cea2cb32c461424
- https://git.kernel.org/stable/c/d16a702ca7d29c0b7a9b509339d1b044a1cadb32
- https://git.kernel.org/stable/c/a13ef1adbc62085b21b546b07b0be7e2fbf52150
- https://git.kernel.org/stable/c/0d4a646d7f87ea3625fafe387043fddc6a2f5e7f
- https://git.kernel.org/stable/c/72c6aa8e0d74eab91b8694cde97dec088c248fee
- https://git.kernel.org/stable/c/9edefd4c56bee3fe331e0355d1f10a533134999d
- https://git.kernel.org/stable/c/f187dc5a4c4846ffa07d9bda6e760837ed005574
- https://git.kernel.org/stable/c/af791d295737ea6b6ff2c8d8488462a49c14af01
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-64496 · CVE Program
- CVE-2026-64496 · NVD
- FIRST EPSS
- GHSA-hh3r-jgc6-qr6q · GitHub Advisory Database · CC BY 4.0
- CVE-2026-64496 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences