Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2022-48927
HistoryAug 22, 2024 - 3:31 a.m.

CVE-2022-48927 iio: adc: tsc2046: fix memory corruption by preventing array overflow

2024-08-2203:31:19
Linux
github.com
1
linux kernel
vulnerability
iio
adc
tsc2046
memory corruption
array overflow

AI Score

6.8

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

In the Linux kernel, the following vulnerability has been resolved:

iio: adc: tsc2046: fix memory corruption by preventing array overflow

On one side we have indio_dev->num_channels includes all physical channels +
timestamp channel. On other side we have an array allocated only for
physical channels. So, fix memory corruption by ARRAY_SIZE() instead of
num_channels variable.

Note the first case is a cleanup rather than a fix as the software
timestamp channel bit in active_scanmask is never set by the IIO core.

AI Score

6.8

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial