CVE-2022-48927
kernel: iio: adc: tsc2046: fix memory corruption by preventing array overflow
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 22, 2024
Updated · August 4, 2026
Description
A vulnerability was found in the Linux kernel's ti-tsc2046.c driver where a potential array overflow is possible due to a mismatch between the array allocation size in the functions tsc2046_adc_update_scan_mode() and tsc2046_adc_setup_spi_msg(). This is caused by the indio_dev->num_channels value, which includes both physical channels and the timestamp channel, while the array allocation size in the aforementioned functions was made only for the physical channels. This vulnerability can lead to memory corruption.
Statement
Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability in question does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue, and no further action or mitigation is necessary for systems running this operating system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')