1: 969ab24edfad ! 1: edfc6813ea40 wifi: libertas: reject short monitor TX frames @@ drivers/net/wireless/marvell/libertas/tx.c: netdev_tx_t lbs_hard_start_xmit(stru goto free; }  -+ /* -+ * A monitor frame carries a radiotap TX header followed by the -+ * 802.11 header; the destination address is copied from offset 4 -+ * of the latter. Drop frames too short for that layout instead of -+ * reading past the end of skb data or underflowing pkt_len. -+ * -+ * This must happen while driver_lock is held and before the queues -+ * are stopped, so that the "goto free" path above stays consistent. -+ */  + if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR &&  + skb->len < sizeof(struct tx_radiotap_hdr) + 4 + ETH_ALEN) {  + lbs_deb_tx("tx err: short monitor frame %d\n", skb->len);