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

Published May 1, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

Add a DMA-safe buffer and use it for spiread() 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 Software

12 affected components
Linux Linux kernel (iio/adc/ti-adc161s626)
Linux Linux kernel>=4.9<6.1.168
Linux Linux kernel>=6.2<6.6.134
Linux Linux kernel>=6.7<6.12.81
Linux Linux kernel>=6.13<6.18.22
Linux Linux kernel>=6.19<6.19.12
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In ti-adc161s626, ensure all SPI buffers are DMA-safe by using a u8[] buffer for spi_read() (since only up to 3 bytes are needed) instead of __be16/__be32, and adjust the conversion functions as described.

    Linux kernel iio: adc: ti-adc161s626 spi_read() SPI buffer type = use u8[] instead of __be16 and __be32 (update conversion functions accordingly)

Event History

May 1, 2026
CVE Published
via MITRE·02:14 PM
Data Sourced
via MITRE·02:14 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31768?

CVE-2026-31768 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2026-31768?

To fix CVE-2026-31768, ensure that the DMA-safe buffer is used for spi_read() instead of stack memory.

3

Which Linux kernel versions are affected by CVE-2026-31768?

CVE-2026-31768 affects specific versions of the Linux kernel related to the iio ADC driver, particularly the ti-adc161s626.

4

What impact does CVE-2026-31768 have on my system?

CVE-2026-31768 could lead to potential data corruption or system instability if DMA-safe memory is not utilized properly.

5

Who resolved CVE-2026-31768?

CVE-2026-31768 was resolved by the Linux kernel development team with a patch that introduces a DMA-safe buffer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203