CVE-2026-52937
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 3b23a32a63219f51a5298bc55a65ecee866e79d0 < 719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb | affected |
| Linux | Linux | 3b23a32a63219f51a5298bc55a65ecee866e79d0 < 05305e832be7b9d65b2b72caacf7d850b3942b2a | affected |
| Linux | Linux | 3b23a32a63219f51a5298bc55a65ecee866e79d0 < bddc09212c24934643bd44fc794748d2bbb3b6cd | affected |
| Linux | Linux | 176188cff67ec1aa55103647b61d02315cc38e98 | affected |
| Linux | Linux | 1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4 | affected |
| Linux | Linux | 4d0ae760c02c98fc78b78d3a0509896bc648ad1c | affected |
| Linux | Linux | 5.4.103 < 5.5 | affected |
| Linux | Linux | 5.10.21 < 5.11 | affected |
| Linux | Linux | 5.11.4 < 5.12 | affected |
| Linux | Linux | 5.12 | affected |
| Linux | Linux | 0 < 5.12 | unaffected |
| Linux | Linux | 6.18.34 <= 6.18.* | unaffected |
| Linux | Linux | 7.0.11 <= 7.0.* | unaffected |
| Linux | Linux | 7.1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb
- https://git.kernel.org/stable/c/05305e832be7b9d65b2b72caacf7d850b3942b2a
- https://git.kernel.org/stable/c/bddc09212c24934643bd44fc794748d2bbb3b6cd
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.