linux/drivers
Miri Korenblit 413be839bf wifi: iwlwifi: add a validity check of queue_id in iwl_txq_reclaim
This function receives the queue id to reclaim packets from. Currently
we're passing to it the queue id we received from the FW in the flush
response. We don't do any check of this value and it might be invalid.
In such case we will refer to a pointer to a queue which might be NULL.
Fix this by adding a validity check of the queue id before using it.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230413102635.a9c3fd32bce7.I5fbdcf3b1b80eb96a907116c166f19dc0aae7cb8@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-04-13 16:29:59 +02:00
..
accel accel/ivpu: Fix IPC buffer header status field value 2023-03-24 10:52:20 +01:00
accessibility
acpi Thermal control fixes for 6.3-rc4 2023-03-24 13:45:58 -07:00
amba
android
ata
atm
auxdisplay
base
bcma bcma: remove unused mips_read32 function 2023-03-31 18:04:59 +03:00
block
bluetooth Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work 2023-03-23 13:09:38 -07:00
bus
cdrom
char
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware ARM: SoC fixes for 6.3, part 2 2023-03-24 15:38:13 -07:00
fpga
fsi
gnss
gpio
gpu Merge branch 'etnaviv/fixes' of https://git.pengutronix.de/git/lst/linux into drm-fixes 2023-03-30 20:15:07 +02:00
greybus
hid
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn mISDN: remove unused vpm_read_address and cpld_read_reg functions 2023-03-24 19:09:57 -07:00
leds
macintosh
mailbox
mcb
md dm: fix __send_duplicate_bios() to always allow for splitting IO 2023-03-30 15:54:32 -04:00
media
memory
memstick
message
mfd
misc
mmc
most
mtd Raw NAND controller driver fixes: 2023-03-27 09:41:17 -07:00
mux
net wifi: iwlwifi: add a validity check of queue_id in iwl_txq_reclaim 2023-04-13 16:29:59 +02:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci
pcmcia
peci
perf
phy
pinctrl
platform platform-drivers-x86 for v6.3-3 2023-03-27 09:45:39 -07:00
pnp
power
powercap
pps
ps3
ptp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
sbus
scsi net: introduce a config option to tweak MAX_SKB_FRAGS 2023-03-27 19:29:22 -07:00
sh
siox
slimbus
soc
soundwire
spi
spmi
ssb
staging
target
tc
tee
thermal Merge branch 'thermal-acpi' 2023-03-24 17:11:27 +01:00
thunderbolt
tty xen: branch for v6.3-rc4 2023-03-24 09:44:43 -07:00
ufs
uio
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
vdpa
vfio
vhost vsock: support sockmap 2023-03-29 08:19:38 +01:00
video
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile