CVE-2026-52937·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.11
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.11
Fixed in: 7.0.11
How to fix this CVE
Update your Linux kernel to version 7.0.11 or later to patch the stack memory disclosure vulnerability in the tap network driver. This vulnerability allows local users with standard privileges to leak sensitive kernel memory including KASLR bypass data through the SIOCGIFHWADDR ioctl call. Prioritize this update for systems running kernel versions 6.19 through 7.0.10, especially those exposing tap/macvtap interfaces to untrusted users.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — kernel should be 7.0.11 or later
- Verify tap driver is loaded: lsmod | grep tap — if tap or macvtap appears, verify kernel version urgently
- Search audit logs for ioctl calls targeting tap devices: grep -i 'SIOCGIFHWADDR\|tap' /var/log/audit/audit.log
- Confirm patch applied by checking kernel config: cat /boot/config-$(uname -r) | grep CONFIG_TAP
FAQ
What is CVE-2026-52937?
A kernel vulnerability in the tap network driver where uninitialized stack memory is leaked to userspace via the SIOCGIFHWADDR ioctl. This allows attackers to read kernel text pointers and defeat KASLR protections.
Is CVE-2026-52937 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available, though the ease of local exploitation makes it a medium-priority patch.
What versions of Kernel are affected by CVE-2026-52937?
Linux kernel versions 6.19 through 7.0.10 are vulnerable. The fix is included in kernel 7.0.11 and later releases.
How do I check if my server is vulnerable to CVE-2026-52937?
Run `uname -r` to check your kernel version. If the output shows 6.19 through 7.0.10, your system is vulnerable. Additionally, verify if tap/macvtap is loaded with `lsmod | grep tap`.
Does Defensia detect CVE-2026-52937?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-52937 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/05305e832be7b9d65b2b72caacf7d850b3942b2a
- https://git.kernel.org/stable/c/37d028a473b0826ad5970b52b791db4a29a23627
- https://git.kernel.org/stable/c/4b6dcfe0e3dfffd8057a4fc99b3f096c45709905
- https://git.kernel.org/stable/c/719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb
- https://git.kernel.org/stable/c/8197905d97099d8b1e3883112bbb497abd20f9f0
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-52937. Free for 1 server.
Get started free