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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | HIGH |
| Integrity Impact | HIGH |
| Availability Impact | HIGH |
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Type: Secondary
Exploitability Score: 1.8
Impact Score: 5.9
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
NVD-CWE-noinfo
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bde165800> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bde166940> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bde165980> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bde165c00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bde1677c0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bcc9b0640> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bde167200> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bfc132300> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702b70374c80> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bde167300> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bde164140> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |