CVE-2026-139685

staging: iio: adc: ad7816: Fix DMA safety issues in SPI transfers

No CVSS score yet EPSS 0.18%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-139685

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139685 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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).

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.49% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7924425db04a6107e49312edf53c158590d52aae, before bc33db8baeebfa061cc1c998391629f016fc63fa
affected from 7924425db04a6107e49312edf53c158590d52aae, before ab1a3a906040d21ecc8552e20c21da53ebdf0d9a
affected from 7924425db04a6107e49312edf53c158590d52aae, before f86fcec514be94cbbb49cfc67b10809b8f739e69
affected from 7924425db04a6107e49312edf53c158590d52aae, before 0d7a0fed2e93e45194c3da5e2d5b8edb5ac87f33
affected from 7924425db04a6107e49312edf53c158590d52aae, before 8a8145d566d71da3e4fe750df91a239f40e808ec
affected from 7924425db04a6107e49312edf53c158590d52aae, before 6b1a74ae9038a9ace83e1091f29e77d3a657175c
affected from 7924425db04a6107e49312edf53c158590d52aae, before 96f269ae4b18dd0819d70fab7ddaabf6e28c7de6
affected from 7924425db04a6107e49312edf53c158590d52aae, before 69fa76f0af3414cc189c3b0b807cb59e327ecc00
Other versions: unaffected
Linux
affected 2.6.38
unaffected before 2.6.38
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.119 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.6 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139685 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139685

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139685
trivy image --scanners vuln IMAGE | grep CVE-2026-139685

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139685 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.