{"api_version":"1","generated_at":"2026-06-24T12:16:57+00:00","cve":"CVE-2026-52937","urls":{"html":"https://cve.report/CVE-2026-52937","api":"https://cve.report/api/cve/CVE-2026-52937.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-52937","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-52937"},"summary":{"title":"tap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR\n\nIn the SIOCGIFHWADDR path, tap_ioctl() copies 16 bytes of an\nuninitialised on-stack struct sockaddr_storage to userspace via\nifr_hwaddr, but netif_get_mac_address() only writes sa_family and\ndev->addr_len (6 for Ethernet) bytes, leaving sa_data[6..13] uninitialised.\n\nThose 8 trailing bytes leak kernel stack contents; SIOCGIFHWADDR on a\nmacvtap chardev returns kernel .text and direct-map pointers, defeating\nKASLR.\n\nInitialise ss at declaration.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-24 08:16:23","updated_at":"2026-06-24 08:16:23"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/bddc09212c24934643bd44fc794748d2bbb3b6cd","name":"https://git.kernel.org/stable/c/bddc09212c24934643bd44fc794748d2bbb3b6cd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb","name":"https://git.kernel.org/stable/c/719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/05305e832be7b9d65b2b72caacf7d850b3942b2a","name":"https://git.kernel.org/stable/c/05305e832be7b9d65b2b72caacf7d850b3942b2a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-52937","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52937","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b23a32a63219f51a5298bc55a65ecee866e79d0 719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b23a32a63219f51a5298bc55a65ecee866e79d0 05305e832be7b9d65b2b72caacf7d850b3942b2a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b23a32a63219f51a5298bc55a65ecee866e79d0 bddc09212c24934643bd44fc794748d2bbb3b6cd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 176188cff67ec1aa55103647b61d02315cc38e98 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4d0ae760c02c98fc78b78d3a0509896bc648ad1c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.4.103 5.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.21 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.11.4 5.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.34 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.11 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/tap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb","status":"affected","version":"3b23a32a63219f51a5298bc55a65ecee866e79d0","versionType":"git"},{"lessThan":"05305e832be7b9d65b2b72caacf7d850b3942b2a","status":"affected","version":"3b23a32a63219f51a5298bc55a65ecee866e79d0","versionType":"git"},{"lessThan":"bddc09212c24934643bd44fc794748d2bbb3b6cd","status":"affected","version":"3b23a32a63219f51a5298bc55a65ecee866e79d0","versionType":"git"},{"status":"affected","version":"176188cff67ec1aa55103647b61d02315cc38e98","versionType":"git"},{"status":"affected","version":"1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4","versionType":"git"},{"status":"affected","version":"4d0ae760c02c98fc78b78d3a0509896bc648ad1c","versionType":"git"},{"lessThan":"5.5","status":"affected","version":"5.4.103","versionType":"semver"},{"lessThan":"5.11","status":"affected","version":"5.10.21","versionType":"semver"},{"lessThan":"5.12","status":"affected","version":"5.11.4","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/tap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.12"},{"lessThan":"5.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.34","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.34","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.11","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.103","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.21","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR\n\nIn the SIOCGIFHWADDR path, tap_ioctl() copies 16 bytes of an\nuninitialised on-stack struct sockaddr_storage to userspace via\nifr_hwaddr, but netif_get_mac_address() only writes sa_family and\ndev->addr_len (6 for Ethernet) bytes, leaving sa_data[6..13] uninitialised.\n\nThose 8 trailing bytes leak kernel stack contents; SIOCGIFHWADDR on a\nmacvtap chardev returns kernel .text and direct-map pointers, defeating\nKASLR.\n\nInitialise ss at declaration."}],"providerMetadata":{"dateUpdated":"2026-06-24T07:14:27.305Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb"},{"url":"https://git.kernel.org/stable/c/05305e832be7b9d65b2b72caacf7d850b3942b2a"},{"url":"https://git.kernel.org/stable/c/bddc09212c24934643bd44fc794748d2bbb3b6cd"}],"title":"tap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-52937","datePublished":"2026-06-24T07:14:27.305Z","dateReserved":"2026-06-09T07:44:35.370Z","dateUpdated":"2026-06-24T07:14:27.305Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-24 08:16:23","lastModifiedDate":"2026-06-24 08:16:23","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"52937","Ordinal":"1","Title":"tap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR","CVE":"CVE-2026-52937","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"52937","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ntap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR\n\nIn the SIOCGIFHWADDR path, tap_ioctl() copies 16 bytes of an\nuninitialised on-stack struct sockaddr_storage to userspace via\nifr_hwaddr, but netif_get_mac_address() only writes sa_family and\ndev->addr_len (6 for Ethernet) bytes, leaving sa_data[6..13] uninitialised.\n\nThose 8 trailing bytes leak kernel stack contents; SIOCGIFHWADDR on a\nmacvtap chardev returns kernel .text and direct-map pointers, defeating\nKASLR.\n\nInitialise ss at declaration.","Type":"Description","Title":"tap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR"}]}}}