Description
In the Linux kernel, the following vulnerability has been resolved: iio: accel: adxl380: Avoid reading more entries than present in FIFO The interrupt handler reads FIFO entries in batches of N samples, where N is the number of scan elements that have been enabled. However, the sensor fills the FIFO one sample at a time, even when more than one channel is enabled. Therefore,the number of entries reported by the FIFO status registers may not be a multiple of N; if this number is not a multiple, the number of entries read from the FIFO may exceed the number of entries actually present. To fix the above issue, round down the number of FIFO entries read from the status registers so that it is always a multiple of N.
Product status
df36de13677a0ebd3ab31dd2c603f9eafdf8de7d (git) before a40f316085985f916ba1599fc303fdbc6a078e86
df36de13677a0ebd3ab31dd2c603f9eafdf8de7d (git) before a8e88edfd69df7b63c882aa53e61e7c078806ad7
df36de13677a0ebd3ab31dd2c603f9eafdf8de7d (git) before f42ddb2945ae4ce2b6f1c2e7aae9f14455a734d3
df36de13677a0ebd3ab31dd2c603f9eafdf8de7d (git) before c1b14015224cfcccd5356333763f2f4f401bd810
6.12
Any version before 6.12
6.12.75 (semver)
6.18.16 (semver)
6.19.6 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/a40f316085985f916ba1599fc303fdbc6a078e86
git.kernel.org/...c/a8e88edfd69df7b63c882aa53e61e7c078806ad7
git.kernel.org/...c/f42ddb2945ae4ce2b6f1c2e7aae9f14455a734d3
git.kernel.org/...c/c1b14015224cfcccd5356333763f2f4f401bd810