linux-stable/drivers
Christophe JAILLET 2f36fc7542 3c589_cs: Fix an error handling path in tc589_probe()
commit 640bf95b2c upstream.

Should tc589_config() fail, some resources need to be released as already
done in the remove function.

Fixes: 15b99ac172 ("[PATCH] pcmcia: add return value to _config() functions")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/d8593ae867b24c79063646e36f9b18b0790107cb.1684575975.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-30 12:38:39 +01:00
..
accessibility
acpi ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects 2023-05-30 12:38:34 +01:00
amba
android binder: fix UAF of ref->proc caused by race condition 2022-09-15 12:23:50 +02:00
ata ata: pata_legacy: fix pdc20230_set_piomode() 2022-11-10 15:47:20 +01:00
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-04-05 11:14:16 +02:00
auxdisplay
base regmap: cache: Return error in cache sync operations for REGCACHE_NONE 2023-05-30 12:38:34 +01:00
bcma
block drbd: correctly submit flush bio on barrier 2023-05-17 11:11:51 +02:00
bluetooth Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work" 2023-05-17 11:11:42 +02:00
bus bus: sunxi-rsb: Fix error handling in sunxi_rsb_init() 2023-02-22 12:46:01 +01:00
cdrom
char tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak 2023-01-18 09:26:36 +01:00
clk clk: tegra20: fix gcc-7 constant overflow warning 2023-05-30 12:38:36 +01:00
clocksource
connector
cpufreq cpufreq: davinci: Fix clk use after free 2023-03-11 16:26:37 +01:00
cpuidle cpuidle: dt: Return the correct numbers of parsed idle states 2023-01-18 09:26:09 +01:00
crypto crypto: n2 - add missing hash statesize 2023-01-18 09:26:38 +01:00
dax
dca
devfreq
dio drivers: dio: fix possible memory leak in dio_init() 2023-01-18 09:26:22 +01:00
dma dmaengine: at_xdmac: do not enable all cyclic channels 2023-05-17 11:11:46 +02:00
dma-buf
edac EDAC/device: Respect any driver-supplied workqueue polling value 2023-02-06 07:46:31 +01:00
eisa
extcon
firewire firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region 2023-02-22 12:46:01 +01:00
firmware efi: Accept version 2 of memory attributes table 2023-02-22 12:46:02 +01:00
fmc
fpga fpga: altera-pr-ip: fix unsigned comparison with less than zero 2022-08-25 11:11:21 +02:00
fsi fsi: core: Check error number after calling ida_simple_get 2022-10-26 13:17:06 +02:00
gpio gpio: davinci: Add irq chip flag to skip set wake 2023-04-20 12:02:10 +02:00
gpu drm/tegra: Avoid potential 32-bit integer overflow 2023-05-30 12:38:34 +01:00
hid HID: wacom: generic: Set battery quirk only when we see battery data 2023-05-30 12:38:35 +01:00
hsi HSI: omap_ssi_core: Fix error handling in ssi_init() 2023-01-18 09:26:26 +01:00
hv Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region 2022-09-28 10:56:52 +02:00
hwmon hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs 2023-04-05 11:14:16 +02:00
hwspinlock
hwtracing coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug 2023-04-20 12:02:12 +02:00
i2c i2c: omap: Fix standard mode false ACK readings 2023-05-17 11:11:39 +02:00
ide
idle entel_idle: Disable IBRS during long idle 2022-11-01 19:14:45 +01:00
iio iio: adc: palmas_gpadc: fix NULL dereference on rmmod 2023-05-17 11:11:38 +02:00
infiniband IB/hfi1: Fix SDMA mmu_rb_node not being evicted in LRU order 2023-05-17 11:11:45 +02:00
input Input: xpad - add constants for GIP interface numbers 2023-05-30 12:38:36 +01:00
iommu iommu/amd: Fix ivrs_acpihid cmdline parsing code 2023-01-18 09:26:38 +01:00
ipack
irqchip irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts 2023-03-11 16:26:38 +01:00
isdn mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave() 2023-01-18 09:26:28 +01:00
leds
lightnvm
macintosh macintosh: via-pmu-led: requires ATA to be set 2023-05-17 11:11:44 +02:00
mailbox mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg 2022-10-26 13:17:07 +02:00
mcb mcb-pci: Reallocate memory region to avoid memory overlapping 2023-05-30 12:38:35 +01:00
md dm ioctl: fix nested locking in table_clear() to remove deadlock concern 2023-05-17 11:11:47 +02:00
media media: radio-shark: Add endpoint checks 2023-05-30 12:38:38 +01:00
memory memory: of: Fix refcount leak bug in of_get_ddr_timings() 2022-10-26 13:17:02 +02:00
memstick memstick: r592: Fix UAF bug in r592_remove due to race condition 2023-05-30 12:38:34 +01:00
message scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition 2023-05-30 12:38:35 +01:00
mfd mfd: dln2: Fix memory leak in dln2_probe() 2023-05-30 12:38:36 +01:00
misc cxl: Fix refcount leak in cxl_calc_capp_routing 2023-01-18 09:26:27 +01:00
mmc mmc: atmel-mci: fix race between stop command and start of next command 2023-03-22 13:26:15 +01:00
mtd ubi: Fix return value overwrite issue in try_write_vid_and_data() 2023-05-17 11:11:39 +02:00
mux
net 3c589_cs: Fix an error handling path in tc589_probe() 2023-05-30 12:38:39 +01:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-03-22 13:26:14 +01:00
ntb
nubus
nvdimm nvdimm: Fix badblocks clear off-by-one error 2022-07-07 17:31:16 +02:00
nvme nvmet: avoid potential UAF in nvmet_req_complete() 2023-03-22 13:26:14 +01:00
nvmem
of of: Fix modalias string generation 2023-05-17 11:11:43 +02:00
oprofile
parisc parisc: led: Fix potential null-ptr-deref in start_task() 2023-01-18 09:26:38 +01:00
parport parport_pc: Avoid FIFO port location truncation 2022-11-25 17:36:50 +01:00
pci PCI: Avoid FLR for AMD FCH AHCI adapters 2023-03-11 16:26:49 +01:00
pcmcia
perf
phy phy: st: miphy28lp: use _poll_timeout functions for waits 2023-05-30 12:38:36 +01:00
pinctrl pinctrl: at91-pio4: fix domain name assignment 2023-04-05 11:14:21 +02:00
platform platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe 2023-01-18 09:26:43 +01:00
pnp PNP: fix name memory leak in pnp_alloc_dev() 2023-01-18 09:26:10 +01:00
power power: supply: sbs-charger: Fix INHIBITED bit for Status reg 2023-05-30 12:38:38 +01:00
powercap powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue 2022-10-26 13:17:08 +02:00
pps
ps3
ptp
pwm pwm: cros-ec: Explicitly set .polarity in .get_state() 2023-04-20 12:02:10 +02:00
rapidio rapidio: devices: fix missing put_device in mport_cdev_open 2023-01-18 09:26:12 +01:00
ras
regulator regulator: s5m8767: Bounds check id indexing into arrays 2023-03-11 16:26:43 +01:00
remoteproc remoteproc: qcom: wcnss: Fix handling of IRQs 2022-08-25 11:11:24 +02:00
reset
rpmsg rpmsg: glink: Avoid infinite loop on intent for missing channel 2023-03-11 16:26:41 +01:00
rtc rtc: pm8xxx: fix set-alarm race 2023-03-11 16:26:44 +01:00
s390 s390/dasd: fix hanging blockdevice after request requeue 2023-05-17 11:11:47 +02:00
sbus
scsi scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS 2023-05-17 11:11:41 +02:00
sfi
sh
sn
soc ARM: ux500: do not directly dereference __iomem 2023-01-18 09:26:36 +01:00
spi spi: fsl-cpm: Use 16 bit mode for large transfers with even size 2023-05-30 12:38:37 +01:00
spmi spmi: Add a check for remove callback when removing a SPMI driver 2023-05-17 11:11:44 +02:00
ssb
staging staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE 2023-05-30 12:38:35 +01:00
target scsi: target: iscsit: Fix TAS handling during conn cleanup 2023-05-17 11:11:41 +02:00
tc
tee
thermal thermal: intel: powerclamp: Fix cur_state for multi package system 2023-03-11 16:26:55 +01:00
thunderbolt thunderbolt: Use const qualifier for ring_interrupt_index 2023-04-05 11:14:16 +02:00
tty serial: Add support for Advantech PCI-1611U card 2023-05-30 12:38:37 +01:00
uio uio: uio_dmem_genirq: Fix deadlock between irq config and handling 2023-01-18 09:26:23 +01:00
usb USB: sisusbvga: Add endpoint checks 2023-05-30 12:38:38 +01:00
uwb
vfio vfio: platform: Do not pass return buffer to ACPI _RST method 2023-01-18 09:26:23 +01:00
vhost vhost/vsock: Use kvmalloc/kvfree for larger packets. 2022-10-26 13:17:00 +02:00
video fbdev: au1200fb: Fix potential divide by zero 2023-04-05 11:14:20 +02:00
virt
virtio virtio_mmio: Restore guest page size on resume 2022-07-21 20:42:46 +02:00
vlynq
vme vme: Fix error not catched in fake_init() 2023-01-18 09:26:25 +01:00
w1 w1: fix WARNING after calling w1_process() 2023-02-06 07:46:30 +01:00
watchdog watchdog: sbsa_wdog: Make sure the timeout programming is within the limits 2023-04-20 12:02:12 +02:00
xen xen/pvcalls-back: fix double frees with pvcalls_new_active_socket() 2023-05-30 12:38:38 +01:00
zorro
Kconfig
Makefile