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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-06-24T07:14:27.305Z
- **Modified:** 2026-11-06T17:17:57.113Z

## Who should check

- Anyone running Linux \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 4b6dcfe0e3dfffd8057a4fc99b3f096c45709905; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 37d028a473b0826ad5970b52b791db4a29a23627; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 8197905d97099d8b1e3883112bbb497abd20f9f0; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 05305e832be7b9d65b2b72caacf7d850b3942b2a; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< bddc09212c24934643bd44fc794748d2bbb3b6cd; 176188cff67ec1aa55103647b61d02315cc38e98; 1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4; 4d0ae760c02c98fc78b78d3a0509896bc648ad1c; \>= 5.4.103, \< 5.5; …
- Anyone running Linux 5.12

## 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 and fixed versions

- Linux: \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 4b6dcfe0e3dfffd8057a4fc99b3f096c45709905; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 37d028a473b0826ad5970b52b791db4a29a23627; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 8197905d97099d8b1e3883112bbb497abd20f9f0; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 05305e832be7b9d65b2b72caacf7d850b3942b2a; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< bddc09212c24934643bd44fc794748d2bbb3b6cd; 176188cff67ec1aa55103647b61d02315cc38e98; 1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4; 4d0ae760c02c98fc78b78d3a0509896bc648ad1c; \>= 5.4.103, \< 5.5; … (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-52937. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-52937.md
Affected: Linux >= 3b23a32a63219f51a5298bc55a65ecee866e79d0, < 4b6dcfe0e3dfffd8057a4fc99b3f096c45709905; >= 3b23a32a63219f51a5298bc55a65ecee866e79d0, < 37d028a473b0826ad5970b52b791db4a29a23627; >= 3b23a32a63219f51a5298bc55a65ecee866e79d0, < 8197905d97099d8b1e3883112bbb497abd20f9f0; >= 3b23a32a63219f51a5298bc…
Fixed in: Linux 4b6dcfe0e3dfffd8057a4fc99b3f096c45709905, Linux 37d028a473b0826ad5970b52b791db4a29a23627, Linux 8197905d97099d8b1e3883112bbb497abd20f9f0, Linux 719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb, Linux 05305e832be7b9d65b2b72caacf7d850b3942b2a, Linux 5.5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-52937 being exploited?

There is no confirmed exploitation: CVE-2026-52937 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-52937?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-52937?

Linux \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 4b6dcfe0e3dfffd8057a4fc99b3f096c45709905; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 37d028a473b0826ad5970b52b791db4a29a23627; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 8197905d97099d8b1e3883112bbb497abd20f9f0; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< 05305e832be7b9d65b2b72caacf7d850b3942b2a; \>= 3b23a32a63219f51a5298bc55a65ecee866e79d0, \< bddc09212c24934643bd44fc794748d2bbb3b6cd; 176188cff67ec1aa55103647b61d02315cc38e98; 1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4; 4d0ae760c02c98fc78b78d3a0509896bc648ad1c; \>= 5.4.103, \< 5.5; …; Linux 5.12.

### Is there a fix for CVE-2026-52937?

Yes. Fixed in Linux 4b6dcfe0e3dfffd8057a4fc99b3f096c45709905, Linux 37d028a473b0826ad5970b52b791db4a29a23627, Linux 8197905d97099d8b1e3883112bbb497abd20f9f0, Linux 719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb, Linux 05305e832be7b9d65b2b72caacf7d850b3942b2a, Linux 5.5. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-52937?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb>
- patch: <https://git.kernel.org/stable/c/05305e832be7b9d65b2b72caacf7d850b3942b2a>
- patch: <https://git.kernel.org/stable/c/bddc09212c24934643bd44fc794748d2bbb3b6cd>
- other: <https://git.kernel.org/stable/c/4b6dcfe0e3dfffd8057a4fc99b3f096c45709905>
- other: <https://git.kernel.org/stable/c/37d028a473b0826ad5970b52b791db4a29a23627>
- other: <https://git.kernel.org/stable/c/8197905d97099d8b1e3883112bbb497abd20f9f0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-52937>

HTML: <https://flawdb.com/CVE-2026-52937> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-52937>
