wifi: fix leak if split 6 GHz scanning fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.36, Kernel 7.0.13, Kernel a24134ddc18b4d440714365637d440b7121447b9 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: fix leak if split 6 GHz scanning fails rdev->int_scan_req is leaked if cfg80211_scan() fails. Note that it's supposed to be released at ___cfg80211_scan_done() but this doesn't happen as rdev->scan_req is NULL at that point, too, leading to the early return from the freeing function. unreferenced object 0xffff8881161d0800 (size 512): comm "wpa_supplicant", pid 379, jiffies 4294749765 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 f0 81 13 16 81 88 ff ff ................ backtrace (crc c867fdb6): kmemleak_alloc+0x89/0x90 __kmalloc_noprof+0x2fd/0x410 cfg80211_scan+0x133/0x730 nl80211_trigger_scan+0xc69/0x1cc0 genl_family_rcv_msg_doit+0x204/0x2f0 genl_rcv_msg+0x431/0x6b0 netlink_rcv_skb+0x143/0x3f0 genl_rcv+0x27/0x40 netlink_unicast+0x4f6/0x820 netlink_sendmsg+0x797/0xce0 __sock_sendmsg+0xc4/0x160 ____sys_sendmsg+0x5e4/0x890 ___sys_sendmsg+0xf8/0x180 __sys_sendmsg+0x136/0x1e0 __x64_sys_sendmsg+0x76/0xc0 x64_sys_call+0x13f0/0x17d0 Found by Linux Verification Center (linuxtesting.org).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.10 <6.18.36, >=6.19 <7.0.13, =7.1, >=c8cb5b854b40f2ce52ccd032fa19750f4181d5fc <a24134ddc18b4d440714365637d440b7121447b9, >=c8cb5b854b40f2ce52ccd032fa19750f4181d5fc <c3d30daf03130cf35c0e70185719ce16fc3ea6c4, >=c8cb5b854b40f2ce52ccd032fa19750f4181d5fc <df44397bbd8f3a38115c9590b686787e4aaf6327, >=c8cb5b854b40f2ce52ccd032fa19750f4181d5fc <e8694f7cc29287e843648d1075177b9a2000d957, >=c8cb5b854b40f2ce52ccd032fa19750f4181d5fc <fb8db813eba2e56ee001c9fb5c2ce2cb78c42642, =5.10, >=c8cb5b854b40f2ce52ccd032fa19750f4181d5fc <87484866cae9130b97c2b356eeaea4f47b292f75 | 6.18.36, 7.0.13, a24134ddc18b4d440714365637d440b7121447b9, c3d30daf03130cf35c0e70185719ce16fc3ea6c4, df44397bbd8f3a38115c9590b686787e4aaf6327, e8694f7cc29287e843648d1075177b9a2000d957, fb8db813eba2e56ee001c9fb5c2ce2cb78c42642, 87484866cae9130b97c2b356eeaea4f47b292f75 |
| linux-kernel: Kernel | >=5.10.0 <6.1.191, >=6.13.0 <6.18.36, >=6.19.0 <7.0.13, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114 | 6.1.191, 6.18.36, 7.0.13, 6.6.160, 6.12.114 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket