RE: [PATCH rtw-next v7 1/5] wifi: rtw89: avoid NULL vif dereference in rtw89_ops_tx()
From: Ping-Ke Shih
Date: Thu Nov 19 2026 - 02:09:04 EST
Enver Ikromov <owner@xxxxxxxxxxxxxx> wrote:
> Injecting a raw frame on a passive monitor interface while a station or
> AP interface is also up causes a kernel NULL pointer dereference,
> because mac80211 has no virtual monitor vif in concurrent mode and
> passes a NULL vif to the driver TX path.
>
> Check the vif pointer with vif_to_rtwvif_safe() and drop frames without
> a vif.
>
> Fixes: a0e97ae3f332 ("wifi: rtw89: add ieee80211::remain_on_channel ops")
I think this problem is existing from initial commit:
Fixes: e3ec7017f6a2 ("rtw89: add Realtek 802.11ax driver")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Enver Ikromov <owner@xxxxxxxxxxxxxx>
Otherwise, looks good to me:
Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>