CVE-2026-89996
Patch priority
RegularFix with the next regular update.
- CVSS
- –
- Severity
- –
- EPSS
- 0.2 %
- Percentile
- 14
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- How an attack works has not been rated yet.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: dma-buf: dma-heap: don't publish fd before copy_to_user() succeeds DMA_HEAP_IOCTL_ALLOC allocates a dma-buf and installs an fd into the caller's fd table via dma_buf_fd() -> fd_install() before dma_heap_ioctl() copies the result back to userspace. If the trailing copy_to_user() fails, userspace never learns the fd number, but the fd (and the underlying dma-buf reference) are already visible to other threads in the same process and are leaked for the lifetime of the process. The obvious "close it on the failure path" fix is unsafe: once fd_install() has run, another thread can already dup() the fd, send it via SCM_RIGHTS, or close() it and let its number be reused, so a subsequent close_fd() from the ioctl path can operate on an unrelated file. This was pointed out by Christian König on v1 [1]. Restructure the allocation path so that fd_install() is the last, unfailable step of a successful ioctl: 1. heap->ops->allocate() creates the dma_buf. 2. get_unused_fd_flags() reserves an fd number in the caller's fd table without publishing it, so no other thread can observe it. 3. copy_to_user() delivers the fd number to userspace; on failure the fd is returned with put_unused_fd() and the dma_buf reference is dropped with dma_buf_put(), leaving no user- visible state behind. 4. dma_buf_fd_install() publishes the fd and emits the trace_dma_buf_fd tracepoint -- from here on the ioctl cannot fail. A new dma_buf_fd_install() helper is introduced in dma-buf.c to wrap fd_install() together with the DMA_BUF_TRACE() call, preserving the export tracing that dma_buf_fd() provides. dma_heap_ioctl_allocate() is refactored to return the struct dma_buf * directly (returning ERR_PTR on failure) so the caller holds the dmabuf reference across steps 3 and 4. The failure at step 3 is easily reachable from userspace: pass a struct dma_heap_allocation_data that lives in a page whose protection is flipped to PROT_READ between copy_from_user() and copy_to_user() (e.g. via mprotect()). Before this change each such ioctl leaks one dmabuf fd; after it, the fd table is unchanged on failure and only /dev/dma_heap/<name> remains open. No UAPI or heap-driver interface change. [1] https://lore.kernel.org/dri-devel/175e98de-f414-47d7-81c1-c0fe0a8f7f62@amd.com/
- Published
- 16.09.2026
- Modified
- 30.10.2026
- Status
- Received
Vendor updates
17- Ubuntu: USN-9192-1 – Linux kernel (NVIDIA) vulnerabilities 24.11.2026 · Critical · Patch day
- Ubuntu: USN-9183-1 – Linux kernel (FIPS) vulnerabilities 20.11.2026 · Critical · Patch day
- Ubuntu: USN-9160-1 – Linux kernel (Azure) vulnerabilities 19.11.2026 · Critical · Patch day
- Ubuntu: USN-9091-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 13.11.2026 · Critical · Patch day
- Ubuntu: USN-9066-1 – Linux kernel (HWE) vulnerabilities 12.11.2026 · Critical · Patch day
- Ubuntu: USN-9040-1 – Linux kernel (Low Latency NVIDIA) vulnerabilities 11.11.2026 · Critical · Patch day
- Ubuntu: USN-9039-1 – Linux kernel (Azure CVM) vulnerabilities 11.11.2026 · Critical · Patch day
- Ubuntu: USN-9022-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9024-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9025-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9026-1 – Linux kernel (Azure) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9023-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9020-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9021-1 – Linux kernel (Raspberry Pi) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9019-1 – Linux kernel (Azure) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-8959-1 – Linux kernel vulnerabilities 03.11.2026 · Critical · Patch day
- Ubuntu: USN-8960-1 – Linux kernel (OEM) vulnerabilities 03.11.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.