# CVE-2023-53834: iio: adc: ina2xx: avoid NULL pointer dereference on OF device match

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-12-09 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-53834, DEBIAN-CVE-2023-53834
- Record: https://cvemate.com/vulnerability/CVE-2023-53834 · JSON: https://cvemate.com/vulnerability/CVE-2023-53834/json

## Description

```text
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.
```

## Signals

- CVSS: none published
- EPSS: 0.262%, percentile 19.104%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 126)

- debian linux (Debian): \< 6.1.52-1 \| \< 6.4.11-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-91.101
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1051.56
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1051.56~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1053.61
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/a8e2ae6296d56478fb98ae7f739846ed121f154f>
- <https://git.kernel.org/stable/c/77b689cc27d489b75d33f1a368356d70eb0ce08c>
- <https://git.kernel.org/stable/c/13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1>
- <https://git.kernel.org/stable/c/a41e19cc0d6b6a445a4133170b90271e4a2553dc>
- <https://ubuntu.com/security/CVE-2023-53834>
- <https://www.cve.org/CVERecord?id=CVE-2023-53834>
- <https://git.kernel.org/linus/a41e19cc0d6b6a445a4133170b90271e4a2553dc>
- <https://security-tracker.debian.org/tracker/CVE-2023-53834>

---

Data as of 2026-12-06T04:32:59.946Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
