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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-06-24T07:14:27.305Z
- Modified: 2026-11-06T17:17:57.113Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 3b23a32a63219f51a5298bc55a65ecee866e79d0 before 4b6dcfe0e3dfffd8057a4fc99b3f096c45709905; from 3b23a32a63219f51a5298bc55a65ecee866e79d0 before 37d028a473b0826ad5970b52b791db4a29a23627; from 3b23a32a63219f51a5298bc55a65ecee866e79d0 before 8197905d97099d8b1e3883112bbb497abd20f9f0; from 3b23a32a63219f51a5298bc55a65ecee866e79d0 before 719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb; from 3b23a32a63219f51a5298bc55a65ecee866e79d0 before 05305e832be7b9d65b2b72caacf7d850b3942b2a; from 3b23a32a63219f51a5298bc55a65ecee866e79d0 before bddc09212c24934643bd44fc794748d2bbb3b6cd; 176188cff67ec1aa55103647b61d02315cc38e98; 1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4; 4d0ae760c02c98fc78b78d3a0509896bc648ad1c; from 5.4.103 before 5.5; from 5.10.21 before 5.11; from 5.11.4 before 5.12; and 1 more (not affected: before 5.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.4.103 before 5.5; from 5.10.21 before 5.11; from 5.11.4 before 6.18.34; from 6.19 before 7.0.11; 7.1

## 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> (patch)
- <https://git.kernel.org/stable/c/05305e832be7b9d65b2b72caacf7d850b3942b2a> (patch)
- <https://git.kernel.org/stable/c/bddc09212c24934643bd44fc794748d2bbb3b6cd> (patch)

## Sources

- CVE List: [CVE-2026-52937](https://www.cve.org/CVERecord?id=CVE-2026-52937), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-52937](https://nvd.nist.gov/vuln/detail/CVE-2026-52937), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-52937 · Whole record: https://cve.day/CVE-2026-52937.json · Rebuilt by cve.day 2026-11-25T22:59:25.589Z
