SocWatch

CVE-2026-90012

Kritisch 9,8

In the Linux kernel, the following vulnerability has been resolved: spi: Fix DMA mapping ownership on partial map failure If RX mapping fails after TX mapping s...

CVSS
9,8 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
0,63 % (höher als 51,4 % aller Lücken)
Veröffentlicht
16.09.2026
Zuletzt geändert
19.10.2026

Beschreibung

In the Linux kernel, the following vulnerability has been resolved: spi: Fix DMA mapping ownership on partial map failure If RX mapping fails after TX mapping succeeds, __spi_map_msg() unmaps TX but leaves tx_sg_mapped set. If TX mapping fails on a later transfer, mappings created for earlier transfers remain active. In both cases, cur_{tx,rx}_dma_dev have not yet been updated because they are assigned only after every transfer has been mapped. The subsequent spi_unmap_msg() may therefore unmap the TX mapping again or release earlier mappings using a NULL or stale device. Using a NULL device can trigger an oops. An empty SG table does not prevent the NULL dereference because dma_unmap_sg_attrs() accesses the device before checking the entry count. Publish both mapping devices before mapping starts and unwind all failures through __spi_unmap_msg(). This clears the mapping flags and releases each mapping once with the device that created it. Publishing the devices before the loop also refreshes them when no transfer needs mapping. No mapping flag is set in that case, so current users do not use the pointers as mapping owners.

Betroffene Pakete

Paket Betroffen Behoben in
Debian:12 linux-6.12 alle Versionen vor 6.12.111-1~deb12u1 6.12.111-1~deb12u1
Debian:13 linux alle Versionen vor 6.12.111-1 6.12.111-1
Ubuntu:22.04:LTS linux-aws-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-aws-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-aws-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-azure-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-azure-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-azure-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-gcp-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-gcp-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-gcp-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-hwe-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-hwe-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-hwe-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-lowlatency-hwe-5.19 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.2 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:22.04:LTS linux-oracle-6.5 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-aws-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-aws-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-aws-7.0 alle Versionen vor 7.0.0-1017.18~24.04.1 7.0.0-1017.18~24.04.1
Ubuntu:24.04:LTS linux-azure-6.11 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-azure-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-azure-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-azure-7.0 alle Versionen vor 7.0.0-1020.21~24.04.2 7.0.0-1020.21~24.04.2
Ubuntu:24.04:LTS linux-gcp-6.11 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-gcp-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-gcp-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-gcp-7.0 alle Versionen vor 7.0.0-1017.19~24.04.1 7.0.0-1017.19~24.04.1
Ubuntu:24.04:LTS linux-hwe-6.11 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-hwe-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-hwe-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-hwe-7.0 alle Versionen vor 7.0.0-42.42~24.04.1 7.0.0-42.42~24.04.1
Ubuntu:24.04:LTS linux-lowlatency-hwe-6.11 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-oracle-6.14 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-oracle-6.17 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS linux-oracle-7.0 alle Versionen vor 7.0.0-1016.18~24.04.1 7.0.0-1016.18~24.04.1

Quellen

Weitere Kennungen

UBUNTU-CVE-2026-90012 · DEBIAN-CVE-2026-90012

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.