CVEvulnerability

CVE-2026-52937

5.5 MEDIUM Published 2026-06-24 Modified 2026-10-21 Official page ↗
Status
Modified
Published
2026-06-24
Last modified
2026-10-21
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-401

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.

Affected configurations

• linux linux kernel (>= 5.4.103 < 5.5) • linux linux kernel (>= 5.10.21 < 5.11) • linux linux kernel (>= 5.11.4 < 6.18.34) • linux linux kernel (>= 6.19 < 7.0.11) • linux linux kernel 7.1

Related

Weakness · CWE (1)

  • CWE-401 Missing Release of Memory after Effective Lifetime weakness

References