0.0
NA
CVE-2026-139685
staging: iio: adc: ad7816: Fix DMA safety issues in SPI transfers
Description

In the Linux kernel, the following vulnerability has been resolved: staging: iio: adc: ad7816: Fix DMA safety issues in SPI transfers The SPI operations in this driver are not DMA safe: 1. spi_read() uses a stack-allocated buffer. 2. spi_write() in ad7816_spi_read() uses a struct member that shares a cacheline with other variables. 3. spi_write() in ad7816_spi_write() passes a stack parameter by reference. Fix these violations by replacing all spi_read() and spi_write() calls with spi_write_then_read(). This safely handles DMA by internally allocating a bounce buffer for the transfers, avoiding cacheline sharing issues without needing dedicated aligned buffers. This implicitly corrects the size argument in read to sizeof(buf).

INFO

Published Date :

Nov. 30, 2026, 2:19 p.m.

Last Modified :

Nov. 30, 2026, 2:19 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-139685 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Fix DMA safety issues in SPI transfers by using spi_write_then_read.
  • Replace spi_read() and spi_write() with spi_write_then_read().
  • Ensure SPI transfers use bounce buffers for DMA safety.
  • Update the driver to correct size arguments in read operations.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139685 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139685 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139685 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139685 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: staging: iio: adc: ad7816: Fix DMA safety issues in SPI transfers The SPI operations in this driver are not DMA safe: 1. spi_read() uses a stack-allocated buffer. 2. spi_write() in ad7816_spi_read() uses a struct member that shares a cacheline with other variables. 3. spi_write() in ad7816_spi_write() passes a stack parameter by reference. Fix these violations by replacing all spi_read() and spi_write() calls with spi_write_then_read(). This safely handles DMA by internally allocating a bounce buffer for the transfers, avoiding cacheline sharing issues without needing dedicated aligned buffers. This implicitly corrects the size argument in read to sizeof(buf).
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139685.json">CVE-2026-139685</a>
    Added Reference https://git.kernel.org/stable/c/0d7a0fed2e93e45194c3da5e2d5b8edb5ac87f33
    Added Reference https://git.kernel.org/stable/c/69fa76f0af3414cc189c3b0b807cb59e327ecc00
    Added Reference https://git.kernel.org/stable/c/6b1a74ae9038a9ace83e1091f29e77d3a657175c
    Added Reference https://git.kernel.org/stable/c/8a8145d566d71da3e4fe750df91a239f40e808ec
    Added Reference https://git.kernel.org/stable/c/96f269ae4b18dd0819d70fab7ddaabf6e28c7de6
    Added Reference https://git.kernel.org/stable/c/ab1a3a906040d21ecc8552e20c21da53ebdf0d9a
    Added Reference https://git.kernel.org/stable/c/bc33db8baeebfa061cc1c998391629f016fc63fa
    Added Reference https://git.kernel.org/stable/c/f86fcec514be94cbbb49cfc67b10809b8f739e69
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.