CVE-2026-52937

tap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR

No CVSS score yet EPSS 0.16%

Published 24 Jun 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-52937

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-52937 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.04% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 3b23a32a63219f51a5298bc55a65ecee866e79d0, before 4b6dcfe0e3dfffd8057a4fc99b3f096c45709905
affected from 3b23a32a63219f51a5298bc55a65ecee866e79d0, before 37d028a473b0826ad5970b52b791db4a29a23627
affected from 3b23a32a63219f51a5298bc55a65ecee866e79d0, before 8197905d97099d8b1e3883112bbb497abd20f9f0
affected from 3b23a32a63219f51a5298bc55a65ecee866e79d0, before 719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb
affected from 3b23a32a63219f51a5298bc55a65ecee866e79d0, before 05305e832be7b9d65b2b72caacf7d850b3942b2a
affected from 3b23a32a63219f51a5298bc55a65ecee866e79d0, before bddc09212c24934643bd44fc794748d2bbb3b6cd
affected 176188cff67ec1aa55103647b61d02315cc38e98
affected 1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4
affected 4d0ae760c02c98fc78b78d3a0509896bc648ad1c
affected from 5.4.103, before 5.5
affected from 5.10.21, before 5.11
affected from 5.11.4, before 5.12
Other versions: unaffected
Linux
affected 5.12
unaffected before 5.12
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.114 up to and including 6.12.*
unaffected from 6.18.34 up to and including 6.18.*
unaffected from 7.0.11 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-52937 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52937

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-52937
trivy image --scanners vuln IMAGE | grep CVE-2026-52937

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-52937 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.