sst-linux/drivers
Jakub Kicinski d3c1025ed7 net: netdevsim: try to close UDP port harness races
[ Upstream commit 50bf398e1ceacb9a7f85bd3bdca065ebe5cb6159 ]

syzbot discovered that we remove the debugfs files after we free
the netdev. Try to clean up the relevant dir while the device
is still around.

Reported-by: syzbot+2e5de9e3ab986b71d2bf@syzkaller.appspotmail.com
Fixes: 424be63ad8 ("netdevsim: add UDP tunnel port offload support")
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/20250122224503.762705-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-21 13:49:22 +01:00
..
accessibility
acpi ACPI: fan: cleanup resources in the error path of .probe() 2025-02-21 13:49:00 +01:00
amba
android
ata ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys() 2024-12-19 18:08:48 +01:00
atm
auxdisplay
base regmap: detach regmap from dev on regmap_exit 2025-02-01 18:30:06 +01:00
bcma
block nbd: don't allow reconnect after disconnect 2025-02-21 13:48:53 +01:00
bluetooth Bluetooth: btusb: Add RTL8852BE device 0489:e123 to device tables 2024-12-14 19:54:44 +01:00
bus
cdrom
char ipmi: ipmb: Add check devm_kasprintf() returned value 2025-02-21 13:48:57 +01:00
clk clk: analogbits: Fix incorrect calculation of vco rate delta 2025-02-21 13:49:05 +01:00
clocksource x86/hyperv: Fix hv tsc page based sched_clock for hibernation 2025-01-09 13:29:56 +01:00
comedi comedi: Flush partial mappings in error case 2024-12-14 19:53:59 +01:00
connector
counter counter: ti-ecap-capture: Add check for clk_enable() 2024-12-14 19:53:53 +01:00
cpufreq cpufreq: ACPI: Fix max-frequency computation 2025-02-21 13:49:04 +01:00
cpuidle cpuidle: riscv-sbi: fix device node release in early exit of for_each_possible_cpu 2025-01-17 13:34:41 +01:00
crypto crypto: ixp4xx - fix OF node reference leaks in init_ixp_crypto() 2025-02-21 13:49:08 +01:00
cxl cxl/region: Fix region creation for greater than x2 switches 2024-12-27 13:52:53 +01:00
dax dax: delete a stale directory pmem 2024-12-14 19:53:41 +01:00
dca
devfreq
dio
dma dmaengine: ti: edma: fix OF node reference leaks in edma_driver 2025-02-21 13:49:21 +01:00
dma-buf udmabuf: also check for F_SEAL_FUTURE_WRITE 2024-12-27 13:53:01 +01:00
edac EDAC/igen6: Avoid segmentation fault on module unload 2024-12-14 19:53:17 +01:00
eisa
extcon
firewire
firmware efi: sysfb_efi: fix W=1 warnings when EFI is not set 2025-02-21 13:49:17 +01:00
fpga fpga: manager: add owner module and take its refcount 2024-12-14 19:53:12 +01:00
fsi
gnss
gpio gpio: mxc: remove dead code after switch to DT-only 2025-02-21 13:49:21 +01:00
gpu drm/bridge: it6505: Change definition of AUX_FIFO_MAX_SIZE 2025-02-21 13:48:57 +01:00
greybus
hid HID: hid-thrustmaster: Fix warning in thrustmaster_probe by adding endpoint check 2025-02-21 13:49:02 +01:00
hsi
hte
hv Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet 2024-12-27 13:52:59 +01:00
hwmon hwmon: (tmp513) Fix division of negative numbers 2025-01-23 17:17:10 +01:00
hwspinlock
hwtracing
i2c i2c: rcar: fix NACK handling when being a target 2025-01-23 17:17:11 +01:00
i3c i3c: master: svc: Fix use after free vulnerability in svc_i3c_master Driver Due to Race Condition 2024-12-14 19:54:56 +01:00
idle
iio iio: adc: rockchip_saradc: fix information leak in triggered buffer 2025-01-23 17:17:16 +01:00
infiniband RDMA/rxe: Fix the warning "__rxe_cleanup+0x12c/0x170 [rdma_rxe]" 2025-02-21 13:49:17 +01:00
input Input: xpad - add support for wooting two he (arm) 2025-02-01 18:30:11 +01:00
interconnect
iommu iommu/arm-smmu: Defer probe of clients after smmu device bound 2024-12-14 19:54:37 +01:00
ipack
irqchip irqchip/sunxi-nmi: Add missing SKIP_WAKE flag 2025-02-01 18:30:06 +01:00
isdn
leds leds: netxbig: Fix an OF node reference leak in netxbig_leds_get_of_pdata() 2025-02-21 13:49:00 +01:00
macintosh
mailbox mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable() 2024-12-14 19:53:54 +01:00
mcb
md dm-verity FEC: Fix RS FEC repair for roots unaligned to block size (take 2) 2025-01-17 13:34:43 +01:00
media media: uvcvideo: Propagate buf->error to userspace 2025-02-21 13:49:18 +01:00
memory memory: tegra20-emc: fix an OF node reference bug in tegra_emc_find_node_by_ram_code() 2025-02-21 13:49:12 +01:00
memstick
message scsi: fusion: Remove unused variable 'rc' 2024-12-14 19:53:40 +01:00
mfd mfd: syscon: Fix race in device_node_get_regmap() 2025-02-21 13:49:03 +01:00
misc misc: microchip: pci1xxxx: Resolve return code mismatch during GPIO set config 2025-01-17 13:34:44 +01:00
mmc mmc: sdhci-tegra: Remove SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC quirk 2024-12-27 13:52:55 +01:00
most
mtd mtd: hyperbus: hbmc-am654: fix an OF node reference leak 2025-02-21 13:49:19 +01:00
mux
net net: netdevsim: try to close UDP port harness races 2025-02-21 13:49:22 +01:00
nfc
ntb
nubus
nvdimm nvdimm: rectify the illogical code within nd_dax_probe() 2024-12-14 19:54:47 +01:00
nvme nvme: Add error check for xa_store in nvme_get_effects_log 2025-02-21 13:48:53 +01:00
nvmem
of of: reserved-memory: Do not make kmemleak ignore freed address 2025-02-21 13:49:17 +01:00
opp OPP: OF: Fix an OF node leak in _opp_add_static_v2() 2025-02-21 13:49:02 +01:00
parisc
parport
pci PCI: endpoint: pci-epf-test: Fix check for DMA MEMCPY test 2025-02-21 13:49:19 +01:00
pcmcia
peci
perf perf/arm-cmn: Ensure port and device id bits are set properly 2024-12-14 19:54:09 +01:00
phy phy: rockchip: naneng-combphy: fix phy reset 2025-01-02 10:30:50 +01:00
pinctrl pinctrl: stm32: Add check for clk_enable() 2025-02-21 13:49:08 +01:00
platform platform/x86: asus-nb-wmi: Ignore unknown event 0xCF 2025-01-02 10:30:52 +01:00
pnp
power power: supply: gpio-charger: Fix set charge current limits 2025-01-02 10:30:55 +01:00
powercap
pps
ps3
ptp ptp: kvm: x86: Return EOPNOTSUPP instead of ENODEV from kvm_arch_ptp_init() 2024-12-19 18:08:53 +01:00
pwm pwm: stm32: Add check for clk_enable() 2025-02-21 13:49:05 +01:00
rapidio
ras
regulator regulator: core: Add missing newline character 2025-02-21 13:49:21 +01:00
remoteproc remoteproc: qcom_q6v5_mss: Re-order writes to the IMEM region 2024-12-14 19:53:47 +01:00
reset
rpmsg rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length 2024-12-14 19:53:47 +01:00
rtc rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read 2025-02-21 13:49:21 +01:00
s390 s390/cio: Do not unregister the subchannel based on DNV 2024-12-14 19:53:14 +01:00
sbus
scsi scsi: mpt3sas: Set ioc->manu_pg11.EEDPTagMode directly to 1 2025-02-21 13:49:19 +01:00
sh sh: clk: Fix clk_enable() to return 0 on NULL clk 2024-12-27 13:52:58 +01:00
siox
slimbus
soc soc: atmel: fix device_node release in atmel_soc_device_init() 2025-02-21 13:49:09 +01:00
soundwire
spi spi: zynq-qspi: Add check for clk_enable() 2025-02-21 13:48:59 +01:00
spmi
ssb
staging staging: media: imx: fix OF node leak in imx_media_add_of_subdevs() 2025-02-21 13:49:19 +01:00
target
tc
tee
thermal thermal: of: fix OF node leak in of_thermal_zone_find() 2025-01-17 13:34:42 +01:00
thunderbolt thunderbolt: Don't display nvm_version unless upgrade supported 2025-01-09 13:29:56 +01:00
tty serial: 8250: Adjust the timeout for FIFO mode 2025-02-21 13:49:20 +01:00
ufs scsi: ufs: bsg: Delete bsg_dev when setting up bsg fails 2025-02-21 13:49:20 +01:00
uio
usb Revert "usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null" 2025-02-01 18:30:11 +01:00
vdpa vdpa/mlx5: Fix suboptimal range on iotlb iteration 2024-12-14 19:53:48 +01:00
vfio iommufd/iova_bitmap: Fix shift-out-of-bounds in iova_bitmap_offset_to_index() 2025-02-21 13:49:17 +01:00
vhost
video fbdev: omapfb: Fix an OF node leak in dss_of_port_get_parent_device() 2025-02-21 13:49:16 +01:00
virt
virtio
vlynq
w1
watchdog watchdog: it87_wdt: add PWRGD enable quirk for Qotom QCML04 2025-01-02 10:30:51 +01:00
xen xen: Fix the issue of resource not being properly released in xenbus_dev_probe() 2024-12-14 19:53:54 +01:00
zorro
Kconfig
Makefile