CVE-2024-46715

driver: iio: add missing checks on iio_info's callback access

MEDIUM
5.5
CVSS Score
Published: September 18, 2024 at 06:32 AM UTC
Updated: June 17, 2026 at 07:55 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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 ]---

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.1094.10 ≤ v < 5.15.2034.10 ≤ v < 6.1.1094.10 ≤ v < 6.10.94.10 ≤ v < 6.114.10 ≤ v < 6.6.506.2 ≤ v < 6.6.506.7 ≤ v < 6.10.94.1051239600074bc9979b0a0e83b72c726d7dcc3132
Vendor states this is fixed in 0cc7e0ee31e5c44904e98e2229d591e093282a70 (fixed)
Vendor states this is fixed in 2b961d5786b4b31c367c719a2f918569b444c007 (fixed)
Vendor states this is fixed in 72f022ebb9deac28663fa4c04ba315ed5d6654d1 (fixed)
Vendor states this is fixed in c4ec8dedca961db056ec85cb7ca8c9f7e2e92252 (fixed)
Vendor states this is fixed in dc537a72f64890d883d24ae4ac58733fc5bc523d (fixed)
Vendor states this is fixed in 4.10 (unaffected)
Vendor states this is fixed in 5.15.203 (unaffected)
Vendor states this is fixed in 6.1.109 (unaffected)
Vendor states this is fixed in 6.10.9 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.50 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card