CVE-2026-72479
iio: accel: mma8452: handle I2C read error(s) in mma8452_read()
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.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 17, 2026, 6:19 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Check I2C read return value.
- Propagate I2C read errors to the caller.
- Ensure buffer contains initialized data.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72479.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72479 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72479
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72479 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72479 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'b488055e81d9faaaf2f8aaff45f9944040ac4493', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'f9ec3f3e9cf27dd06cd3725eeaa44e3ce46be893', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'b4932fc325e84a3233413daf230b043818c8a824', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'eed69f8a10b82989ad732ace0fb43a9fb4e7fe35', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'f3d905ea1e4996d933074481e80d96ecd74a9904', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': '1cddef80a180af74c33d2f26c962ce92b60fded4', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'f3d413e701c5e54bef736b638967724dda880365', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': '5bdff291d20c31b365d9ddfe9c426fbfb41da5bb', 'versionType': 'git'}], 'programFiles': ['drivers/iio/accel/mma8452.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.7'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.7', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/iio/accel/mma8452.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'b488055e81d9faaaf2f8aaff45f9944040ac4493', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'f9ec3f3e9cf27dd06cd3725eeaa44e3ce46be893', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'b4932fc325e84a3233413daf230b043818c8a824', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'eed69f8a10b82989ad732ace0fb43a9fb4e7fe35', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'f3d905ea1e4996d933074481e80d96ecd74a9904', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': '1cddef80a180af74c33d2f26c962ce92b60fded4', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'f3d413e701c5e54bef736b638967724dda880365', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': '5bdff291d20c31b365d9ddfe9c426fbfb41da5bb', 'versionType': 'git'}], 'programFiles': ['drivers/iio/accel/mma8452.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.7'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.7', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/iio/accel/mma8452.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'b488055e81d9faaaf2f8aaff45f9944040ac4493', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'f9ec3f3e9cf27dd06cd3725eeaa44e3ce46be893', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'b4932fc325e84a3233413daf230b043818c8a824', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'eed69f8a10b82989ad732ace0fb43a9fb4e7fe35', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'f3d905ea1e4996d933074481e80d96ecd74a9904', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': '1cddef80a180af74c33d2f26c962ce92b60fded4', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': 'f3d413e701c5e54bef736b638967724dda880365', 'versionType': 'git'}, {'status': 'affected', 'version': '96c0cb2bbfe0a58bd0c37cf34d50a20f9cd75aa8', 'lessThan': '5bdff291d20c31b365d9ddfe9c426fbfb41da5bb', 'versionType': 'git'}], 'programFiles': ['drivers/iio/accel/mma8452.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.7'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.7', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/iio/accel/mma8452.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/1cddef80a180af74c33d2f26c962ce92b60fded4 Added Reference https://git.kernel.org/stable/c/5bdff291d20c31b365d9ddfe9c426fbfb41da5bb Added Reference https://git.kernel.org/stable/c/b488055e81d9faaaf2f8aaff45f9944040ac4493 Added Reference https://git.kernel.org/stable/c/b4932fc325e84a3233413daf230b043818c8a824 Added Reference https://git.kernel.org/stable/c/eed69f8a10b82989ad732ace0fb43a9fb4e7fe35 Added Reference https://git.kernel.org/stable/c/f3d413e701c5e54bef736b638967724dda880365 Added Reference https://git.kernel.org/stable/c/f3d905ea1e4996d933074481e80d96ecd74a9904 Added Reference https://git.kernel.org/stable/c/f9ec3f3e9cf27dd06cd3725eeaa44e3ce46be893