aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@toke.dk>2025-04-02 13:22:16 +0200
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-05-20 08:34:34 -0700
commitac4e317a95a1092b5da5b9918b7118759342641c (patch)
treeb9699545a4909760b22c50936682ebc509d6a129 /net/lapb/lapb_timer.c
parentwifi: ath12k: remove redundant regulatory rules intersection logic in host (diff)
downloadwireguard-linux-ac4e317a95a1092b5da5b9918b7118759342641c.tar.xz
wireguard-linux-ac4e317a95a1092b5da5b9918b7118759342641c.zip
wifi: ath9k_htc: Abort software beacon handling if disabled
A malicious USB device can send a WMI_SWBA_EVENTID event from an ath9k_htc-managed device before beaconing has been enabled. This causes a device-by-zero error in the driver, leading to either a crash or an out of bounds read. Prevent this by aborting the handling in ath9k_htc_swba() if beacons are not enabled. Reported-by: Robert Morris <rtm@csail.mit.edu> Closes: https://lore.kernel.org/r/88967.1743099372@localhost Fixes: 832f6a18fc2a ("ath9k_htc: Add beacon slots") Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Link: https://patch.msgid.link/20250402112217.58533-1-toke@toke.dk Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions