linux/drivers
Gustavo A. R. Silva 0201409079 net: spider_net: Use size_add() in call to struct_size()
If, for any reason, the open-coded arithmetic causes a wraparound,
the protection that `struct_size()` adds against potential integer
overflows is defeated. Fix this by hardening call to `struct_size()`
with `size_add()`.

Fixes: 3f1071ec39 ("net: spider_net: Use struct_size() helper")
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-09-18 09:39:41 +01:00
..
accel
accessibility
acpi
amba
android
ata SCSI misc on 20230909 2023-09-09 12:01:33 -07:00
atm
auxdisplay
base
bcma
block
bluetooth
bus
cache
cdrom
cdx
char Hi, 2023-09-13 11:44:20 -07:00
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
dpll netdev: expose DPLL pin handle for netdevice 2023-09-17 11:50:20 +01:00
edac
eisa
extcon
firewire
firmware RISC-V Patches for the 6.6 Merge Window, Part 2 (try 2) 2023-09-09 14:25:11 -07:00
fpga
fsi
gnss
gpio
gpu drm ci for 6.6-rc1 2023-09-10 11:55:26 -07:00
greybus
hid
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md
media media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
memory
memstick
message
mfd
misc
mmc
most
mtd
mux
net net: spider_net: Use size_add() in call to struct_size() 2023-09-18 09:39:41 +01:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci pci-v6.6-fixes-1 2023-09-09 11:35:28 -07:00
pcmcia
peci
perf
phy
pinctrl
platform platform/x86: asus-wmi: Support 2023 ROG X16 tablet mode 2023-09-11 13:26:13 +02:00
pmdomain pmdomain: Rename the genpd subsystem to pmdomain 2023-09-13 11:09:21 +02:00
pnp
power
powercap
pps
ps3
ptp ptp_ocp: implement DPLL ops 2023-09-17 11:50:20 +01:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi SCSI misc on 20230909 2023-09-09 12:01:33 -07:00
sh
siox
slimbus
soc
soundwire
spi
spmi
ssb
staging media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
target
tc
tee
thermal
thunderbolt
tty
ufs
uio
usb
vdpa
vfio
vhost
video
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig dpll: core: Add DPLL framework base functions 2023-09-17 11:50:20 +01:00
Makefile dpll: core: Add DPLL framework base functions 2023-09-17 11:50:20 +01:00