iio: adc: ti-adc161s626: use DMA-safe memory for spi_read()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 4d671b71beefbfc145b971a11e0c3cabde94b673 · fixed in b3bb8faeca1a2ef7be95ee8a512b639f9ffce947; From 4d671b71beefbfc145b971a11e0c3cabde94b673 · fixed in fa64aab25aba47296aa8d12bb4c88ec3fecb2054; From 4d671b71beefbfc145b971a11e0c3cabde94b673 · fixed in 67b3a91bdc48220bfb67155ab528121b9c822782; From 4d671b71beefbfc145b971a11e0c3cabde94b673 · fixed in 014c6d27878d3883f7bb065610768fd021de1a96; From 4d671b71beefbfc145b971a11e0c3cabde94b673 · fixed in d2d031b0786ea66ab0577c9d2d71435068d32199; From 4d671b71beefbfc145b971a11e0c3cabde94b673 · fixed in 768461517a28d80fe81ea4d5d03a90cd184ea6ad
- Linux Linux
4.9
- KernelLinux
From 4.9.0 · fixed in 6.1.168; From 6.2.0 · fixed in 6.6.134; From 6.7.0 · fixed in 6.12.81; From 6.13.0 · fixed in 6.18.22; From 6.19.0 · fixed in 6.19.12