Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > The "tsid" is a user controlled u8 which comes from debugfs. Values > more than 15 are invalid because "active_tsids" is a 16 bit variable. > If the value of "tsid" is more than 31 then that leads to a shift > wrapping bug. > > Fixes: 8fffd9e5ec9e ("ath6kl: Implement support for QOS-enable and QOS-disable from userspace") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 6a950755cec1 ath6kl: wmi: prevent a shift wrapping bug in ath6kl_wmi_delete_pstream_cmd() -- https://patchwork.kernel.org/patch/11785193/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches