CVE-2026-31768
JSON

7.8high

iio: adc: ti-adc161s626: use DMA-safe memory for spi_read()

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-adc161s626: use DMA-safe memory for spi_read() Add a DMA-safe buffer and use it for spi_read() instead of a stack memory. All SPI buffers must be DMA-safe. Since we only need up to 3 bytes, we just use a u8[] instead of __be16 and __be32 and change the conversion functions appropriately.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4d671b71beefbfc145b971a11e0c3cabde94b673 before b3bb8faeca1a2ef7be95ee8a512b639f9ffce947, from 4d671b71beefbfc145b971a11e0c3cabde94b673 before fa64aab25aba47296aa8d12bb4c88ec3fecb2054, from 4d671b71beefbfc145b971a11e0c3cabde94b673 before 67b3a91bdc48220bfb67155ab528121b9c822782, from 4d671b71beefbfc145b971a11e0c3cabde94b673 before 014c6d27878d3883f7bb065610768fd021de1a96, from 4d671b71beefbfc145b971a11e0c3cabde94b673 before d2d031b0786ea66ab0577c9d2d71435068d32199, from 4d671b71beefbfc145b971a11e0c3cabde94b673 before 768461517a28d80fe81ea4d5d03a90cd184ea6ad, 4.9
Not affected: before 4.9, from 6.1.168 up to 6.1.*, from 6.6.134 up to 6.6.*, from 6.12.81 up to 6.12.*, from 6.18.22 up to 6.18.*, from 6.19.12 up to 6.19.*
CVE List
linux linux_kernelfrom 4.9 before 6.1.168, from 6.2 before 6.6.134, from 6.7 before 6.12.81, from 6.13 before 6.18.22, from 6.19 before 6.19.12, 7.0NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-adc161s626: use DMA-safe memory for spi_read() Add a DMA-safe buffer and use it for spi_read() instead of a stack memory. All SPI buffers must be DMA-safe. Since we only need up to 3 bytes, we just use a u8[] instead of __be16 and __be32 and change the conversion functions appropriately.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: iio: adc: ti-adc161s626: usar memoria segura para DMA para spi_read() Añadir un búfer seguro para DMA y usarlo para spi_read() en lugar de una memoria de pila. Todos los búferes SPI deben ser seguros para DMA. Dado que solo necesitamos hasta 3 bytes, simplemente usamos un u8[] en lugar de __be16 y __be32 y cambiamos las funciones de conversión apropiadamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31768 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-31768 changed 2026-11-11Public domain