CVE-2024-46715: driver: iio: add missing checks on iio_info's callback access

Published Sep 18, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

Some callbacks from iioinfo 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] iioreadchannelinfoavail from devattrshow+0x18/0x48 [ 2203.789807] devattrshow from sysfskfseqshow+0x90/0x120 [ 2203.794181] sysfskfseqshow from seqreaditer+0xd0/0x4e4 [ 2203.798555] seqreaditer from vfsread+0x238/0x2a0 [ 2203.802236] vfsread from ksysread+0xa4/0xd4 [ 2203.805385] ksysread from retfastsyscall+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 Software

5 affected componentsFixes available
Linux Linux kernel<6.1.109
Linux Linux kernel>=6.2<6.6.50
Linux Linux kernel>=6.7<6.10.9
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1

Event History

Sep 18, 2024
CVE Published
via MITRE·06:32 AM
Data Sourced
via MITRE·06:32 AM
Description
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 1, 2025
Data Sourced
via Ubuntu·08:38 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46715?

CVE-2024-46715 has a high severity rating due to potential unauthorized access to certain sysfs entries.

2

How do I fix CVE-2024-46715?

To fix CVE-2024-46715, update your Linux kernel to versions 6.1.123-1, 6.1.119-1, or 6.12.11-1 or apply the relevant patches.

3

Which systems are affected by CVE-2024-46715?

CVE-2024-46715 affects specific versions of the Linux kernel, particularly those between 5.10.223-1 and 6.6.50, and 6.10.9 and 6.7.

4

What component of the Linux kernel does CVE-2024-46715 affect?

CVE-2024-46715 primarily affects the iio_info structure access in the driver subsystem of the Linux kernel.

5

Is there a known exploit for CVE-2024-46715?

As of now, there are no publicly known exploits specifically targeting CVE-2024-46715.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203