aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-09-18 14:27:32 +0000
committerKalle Valo <[email protected]>2020-09-22 07:46:46 +0000
commit6a950755cec1a90ddaaff3e4acb5333617441c32 (patch)
tree1e9c7eba23a964ee60dcc4d7b7530d4728d1136d /drivers/net/ethernet/intel/igc/igc_main.c
parentath5k: convert to use DEFINE_SEQ_ATTRIBUTE macro (diff)
downloadkernel-6a950755cec1a90ddaaff3e4acb5333617441c32.tar.gz
kernel-6a950755cec1a90ddaaff3e4acb5333617441c32.zip
ath6kl: wmi: prevent a shift wrapping bug in ath6kl_wmi_delete_pstream_cmd()
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/20200918142732.GA909725@mwanda
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions