CVE-2024-46715
driver: iio: add missing checks on iio_info's callback access
Check your servers for CVE-2024-46715
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-46715 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
driver: iio: add missing checks on iio_info's callback access
Some callbacks from iio_info structure are accessed without any check, so if a driver doesn't implement them trying to access the corresponding sysfs entries produce a kernel oops such as:
[ 2203.527791] Unable to handle kernel NULL pointer dereference at virtual address 00000000 when execute [...] [ 2203.783416] Call trace: [ 2203.783429] iio_read_channel_info_avail from dev_attr_show+0x18/0x48 [ 2203.789807] dev_attr_show from sysfs_kf_seq_show+0x90/0x120 [ 2203.794181] sysfs_kf_seq_show from seq_read_iter+0xd0/0x4e4 [ 2203.798555] seq_read_iter from vfs_read+0x238/0x2a0 [ 2203.802236] vfs_read from ksys_read+0xa4/0xd4 [ 2203.805385] ksys_read from ret_fast_syscall+0x0/0x54 [ 2203.809135] Exception stack(0xe0badfa8 to 0xe0badff0) [ 2203.812880] dfa0: 00000003 b6f10f80 00000003 b6eab000 00020000 00000000 [ 2203.819746] dfc0: 00000003 b6f10f80 7ff00000 00000003 00000003 00000000 00020000 00000000 [ 2203.826619] dfe0: b6e1bc88 bed80958 b6e1bc94 b6e1bcb0 [ 2203.830363] Code: bad PC value [ 2203.832695] ---[ end trace 0000000000000000 ]---
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 29 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 51239600074bc9979b0a0e83b72c726d7dcc3132, before 2b961d5786b4b31c367c719a2f918569b444c007 affected from 51239600074bc9979b0a0e83b72c726d7dcc3132, before 0cc7e0ee31e5c44904e98e2229d591e093282a70 affected from 51239600074bc9979b0a0e83b72c726d7dcc3132, before 72f022ebb9deac28663fa4c04ba315ed5d6654d1 affected from 51239600074bc9979b0a0e83b72c726d7dcc3132, before dc537a72f64890d883d24ae4ac58733fc5bc523d affected from 51239600074bc9979b0a0e83b72c726d7dcc3132, before c4ec8dedca961db056ec85cb7ca8c9f7e2e92252
Other versions: unaffected
|
| Linux |
affected 4.10 unaffected before 4.10 unaffected from 5.15.203 up to and including 5.15.* unaffected from 6.1.109 up to and including 6.1.* unaffected from 6.6.50 up to and including 6.6.* unaffected from 6.10.9 up to and including 6.10.* unaffected 6.11 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-46715 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-46715
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-46715
trivy image --scanners vuln IMAGE | grep CVE-2024-46715
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2b961d5786b4b31c367c719a2f918569b444c007 git.kernel.org
- https://git.kernel.org/stable/c/0cc7e0ee31e5c44904e98e2229d591e093282a70 git.kernel.org
- https://git.kernel.org/stable/c/72f022ebb9deac28663fa4c04ba315ed5d6654d1 git.kernel.org
- https://git.kernel.org/stable/c/dc537a72f64890d883d24ae4ac58733fc5bc523d git.kernel.org
- https://git.kernel.org/stable/c/c4ec8dedca961db056ec85cb7ca8c9f7e2e92252 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-46715 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse