[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20201107155015.27800C433C9@smtp.codeaurora.org>
Date: Sat, 7 Nov 2020 15:50:15 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: WeitaoWangoc <WeitaoWang-oc@...oxin.com>
Cc: <pkshih@...ltek.com>, <davem@...emloft.net>, <kuba@...nel.org>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <tonywwang@...oxin.com>,
<weitaowang@...oxin.com>, <CobeChen@...oxin.com>,
<TimGuo@...oxin.com>, <wwt8723@....com>
Subject: Re: [PATCH] rtlwifi: Fix non-canonical address access issues
WeitaoWangoc <WeitaoWang-oc@...oxin.com> wrote:
> During realtek USB wireless NIC initialization, it's unexpected
> disconnection will cause urb sumbmit fail. On the one hand,
> _rtl_usb_cleanup_rx will be called to clean up rx stuff, especially for
> rtl_wq. On the other hand, disconnection will cause rtl_usb_disconnect
> and _rtl_usb_cleanup_rx to be called. So, rtl_wq will be flush/destroy
> twice, which will cause non-canonical address 0xdead000000000122 access
> and general protection fault.
>
> Fixed this issue by remove _rtl_usb_cleanup_rx when urb sumbmit fail.
>
> Signed-off-by: WeitaoWangoc <WeitaoWang-oc@...oxin.com>
> Acked-by: Ping-Ke Shih <pkshih@...ltek.com>
Patch applied to wireless-drivers-next.git, thanks.
c521d7e0ff05 rtlwifi: Fix non-canonical address access issues
--
https://patchwork.kernel.org/project/linux-wireless/patch/1603768580-2798-1-git-send-email-WeitaoWang-oc@zhaoxin.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists