CVE-2026-72481

iio: magnetometer: ak8975: fix potential kernel stack memory leak

N/A
Published: August 15, 2026 at 05:57 AM UTC
Updated: August 17, 2026 at 06:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: iio: magnetometer: ak8975: fix potential kernel stack memory leak Currently in the AK8975 driver there are four instances where potential uninitialized kernel stack memory leaks can occur. If i2c_smbus_read_i2c_block_data_or_emulated() returns a value less than the size of the buffer, uninitialized bytes are retained in the buffer and later the buffer is passed on to IIO buffers, potentially leaking memory to userspace. Fix this by adding checks whether the return value of the function is equal to the size of the buffer and subsequently if the value is lesser than zero to distinguish from a returned error code.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.7 ≤ v < 5.10.2614.7 ≤ v < 5.15.2124.7 ≤ v < 6.1.1784.7 ≤ v < 6.12.974.7 ≤ v < 6.18.404.7 ≤ v < 6.6.1454.7 ≤ v < 7.1.54.7 ≤ v < 7.24.7bc11ca4a0b84a2f2ebaca2614b92998738d13b1e
Vendor states this is fixed in 12848f4ded022963944c063e09a192549a4dad1e (fixed)
Vendor states this is fixed in 3d57672119525c59ed73ea21accb001ccbcd6cfd (fixed)
Vendor states this is fixed in 8cf346074533356d67a6a6a43a192328ad341f11 (fixed)
Vendor states this is fixed in 9f920550abacedc7fc3163dea65ac2a7d0b0765d (fixed)
Vendor states this is fixed in a9a00d727b7bbc5e913a919530a9dd468935bf95 (fixed)
Vendor states this is fixed in a9cf46054f81972f8c0f1dc2a79d2a141999dbce (fixed)
Vendor states this is fixed in b974566803bceb72f0b9b5f1d7270b79ba963766 (fixed)
Vendor states this is fixed in fb27ebf81136e796c7b719303ef6fd7e1ae5d488 (fixed)
Vendor states this is fixed in 4.7 (unaffected)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.97 (unaffected)
Vendor states this is fixed in 6.18.40 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.5 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card