linux-uconsole/drivers
Dan Carpenter 0d5e34c1e2 dm zoned: fix potential NULL dereference in dmz_do_reclaim()
[ Upstream commit e0702d90b7 ]

This function is supposed to return error pointers so it matches the
dmz_get_rnd_zone_for_reclaim() function.  The current code could lead to
a NULL dereference in dmz_do_reclaim()

Fixes: b234c6d7a7 ("dm zoned: improve error handling in reclaim")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-29 08:28:59 +02:00
..
accessibility
acpi ACPI/IORT: Fix off-by-one check in iort_dev_find_its_id() 2019-08-16 10:12:48 +02:00
amba
android binder: fix possible UAF when freeing buffer 2019-08-04 09:30:53 +02:00
ata libata: add SG safety checks in SFF pio transfers 2019-08-29 08:28:45 +02:00
atm atm: iphase: Fix Spectre v1 vulnerability 2019-08-09 17:52:29 +02:00
auxdisplay
base drivers/base: Introduce kill_device() 2019-08-09 17:52:28 +02:00
bcma
block drbd: dynamically allocate shash descriptor 2019-08-16 10:12:48 +02:00
bluetooth Bluetooth: hci_uart: check for missing tty operations 2019-08-04 09:30:55 +02:00
bus
cdrom
char hpet: Fix division by zero in hpet_time_div() 2019-07-31 07:27:10 +02:00
clk clk: socfpga: stratix10: fix rate caclulationg for cnt_clks 2019-08-29 08:28:49 +02:00
clocksource
connector
cpufreq cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init() 2019-08-16 10:12:46 +02:00
cpuidle
crypto crypto: ccp - Ignore tag length when decrypting GCM ciphertext 2019-08-16 10:12:38 +02:00
dax
dca
devfreq
dio
dma dmaengine: rcar-dmac: Reject zero-length slave DMA requests 2019-08-06 19:06:48 +02:00
dma-buf
edac
eisa
extcon
firewire
firmware iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND 2019-08-16 10:12:45 +02:00
fmc
fpga fpga-manager: altera-ps-spi: Fix build error 2019-07-31 07:27:10 +02:00
fsi
gnss
gpio gpiolib: never report open-drain/source lines as 'input' to user-space 2019-08-29 08:28:51 +02:00
gpu drm/nouveau: Don't retry infinitely when receiving no data on i2c over AUX 2019-08-29 08:28:51 +02:00
hid HID: wacom: Correct distance scale for 2nd-gen Intuos devices 2019-08-29 08:28:49 +02:00
hsi
hv Drivers: hv: vmbus: Fix virt_to_hvpfn() for X86_PAE 2019-08-29 08:28:51 +02:00
hwmon hwmon: (nct7802) Fix wrong detection of in4 presence 2019-08-16 10:12:51 +02:00
hwspinlock
hwtracing
i2c gcc-9: don't warn about uninitialized variable 2019-08-09 17:52:27 +02:00
ide
idle
iio iio: adc: max9611: Fix temperature reading in probe 2019-08-25 10:47:59 +02:00
infiniband IB/mad: Fix use-after-free in ib mad completion handling 2019-08-25 10:47:57 +02:00
input Input: psmouse - fix build error of multiple definition 2019-08-25 10:48:02 +02:00
iommu iommu/amd: Move iommu_init_pci() to .init section 2019-08-25 10:48:02 +02:00
ipack
irqchip irqchip/irq-imx-gpcv2: Forward irq type to parent 2019-08-25 10:47:53 +02:00
isdn isdn: hfcsusb: Fix mISDN driver crash caused by transfer buffer on the stack 2019-08-29 08:28:35 +02:00
leds
lightnvm
macintosh
mailbox mailbox: handle failed named mailbox channel request 2019-07-31 07:27:07 +02:00
mcb
md dm zoned: fix potential NULL dereference in dmz_do_reclaim() 2019-08-29 08:28:59 +02:00
media media: radio-raremono: change devm_k*alloc to k*alloc 2019-08-04 09:30:54 +02:00
memory
memstick
message
mfd mfd: hi655x-pmic: Fix missing return value check for devm_regmap_init_mmio_clk 2019-07-31 07:27:03 +02:00
misc eeprom: at24: make spd world-readable again 2019-08-06 19:06:57 +02:00
mmc mmc: sdhci-of-arasan: Do now show error message in case of deffered probe 2019-08-25 10:48:05 +02:00
mtd mtd: rawnand: micron: handle on-die "ECC-off" devices correctly 2019-08-06 19:06:54 +02:00
mux
net net: hisilicon: Fix dma_map_single failed on arm64 2019-08-29 08:28:44 +02:00
nfc st_nci_hci_connectivity_event_received: null check the allocation 2019-08-29 08:28:31 +02:00
ntb
nubus
nvdimm libnvdimm/bus: Fix wait_nvdimm_bus_probe_idle() ABBA deadlock 2019-08-09 17:52:28 +02:00
nvme nvme: fix multipath crash when ANA is deactivated 2019-08-16 10:12:48 +02:00
nvmem
of
opp
oprofile
parisc
parport
pci PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB 2019-07-31 07:27:07 +02:00
pcmcia
perf drivers/perf: arm_pmu: Fix failure path in PM notifier 2019-08-06 19:06:55 +02:00
phy
pinctrl
platform
pnp
power
powercap
pps drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl 2019-08-04 09:30:56 +02:00
ps3
ptp
pwm Revert "pwm: Set class for exported channels in sysfs" 2019-08-25 10:47:46 +02:00
rapidio drivers/rapidio/devices/rio_mport_cdev.c: NUL terminate some strings 2019-08-06 19:06:52 +02:00
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 s390/qdio: add sanity checks to the fast-requeue path 2019-08-16 10:12:46 +02:00
sbus
scsi scsi: qla2xxx: Fix possible fcport null-pointer dereferences 2019-08-25 10:47:55 +02:00
sfi
sh
siox
slimbus
sn
soc
soundwire
spi spi: bcm2835: Fix 3-wire mode if DMA is enabled 2019-08-09 17:52:35 +02:00
spmi
ssb
staging staging: comedi: dt3000: Fix rounding up of timer divisor 2019-08-25 10:47:59 +02:00
target
tc
tee
thermal
thunderbolt
tty tty/ldsem, locking/rwsem: Add missing ACQUIRE to read_failed sleep loop 2019-08-16 10:12:50 +02:00
uio
usb USB: serial: option: Add Motorola modem UARTs 2019-08-25 10:48:01 +02:00
uwb
vfio
vhost vhost: scsi: add weight support 2019-08-04 09:30:55 +02:00
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen/pciback: remove set but not used variable 'old_state' 2019-08-25 10:47:52 +02:00
zorro
Kconfig
Makefile