CVE-2023-53834
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2023
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
iio: adc: ina2xx: avoid NULL pointer dereference on OF device match
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| c43a102e67db99c8bfe6e8a9280cec13ff53b789 | affected | git | a8e2ae6296d56478fb98ae7f739846ed121f154f | Unavailable | None listed |
| c43a102e67db99c8bfe6e8a9280cec13ff53b789 | affected | git | 77b689cc27d489b75d33f1a368356d70eb0ce08c | Unavailable | None listed |
| c43a102e67db99c8bfe6e8a9280cec13ff53b789 | affected | git | 13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1 | Unavailable | None listed |
| c43a102e67db99c8bfe6e8a9280cec13ff53b789 | affected | git | a41e19cc0d6b6a445a4133170b90271e4a2553dc | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.5 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 4.5 | Unavailable | None listed |
| 5.15.127 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.1.46 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.4.11 | unaffected | semver | Unavailable | 6.4.* | None listed |
| 6.5 | unaffected | original_commit_for_fix | Unavailable | * | None listed |