android_kernel_motorola_sm6225/drivers
Martin Wilck 9c98be70f2 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
[ Upstream commit 36fa766faa0c822c860e636fe82b1affcd022974 ]

If pscsi_map_sg() fails, make sure to drop references to already allocated
bios.

Link: https://lore.kernel.org/r/20210323212431.15306-2-mwilck@suse.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-10 13:21:18 +02:00
..
accessibility
acpi ACPI: scan: Use unique number for instance_no 2021-03-30 14:37:02 +02:00
amba amba: Fix resource leak for drivers without .remove 2021-03-04 09:39:46 +01:00
android
ata ata: ahci_brcm: Add back regulators management 2021-03-04 09:39:40 +01:00
atm atm: idt77252: fix null-ptr-dereference 2021-03-30 14:36:58 +02:00
auxdisplay auxdisplay: ht16k33: Fix refresh rate handling 2021-03-04 09:39:45 +01:00
base PM: runtime: Fix ordering in pm_runtime_get_suppliers() 2021-04-07 12:48:49 +02:00
bcma
block xen-blkback: don't leak persistent grants from xen_blkbk_map() 2021-03-30 14:37:03 +02:00
bluetooth Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl 2021-03-07 12:18:57 +01:00
bus bus: ti-sysc: Fix warning on unbind if reset is not deasserted 2021-04-10 13:21:18 +02:00
cdrom
char tpm_tis: Clean up locality release 2021-03-04 09:39:53 +01:00
clk clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs 2021-03-04 09:39:47 +01:00
clocksource clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined 2021-03-04 09:39:44 +01:00
connector
cpufreq cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available 2021-03-04 09:39:57 +01:00
cpuidle
crypto crypto: sun4i-ss - handle BigEndian for cipher 2021-03-04 09:39:54 +01:00
dax
dca
devfreq
dio
dma dmaengine: hsu: disable spurious interrupt 2021-03-04 09:39:43 +01:00
dma-buf
edac EDAC/amd64: Fix PCI component registration 2020-12-30 11:26:10 +01:00
eisa
extcon extcon: Fix error handling in extcon_dev_register 2021-04-07 12:48:50 +02:00
firewire firewire: nosy: Fix a use-after-free bug in nosy_ioctl() 2021-04-07 12:48:50 +02:00
firmware
fmc
fpga
fsi
gnss
gpio gpiolib: acpi: Add missing IRQF_ONESHOT 2021-03-30 14:36:58 +02:00
gpu drm/msm: Ratelimit invalid-fence message 2021-04-10 13:21:18 +02:00
hid HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter 2021-03-11 14:05:01 +01:00
hsi HSI: omap_ssi: Don't jump to free ID in ssi_add_controller() 2020-12-30 11:25:57 +01:00
hv Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind() 2021-03-04 09:39:41 +01:00
hwmon hwmon: (lm90) Fix max6658 sporadic wrong temperature reading 2021-03-17 16:43:51 +01:00
hwspinlock
hwtracing stm class: Fix module init return on allocation failure 2021-01-27 11:05:40 +01:00
i2c i2c: rcar: optimize cacheline to minimize HW race condition 2021-03-17 16:43:45 +01:00
ide block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
idle
iio iio: hid-sensor-temperature: Fix issues of timestamp channel 2021-03-24 11:07:36 +01:00
infiniband RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server 2021-03-30 14:37:01 +02:00
input Input: i8042 - add ASUS Zenbook Flip to noselftest list 2021-03-04 09:39:51 +01:00
iommu iommu/amd: Fix sleeping in atomic in increase_address_space() 2021-03-11 14:05:01 +01:00
ipack
irqchip irqchip/mips-cpu: Set IPI domain parent chip 2021-01-27 11:05:40 +01:00
isdn mISDN: fix crash in fritzpci 2021-04-10 13:21:18 +02:00
leds leds: trigger: fix potential deadlock with libata 2021-02-03 23:23:25 +01:00
lightnvm lightnvm: select CONFIG_CRC32 2021-01-17 14:04:22 +01:00
macintosh
mailbox mailbox: avoid timer start from callback 2020-10-30 10:38:21 +01:00
mcb
md dm verity: add root hash pkcs#7 signature verification 2021-03-30 14:37:02 +02:00
media media: v4l: vsp1: Fix bru null pointer access 2021-03-17 16:43:45 +01:00
memory memory: ti-aemif: Drop child node when jumping out loop 2021-03-04 09:39:34 +01:00
memstick block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
message scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove() 2020-11-05 11:08:47 +01:00
mfd mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq() 2021-03-04 09:39:46 +01:00
misc lkdtm: don't move ctors to .rodata 2021-03-24 11:07:31 +01:00
mmc mmc: cqhci: Fix random crash when remove mmc module/card 2021-03-17 16:43:47 +01:00
mtd block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
mux
net net: pxa168_eth: Fix a potential data race in pxa168_eth_remove 2021-04-10 13:21:18 +02:00
nfc nfc: s3fwrn5: Release the nfc firmware 2020-12-30 11:26:04 +01:00
ntb NTB: hw: amd: fix an issue about leak system resources 2020-10-30 10:38:25 +01:00
nubus
nvdimm block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
nvme nvme-rdma: fix possible hang when failing to set io queues 2021-03-24 11:07:34 +01:00
nvmem
of of/fdt: Make sure no-map does not remove already reserved regions 2021-03-04 09:39:43 +01:00
opp
oprofile
parisc
parport
pci PCI: rpadlpar: Fix potential drc_name corruption in store functions 2021-03-24 11:07:37 +01:00
pcmcia
perf drivers/perf: xgene_pmu: Fix uninitialized resource struct 2020-10-29 09:55:00 +01:00
phy phy: cpcap-usb: Fix warning for missing regulator_disable 2021-02-07 14:48:37 +01:00
pinctrl pinctrl: rockchip: fix restore error in resume 2021-04-07 12:48:50 +02:00
platform platform/x86: thinkpad_acpi: Allow the FnLock LED to change state 2021-04-10 13:21:18 +02:00
pnp
power power: reset: at91-sama5d2_shdwc: fix wkupdbc mask 2021-03-04 09:39:43 +01:00
powercap powercap: restrict energy meter to root access 2020-11-10 21:11:27 +01:00
pps
ps3 powerpc/ps3: use dma_mapping_error() 2020-12-30 11:26:04 +01:00
ptp
pwm pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare() 2021-03-04 09:39:48 +01:00
rapidio rapidio: fix the missed put_device() for rio_mport_add_riodev 2020-10-30 10:38:21 +01:00
ras
regulator regulator: s5m8767: Drop regulators OF node reference 2021-03-04 09:39:44 +01:00
remoteproc remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load 2021-02-13 13:51:14 +01:00
reset
rpmsg rpmsg: glink: Use complete_all for open states 2020-11-05 11:08:43 +01:00
rtc rtc: s5m: select REGMAP_I2C 2021-03-04 09:39:44 +01:00
s390 s390/dasd: fix hanging IO request during DASD driver unbind 2021-03-17 16:43:47 +01:00
sbus
scsi scsi: qla2xxx: Fix broken #endif placement 2021-04-07 12:48:48 +02:00
sfi
sh
siox
slimbus slimbus: qcom-ngd-ctrl: Avoid sending power requests without QMI 2020-12-30 11:25:57 +01:00
sn
soc drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[] 2021-02-03 23:23:24 +01:00
soundwire
spi spi: pxa2xx: Fix the controller numbering for Wildcat Point 2021-03-04 09:39:47 +01:00
spmi
ssb
staging staging: rtl8192e: Change state information from u16 to u8 2021-04-07 12:48:51 +02:00
target scsi: target: pscsi: Clean up after failure in pscsi_map_sg() 2021-04-10 13:21:18 +02:00
tc
tee optee: add writeback to valid memory type 2020-12-02 08:48:12 +01:00
thermal thermal/core: Add NULL pointer check before using cooling device stats 2021-04-07 12:48:48 +02:00
thunderbolt thunderbolt: Add the missed ida_simple_remove() in ring_request_msix() 2020-11-18 19:18:49 +01:00
tty vt/consolemap: do font sum unsigned 2021-03-07 12:18:57 +01:00
uio uio: Fix use-after-free in uio_unregister_device() 2020-11-18 19:18:49 +01:00
usb usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board. 2021-04-07 12:48:51 +02:00
uwb
vfio vfio/pci: Move dummy_resources_list init in vfio_pci_probe() 2021-01-06 14:44:59 +01:00
vhost vhost: Fix vhost_vq_reset() 2021-04-07 12:48:48 +02:00
video drivers: video: fbcon: fix NULL dereference in fbcon_cursor() 2021-04-07 12:48:51 +02:00
virt drivers/virt/fsl_hypervisor: Fix error handling path 2020-10-29 09:55:09 +01:00
virtio
visorbus
vlynq
vme
w1 w1: mxc_w1: Fix timeout resolution problem leading to bus error 2020-11-05 11:08:47 +01:00
watchdog watchdog: mei_wdt: request stop on unregister 2021-03-04 09:39:55 +01:00
xen xen/events: avoid handling the same event on two cpus at the same time 2021-03-17 16:43:52 +01:00
zorro
Kconfig
Makefile