CVE-2022-48927 iio: adc: tsc2046: fix memory corruption by preventing array overflow
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.14
해결 버전
- 5.14 미만
- 5.15.26 이상
- 5.16.12 이상