Security mailing lists by PureSourceCode

CVE-2026-139685

not scored yet

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

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

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 7924425db04a6107e49312edf53c158590d52aae, < bc33db8baeebfa061cc1c998391629f016fc63fa; >= 7924425db04a6107e49312edf53c158590d52aae, < ab1a3a906040d21ecc8552e20c21da53ebdf0d9a; >= 7924425db04a6107e49312edf53c158590d52aae, < f86fcec514be94cbbb49cfc67b10809b8f739e69; >= 7924425db04a6107e49312edf53c158590d52aae, < 0d7a0fed2e93e45194c3da5e2d5b8edb5ac87f33; >= 7924425db04a6107e49312edf53c158590d52aae, < 8a8145d566d71da3e4fe750df91a239f40e808ec; >= 7924425db04a6107e49312edf53c158590d52aae, < 6b1a74ae9038a9ace83e1091f29e77d3a657175c; >= 7924425db04a6107e49312edf53c158590d52aae, < 96f269ae4b18dd0819d70fab7ddaabf6e28c7de6; >= 7924425db04a6107e49312edf53c158590d52aae, < 69fa76f0af3414cc189c3b0b807cb59e327ecc00 bc33db8baeebfa061cc1c998391629f016fc63fa, ab1a3a906040d21ecc8552e20c21da53ebdf0d9a, f86fcec514be94cbbb49cfc67b10809b8f739e69, 0d7a0fed2e93e45194c3da5e2d5b8edb5ac87f33, 8a8145d566d71da3e4fe750df91a239f40e808ec, 6b1a74ae9038a9ace83e1091f29e77d3a657175c, 96f269ae4b18dd0819d70fab7ddaabf6e28c7de6, 69fa76f0af3414cc189c3b0b807cb59e327ecc00
CVE List Linux Linux = 2.6.38

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.