{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-38013","published":"2025-06-18T10:15:32.797000Z","last_modified":"2026-06-17T09:15:52.960000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-129"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.6","version_end_excluding":"6.6.92"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.30"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.14.8"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.15"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-38013/","html_en":"/en/cve/CVE-2025-38013/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-38013","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-38013"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: Set n_channels after allocating struct cfg80211_scan_request\n\nMake sure that n_channels is set after allocating the\nstruct cfg80211_registered_device::int_scan_req member. Seen with\nsyzkaller:\n\nUBSAN: array-index-out-of-bounds in net/mac80211/scan.c:1208:5\nindex 0 is out of range for type 'struct ieee80211_channel *[] __counted_by(n_channels)' (aka 'struct ieee80211_channel *[]')\n\nThis was missed in the initial conversions because I failed to locate\nthe allocation likely due to the \"sizeof(void *)\" not matching the\n\"channels\" array type.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/07c737d9ab02c07b562aefcca16aa95077368e24","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/82bbe02b2500ef0a62053fe2eb84773fe31c5a0a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e3192e999a0d05ea0ba2c59c09afaf0b8ee70b81","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/fde33ab3c052a302ee8a0b739094b88ceae4dd67","tags":["Patch"]}]}}