Advisory
UBUNTU-CVE-2026-99164
Also known as: CVE-2026-99164
Summary
The record has no summary.
Details
In the Linux kernel, the following vulnerability has been resolved: spi: imx: fix slab corruption from undersized DMA bounce buffers Since commit faa8e404ad8e ("spi: imx: support dynamic burst length for ECSPI DMA mode"), the driver allocates its private DMA TX/RX buffers with kzalloc(dma_len), where dma_len is only rounded up to 4 bytes, but maps, syncs and unmaps them with DMA_CACHE_ALIGNED_LEN(dma_len), i.e. rounded up to the cache line size. As a result, the DMA API operates on memory beyond the end of the allocation. This was observed on a custom i.MX8MP platform with an mcp251xfd CAN controller under heavy RPMSG load, as a series of refcount_t warnings triggered from rpmsg_recv_done() in virtio_rpmsg_bus: refcount_t: addition on 0; use-after-free. refcount_t: underflow; use-after-free. refcount_t: saturated; leaking memory. Leading finally to an "Unable to handle kernel paging request" oops. Reproducing this problem took between 30 minutes and roughly 30 hours under the same workload. Hardware watchpoints on the refcount of a struct rpmsg_endpoint showed it was overwritten from 2 to 1 by __pi_memcpy_generic() in the irq/155-spi2.0 thread. Additionally it was found that a "normal" rpmsg_recv_done() took 11µs +/-2µs from its kref_get to kref_put. In the error case the same sequence took about 215µs +/-10µs. Based on this, an LLM was used to identify the size mismatch fixed here. Allocate the buffers with DMA_CACHE_ALIGNED_LEN(dma_len) so they cover the full mapped length, and use the same length for dma_sync_single_for_cpu() to stay consistent with map and unmap. With this patch applied, the same workload ran for more than 200 hours without the problem reproducing.
Severity
High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Dates
- Published
- 2026-10-28 11:17 UTC
- Modified
- 2026-11-17 18:24 UTC
Affected packages and fixes
| Package | System | Affected | Fix |
|---|---|---|---|
| linux-hwe-edge | Debian packages (deb) · Ubuntu 16.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.0 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-azure | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-azure-edge | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gcp | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gke-4.15 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gke-5.4 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gkeop-5.4 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-hwe | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-edge | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-oem | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.0 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gke | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gke-5.15 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gkeop | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gkeop-5.15 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-intel-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.10 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.14 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.6 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-raspi2 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-allwinner-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-intel-iot-realtime | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.17 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.0 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.1 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-realtime | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-starfive-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-starfive-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-starfive-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.14 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.17 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-aws-7.0 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.14 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.17 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-7.0 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde-6.14 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde-6.17 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde-7.0 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-nvidia-6.14 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.14 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.17 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-7.0 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.14 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-7.0 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-6.17 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-7.0 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.14 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.8 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-6.14 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-6.17 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-7.0 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-raspi-realtime | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-realtime | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-6.14 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-6.17 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-7.0 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux | Debian packages (deb) · Ubuntu 26.10 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-aws | Debian packages (deb) · Ubuntu 26.10 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure | Debian packages (deb) · Ubuntu 26.10 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-fde | Debian packages (deb) · Ubuntu 26.10 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp | Debian packages (deb) · Ubuntu 26.10 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oracle | Debian packages (deb) · Ubuntu 26.10 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-raspi | Debian packages (deb) · Ubuntu 26.10 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-realtime | Debian packages (deb) · Ubuntu 26.10 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-riscv | Debian packages (deb) · Ubuntu 26.10 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-aws | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-azure | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-gcp | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-gke | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-ibm | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-bos | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-oem-7.0 | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-oracle | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-raspi | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-realtime | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
| linux-vmware | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0