Search Linux Wireless

Re: [PATCH] wifi: cfg80211: Fix page fault in __cfg80211_connect_result()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2025-09-09 at 14:32 +0800, James Guan wrote:
> When I attempted to connect to a virt_wifi device using iw on 6.17-rc5,
> a page fault occurred in __cfg80211_connect_result(), preventing successful
> connection.
> 
> The page fault is triggered because virt_wifi_connect_complete() sets
> requested_bss to NULL when no BSSID is specified.
> 
> This patch fixes the bug by adding a check for a NULL connected_addr
> before calling ether_addr_copy() in __cfg80211_connect_result().

That might fix the bug, but it makes no sense to have a connection
without an address of the AP that you connected to ...

johannes





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux