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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-09T01:29:49.742Z
- **Modified:** 2026-06-17T06:46:09.260Z

## Who should check

- Anyone running Linux \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< a8e2ae6296d56478fb98ae7f739846ed121f154f; \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< 77b689cc27d489b75d33f1a368356d70eb0ce08c; \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< 13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1; \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< a41e19cc0d6b6a445a4133170b90271e4a2553dc
- Anyone running Linux 4.5

## 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.

## Affected and fixed versions

- Linux: \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< a8e2ae6296d56478fb98ae7f739846ed121f154f; \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< 77b689cc27d489b75d33f1a368356d70eb0ce08c; \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< 13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1; \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< a41e19cc0d6b6a445a4133170b90271e4a2553dc (cvelist)
- Linux: 4.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53834. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53834.md
Affected: Linux >= c43a102e67db99c8bfe6e8a9280cec13ff53b789, < a8e2ae6296d56478fb98ae7f739846ed121f154f; >= c43a102e67db99c8bfe6e8a9280cec13ff53b789, < 77b689cc27d489b75d33f1a368356d70eb0ce08c; >= c43a102e67db99c8bfe6e8a9280cec13ff53b789, < 13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1; >= c43a102e67db99c8bfe6e8a…
Fixed in: Linux 77b689cc27d489b75d33f1a368356d70eb0ce08c, Linux 13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53834 being exploited?

There is no confirmed exploitation: CVE-2023-53834 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53834?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53834?

Linux \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< a8e2ae6296d56478fb98ae7f739846ed121f154f; \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< 77b689cc27d489b75d33f1a368356d70eb0ce08c; \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< 13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1; \>= c43a102e67db99c8bfe6e8a9280cec13ff53b789, \< a41e19cc0d6b6a445a4133170b90271e4a2553dc; Linux 4.5.

### Is there a fix for CVE-2023-53834?

Yes. Fixed in Linux 77b689cc27d489b75d33f1a368356d70eb0ce08c, Linux 13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53834?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a8e2ae6296d56478fb98ae7f739846ed121f154f>
- other: <https://git.kernel.org/stable/c/77b689cc27d489b75d33f1a368356d70eb0ce08c>
- other: <https://git.kernel.org/stable/c/13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1>
- other: <https://git.kernel.org/stable/c/a41e19cc0d6b6a445a4133170b90271e4a2553dc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53834>

HTML: <https://flawdb.com/CVE-2023-53834> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53834>
