CVE-2022-48927

published 22 Aug 2024 · updated 5 Aug 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 082d2c047b0d305bb0b6e9f9d671a09470e2db2d, Kernel 0cb9b2f73c182d242a640e512f4785c7c504512f and Kernel b7a78a8adaa8849c02f174d707aead0f85dca0da.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.14, >=9374e8f5a38defe90bc65b2decf317c1c62d91dd <082d2c047b0d305bb0b6e9f9d671a09470e2db2d, >=9374e8f5a38defe90bc65b2decf317c1c62d91dd <0cb9b2f73c182d242a640e512f4785c7c504512f, >=9374e8f5a38defe90bc65b2decf317c1c62d91dd <b7a78a8adaa8849c02f174d707aead0f85dca0da082d2c047b0d305bb0b6e9f9d671a09470e2db2d, 0cb9b2f73c182d242a640e512f4785c7c504512f, b7a78a8adaa8849c02f174d707aead0f85dca0da

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48927 severity on Zeptric[![CVE-2022-48927](https://zeptric.io/badge/cve/CVE-2022-48927.svg)](https://zeptric.io/cve/CVE-2022-48927)