CVE-2022-49032·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw KASAN report out-of-bounds read as follows: BUG: KASAN: global-out-of-bounds in afe4404_read_raw+0x2ce/0x380 Read of size 4 at addr ffffffffc00e4658 by task cat/278 Call Trace: afe4404_read_raw iio_read_channel_info dev_attr_show The buggy address belongs to the variable: afe4404_channel_leds+0x18/0xffffffffffffe9c0 This issue can be reproduce by singe command: $ cat /sys/bus/i2c/devices/0-0058/iio\:device0/in_intensity6_raw The array size of afe4404_channel_leds and afe4404_channel_offdacs are less than channels, so access with chan->address cause OOB read in afe4404_[read|write]_raw. Fix it by moving access before use them.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.0.12
- Published
- 2024-10-21
Affected versions
From: 5.16
Until: 6.0.12
Fixed in: 6.0.12
How to fix this CVE
Update your Linux kernel to version 6.0.12 or later to resolve an out-of-bounds memory read vulnerability in the AFE4404 health monitoring driver. This flaw could allow local attackers with low privileges to read sensitive kernel memory or trigger system crashes. Apply kernel updates through your distribution's package manager and reboot to activate the patched version.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with 'uname -r' and verify it is 6.0.12 or later
- Step 2: Confirm AFE4404 device presence by running 'ls -la /sys/bus/i2c/devices/ | grep 0058'
- Step 3: Search system logs for kernel panics or KASAN errors related to afe4404 using 'sudo journalctl -xe | grep -i afe4404'
- Step 4: After patching, verify the new kernel is active with 'uname -r' and confirm it matches the expected fixed version
FAQ
What is CVE-2022-49032?
This is an out-of-bounds memory read vulnerability in the Linux kernel's AFE4404 health monitoring driver. When accessing specific sysfs attributes, the driver attempts to read beyond allocated array bounds, potentially exposing kernel memory or causing a denial of service.
Is CVE-2022-49032 being actively exploited?
No. This vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, and no public exploits have been released for it.
What versions of Kernel are affected by CVE-2022-49032?
Linux kernel versions 5.16 through 6.0.11 are vulnerable. The fix is available in kernel 6.0.12 and later stable releases.
How do I check if my server is vulnerable to CVE-2022-49032?
Run 'uname -r' to display your kernel version. If the output shows a version between 5.16 and 6.0.11, your system is vulnerable. Additionally, check if the i2c device at address 0x0058 is present with 'lspci -k' or 'lsusb'.
Does Defensia detect CVE-2022-49032?
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-49032 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/113c08030a89aaf406f8a1d4549d758a67c2afba
- https://git.kernel.org/stable/c/3f566b626029ca8598d48e5074e56bb37399ca1b
- https://git.kernel.org/stable/c/5eb114f55b37dbc0487aa9c1913b81bb7837f1c4
- https://git.kernel.org/stable/c/68de7da092f38395dde523f2e5db26eba6c23e28
- https://git.kernel.org/stable/c/d45d9f45e7b1365fd0d9bf14680d6d5082a590d1
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49032. Free for 1 server.
Get started free