CVE-2026-72479

iio: accel: mma8452: handle I2C read error(s) in mma8452_read()

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

iio: accel: mma8452: handle I2C read error(s) in mma8452_read()

Currently, If i2c_smbus_read_i2c_block_data() fails but mma8452_set_runtime_pm_state() succeeds, mma8452_read() returns 0.

As a result, the caller mma8452_read_raw() assumes the read was successful and proceeds to use a buffer containing uninitialized stack memory.

Add proper checking of the I2C read return value and propagate errors to the caller.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8 to before b488055e81d9faaaf2f8aaff45f9944040ac4493Affected
  • 96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8 to before f9ec3f3e9cf27dd06cd3725eeaa44e3ce46be893Affected
  • 96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8 to before b4932fc325e84a3233413daf230b043818c8a824Affected
  • 96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8 to before eed69f8a10b82989ad732ace0fb43a9fb4e7fe35Affected
  • 96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8 to before f3d905ea1e4996d933074481e80d96ecd74a9904Affected
  • 96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8 to before 1cddef80a180af74c33d2f26c962ce92b60fded4Affected
  • 96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8 to before f3d413e701c5e54bef736b638967724dda880365Affected
  • 96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8 to before 5bdff291d20c31b365d9ddfe9c426fbfb41da5bbAffected
LinuxLinux
  • 4.7Affected
  • before 4.7Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.