{"id":"CVE-2022-48927","published":"2024-08-22T03:31:19Z","modified":"2026-08-05T08:52:58Z","title":"iio: adc: tsc2046: fix memory corruption by preventing array overflow","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: tsc2046: fix memory corruption by preventing array overflow\n\nOn one side we have indio_dev->num_channels includes all physical channels +\ntimestamp channel. On other side we have an array allocated only for\nphysical channels. So, fix memory corruption by ARRAY_SIZE() instead of\nnum_channels variable.\n\nNote the first case is a cleanup rather than a fix as the software\ntimestamp channel bit in active_scanmask is never set by the IIO core.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00218,"percentile":0.12529,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0cb9b2f73c182d242a640e512f4785c7c504512f","tags":[]},{"url":"https://git.kernel.org/stable/c/082d2c047b0d305bb0b6e9f9d671a09470e2db2d","tags":[]},{"url":"https://git.kernel.org/stable/c/b7a78a8adaa8849c02f174d707aead0f85dca0da","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":2.51},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9374e8f5a38defe90bc65b2decf317c1c62d91dd, < 0cb9b2f73c182d242a640e512f4785c7c504512f",">= 9374e8f5a38defe90bc65b2decf317c1c62d91dd, < 082d2c047b0d305bb0b6e9f9d671a09470e2db2d",">= 9374e8f5a38defe90bc65b2decf317c1c62d91dd, < b7a78a8adaa8849c02f174d707aead0f85dca0da"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:33:02.652045Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53806","exploited":false,"provenance":"source"}}