CVE-2023-53834
Last modified
CVE-2023-53834 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: iio: adc: ina2xx: avoid NULL pointer dereference on OF device match The affected lines were resulting in a NULL pointer dereference on our platform because the device tree contained the following list of compatible strings: power-sensor@40 { compatible = "ti,ina232", "ti,ina231"; ... }; Since the driver doesn't declare a compatible string "ti,ina232", the OF matching succeeds on "ti,ina231". But the I2C device ID info is populated via the first compatible string, cf. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ina2xx: avoid NULL pointer dereference on OF device match The affected lines were resulting in a NULL pointer dereference on our platform because the device tree contained the following list of compatible strings: power-sensor@40 { compatible = "ti,ina232", "ti,ina231"; ... }; Since the driver doesn't declare a compatible string "ti,ina232", the OF matching succeeds on "ti,ina231". But the I2C device ID info is populated via the first compatible string, cf. modalias population in of_i2c_get_board_info(). Since there is no "ina232" entry in the legacy I2C device ID table either, the struct i2c_device_id *id pointer in the probe function is NULL. Fix this by using the already populated type variable instead, which points to the proper driver data. Since the name is also wanted, add a generic one to the ina2xx_config table.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= c43a102e67db99c8bfe6e8a9280cec13ff53b789, < a8e2ae6296d56478fb98ae7f739846ed121f154f; >= c43a102e67db99c8bfe6e8a9280cec13ff53b789, < 77b689cc27d489b75d33f1a368356d70eb0ce08c; >= c43a102e67db99c8bfe6e8a9280cec13ff53b789, < 13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1; >= c43a102e67db99c8bfe6e8a9280cec13ff53b789, < a41e19cc0d6b6a445a4133170b90271e4a2553dc |
| Linux | Linux | 4.5 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2023-53834?
How severe is CVE-2023-53834?
How do I fix CVE-2023-53834?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-53829In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-5383The Funnelforms Free plugin for WordPress is vulnerable to C…4.3
- CVE-2023-53830In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53831In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53832In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53833In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53835Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2023-53836In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53837In the Linux kernel, the following vulnerability has been re…
- CVE-2023-53838In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53839In the Linux kernel, the following vulnerability has been re…
- CVE-2023-5384A flaw was found in Infinispan. When serializing the configu…2.7
Are you affected by CVE-2023-53834?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
