{"id":"CVE-2026-53258","state":"PUBLISHED","title":"wifi: fix leak if split 6 GHz scanning fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: fix leak if split 6 GHz scanning fails\n\nrdev->int_scan_req is leaked if cfg80211_scan() fails.  Note that it's\nsupposed to be released at ___cfg80211_scan_done() but this doesn't happen\nas rdev->scan_req is NULL at that point, too, leading to the early return\nfrom the freeing function.\n\nunreferenced object 0xffff8881161d0800 (size 512):\n  comm \"wpa_supplicant\", pid 379, jiffies 4294749765\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 f0 81 13 16 81 88 ff ff  ................\n  backtrace (crc c867fdb6):\n    kmemleak_alloc+0x89/0x90\n    __kmalloc_noprof+0x2fd/0x410\n    cfg80211_scan+0x133/0x730\n    nl80211_trigger_scan+0xc69/0x1cc0\n    genl_family_rcv_msg_doit+0x204/0x2f0\n    genl_rcv_msg+0x431/0x6b0\n    netlink_rcv_skb+0x143/0x3f0\n    genl_rcv+0x27/0x40\n    netlink_unicast+0x4f6/0x820\n    netlink_sendmsg+0x797/0xce0\n    __sock_sendmsg+0xc4/0x160\n    ____sys_sendmsg+0x5e4/0x890\n    ___sys_sendmsg+0xf8/0x180\n    __sys_sendmsg+0x136/0x1e0\n    __x64_sys_sendmsg+0x76/0xc0\n    x64_sys_call+0x13f0/0x17d0\n\nFound by Linux Verification Center (linuxtesting.org).","publishedAt":"2026-06-25T08:39:47.917Z","updatedAt":"2026-10-30T12:26:50.461Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"c3d30daf03130cf35c0e70185719ce16fc3ea6c4","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"87484866cae9130b97c2b356eeaea4f47b292f75","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"df44397bbd8f3a38115c9590b686787e4aaf6327","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"fb8db813eba2e56ee001c9fb5c2ce2cb78c42642","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"a24134ddc18b4d440714365637d440b7121447b9","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"e8694f7cc29287e843648d1075177b9a2000d957","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"]}],"references":["https://git.kernel.org/stable/c/c3d30daf03130cf35c0e70185719ce16fc3ea6c4","https://git.kernel.org/stable/c/87484866cae9130b97c2b356eeaea4f47b292f75","https://git.kernel.org/stable/c/df44397bbd8f3a38115c9590b686787e4aaf6327","https://git.kernel.org/stable/c/fb8db813eba2e56ee001c9fb5c2ce2cb78c42642","https://git.kernel.org/stable/c/a24134ddc18b4d440714365637d440b7121447b9","https://git.kernel.org/stable/c/e8694f7cc29287e843648d1075177b9a2000d957"],"weaknesses":[],"ingestedAt":"2026-10-30T12:44:04.813Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53258.json","commit":"db8103c5921aac81d5d90efcf3745980dafabf49","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53258","state":"PUBLISHED","datePublished":"2026-06-25T08:39:47.917Z","dateUpdated":"2026-10-30T12:26:50.461Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.394Z"},"containers":{"cna":{"title":"wifi: fix leak if split 6 GHz scanning fails","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: fix leak if split 6 GHz scanning fails\n\nrdev->int_scan_req is leaked if cfg80211_scan() fails.  Note that it's\nsupposed to be released at ___cfg80211_scan_done() but this doesn't happen\nas rdev->scan_req is NULL at that point, too, leading to the early return\nfrom the freeing function.\n\nunreferenced object 0xffff8881161d0800 (size 512):\n  comm \"wpa_supplicant\", pid 379, jiffies 4294749765\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 f0 81 13 16 81 88 ff ff  ................\n  backtrace (crc c867fdb6):\n    kmemleak_alloc+0x89/0x90\n    __kmalloc_noprof+0x2fd/0x410\n    cfg80211_scan+0x133/0x730\n    nl80211_trigger_scan+0xc69/0x1cc0\n    genl_family_rcv_msg_doit+0x204/0x2f0\n    genl_rcv_msg+0x431/0x6b0\n    netlink_rcv_skb+0x143/0x3f0\n    genl_rcv+0x27/0x40\n    netlink_unicast+0x4f6/0x820\n    netlink_sendmsg+0x797/0xce0\n    __sock_sendmsg+0xc4/0x160\n    ____sys_sendmsg+0x5e4/0x890\n    ___sys_sendmsg+0xf8/0x180\n    __sys_sendmsg+0x136/0x1e0\n    __x64_sys_sendmsg+0x76/0xc0\n    x64_sys_call+0x13f0/0x17d0\n\nFound by Linux Verification Center (linuxtesting.org)."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"c3d30daf03130cf35c0e70185719ce16fc3ea6c4","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"87484866cae9130b97c2b356eeaea4f47b292f75","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"df44397bbd8f3a38115c9590b686787e4aaf6327","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"fb8db813eba2e56ee001c9fb5c2ce2cb78c42642","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"a24134ddc18b4d440714365637d440b7121447b9","versionType":"git"},{"version":"c8cb5b854b40f2ce52ccd032fa19750f4181d5fc","status":"affected","lessThan":"e8694f7cc29287e843648d1075177b9a2000d957","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/wireless/scan.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c3d30daf03130cf35c0e70185719ce16fc3ea6c4"},{"url":"https://git.kernel.org/stable/c/87484866cae9130b97c2b356eeaea4f47b292f75"},{"url":"https://git.kernel.org/stable/c/df44397bbd8f3a38115c9590b686787e4aaf6327"},{"url":"https://git.kernel.org/stable/c/fb8db813eba2e56ee001c9fb5c2ce2cb78c42642"},{"url":"https://git.kernel.org/stable/c/a24134ddc18b4d440714365637d440b7121447b9"},{"url":"https://git.kernel.org/stable/c/e8694f7cc29287e843648d1075177b9a2000d957"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:26:50.461Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}