Vulnerability in Linux

CVE-2026-52937

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.001, 1.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 3b23a32a63219f51a5298bc55a65ecee866e79d0, 176188cff67ec1aa55103647b61d02315cc38e98, 1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4
  • Linux Kernel — versions 7.1

Weakness classification (CWE)

References