cveboard RSS feed

CVE-2023-53834

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2023
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

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
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
c43a102e67db99c8bfe6e8a9280cec13ff53b789affectedgita8e2ae6296d56478fb98ae7f739846ed121f154fUnavailableNone listed
c43a102e67db99c8bfe6e8a9280cec13ff53b789affectedgit77b689cc27d489b75d33f1a368356d70eb0ce08cUnavailableNone listed
c43a102e67db99c8bfe6e8a9280cec13ff53b789affectedgit13f3ce53b65aa8b44cad7039d31e62c9ffd6c5d1UnavailableNone listed
c43a102e67db99c8bfe6e8a9280cec13ff53b789affectedgita41e19cc0d6b6a445a4133170b90271e4a2553dcUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.5affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.5UnavailableNone listed
5.15.127unaffectedsemverUnavailable5.15.*None listed
6.1.46unaffectedsemverUnavailable6.1.*None listed
6.4.11unaffectedsemverUnavailable6.4.*None listed
6.5unaffectedoriginal_commit_for_fixUnavailable*None listed