iio: magnetometer: ak8975: fix potential kernel stack memory leak
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-72481
- 2026-10-03 Alias added: GHSA-278v-qwxj-mcm9
- 2026-11-06 CISA SSVC decision points changed
References
Other 8
- 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
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-72481 · CVE Program
- CVE-2026-72481 · NVD
- FIRST EPSS
- GHSA-278v-qwxj-mcm9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-72481 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences