CVE-2022-48927·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.16.12
- Published
- 2024-08-22
Affected versions
From: 5.16
Until: 5.16.12
Fixed in: 5.16.12
How to fix this CVE
Update your Linux kernel to version 5.16.12 or later to patch an array overflow vulnerability in the TSC2046 ADC driver that could lead to memory corruption. Systems running kernel versions 5.16 through 5.16.11 should apply this update immediately, particularly if the TSC2046 touch screen controller driver is in use. Reboot after applying the kernel update to activate the security fix.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with `uname -r` and verify it is not in the 5.16.0 to 5.16.11 range
- Step 2: Confirm TSC2046 driver is loaded by running `lsmod | grep tsc2046` or checking `cat /proc/modules | grep tsc2046`
- Step 3: Review kernel logs for memory corruption indicators with `sudo dmesg | grep -i 'memory\|corruption\|overflow'` and `sudo journalctl -xe | grep -i 'tsc2046\|adc'`
- Step 4: After patching, verify the new kernel version is active with `uname -r` and confirm it shows 5.16.12 or higher
FAQ
What is CVE-2022-48927?
This is a memory corruption vulnerability in the Linux kernel's TSC2046 ADC (analog-to-digital converter) driver caused by an array indexing error. The driver incorrectly uses the channel count variable which includes a timestamp channel, causing writes beyond the allocated array bounds.
Is CVE-2022-48927 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, the high CVSS score of 7.8 warrants prompt patching.
What versions of Kernel are affected by CVE-2022-48927?
Linux kernel versions 5.16.0 through 5.16.11 are vulnerable. The fix is included in kernel 5.16.12 and later versions.
How do I check if my server is vulnerable to CVE-2022-48927?
Run `uname -r` to get your kernel version and compare against the vulnerable range 5.16.0–5.16.11. Additionally, check if TSC2046 is in use with `lsmod | grep tsc2046`.
Does Defensia detect CVE-2022-48927?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-48927 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48927. Free for 1 server.
Get started free