CVE-2026-31768

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

State
Published
Severity
7.8 High
Published
May 1, 2026
Updated
Oct 15, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4d671b71beefbfc145b971a11e0c3cabde94b673 to before b3bb8faeca1a2ef7be95ee8a512b639f9ffce947Affected
  • 4d671b71beefbfc145b971a11e0c3cabde94b673 to before fa64aab25aba47296aa8d12bb4c88ec3fecb2054Affected
  • 4d671b71beefbfc145b971a11e0c3cabde94b673 to before 67b3a91bdc48220bfb67155ab528121b9c822782Affected
  • 4d671b71beefbfc145b971a11e0c3cabde94b673 to before 014c6d27878d3883f7bb065610768fd021de1a96Affected
  • 4d671b71beefbfc145b971a11e0c3cabde94b673 to before d2d031b0786ea66ab0577c9d2d71435068d32199Affected
  • 4d671b71beefbfc145b971a11e0c3cabde94b673 to before 768461517a28d80fe81ea4d5d03a90cd184ea6adAffected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 6.1.168 through 6.1.*Not affected
  • 6.6.134 through 6.6.*Not affected
  • 6.12.81 through 6.12.*Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.