CVE-2022-48927

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
22/08/2024
Last modified:
23/08/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> iio: adc: tsc2046: fix memory corruption by preventing array overflow<br /> <br /> On one side we have indio_dev-&gt;num_channels includes all physical channels +<br /> timestamp channel. On other side we have an array allocated only for<br /> physical channels. So, fix memory corruption by ARRAY_SIZE() instead of<br /> num_channels variable.<br /> <br /> Note the first case is a cleanup rather than a fix as the software<br /> timestamp channel bit in active_scanmask is never set by the IIO core.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.14 (including) 5.15.26 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.16.12 (excluding)