David Disseldorp
fffc0fcaeb
target/iscsi: avoid NULL dereference in CHAP auth error path
...
commit ce512d79d0466a604793addb6b769d12ee326822 upstream.
If chap_server_compute_md5() fails early, e.g. via CHAP_N mismatch, then
crypto_free_shash() is called with a NULL pointer which gets
dereferenced in crypto_shash_tfm().
Fixes: 69110e3ced ("iscsi-target: Use shash and ahash")
Suggested-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David Disseldorp <ddiss@suse.de>
Cc: stable@vger.kernel.org # 4.6+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:43:49 +01:00
..
accessibility
acpi
acpi, nfit: fix register dimm error handling
2018-02-17 13:21:20 +01:00
amba
android
ANDROID: binder: fix proc->tsk check.
2017-08-30 10:21:53 +02:00
ata
ahci: Add Intel Cannon Lake PCH-H PCI ID
2018-02-17 13:21:15 +01:00
atm
atm: horizon: Fix irq release error
2017-12-14 09:28:24 +01:00
auxdisplay
auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
2018-02-13 12:35:55 +01:00
base
drivers: base: cacheinfo: fix boot error message when acpi is enabled
2018-01-31 12:55:51 +01:00
bcma
bcma: use (get|put)_device when probing/removing device driver
2017-03-12 06:41:52 +01:00
block
pktcdvd: Fix pkt_setup_dev() error path
2018-02-17 13:21:19 +01:00
bluetooth
Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version
2018-02-17 13:21:19 +01:00
bus
sunxi-rsb: Include OF based modalias in device uevent
2018-01-10 09:29:52 +01:00
cdrom
char
ipmi: Stop timers before cleaning up the module
2017-12-16 16:25:46 +01:00
clk
clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
2017-12-29 17:43:00 +01:00
clocksource
clocksource/drivers/stm32: Fix kernel panic with multiple timers
2018-02-17 13:21:20 +01:00
connector
cpufreq
cpufreq: Add Loongson machine dependencies
2018-02-03 17:05:36 +01:00
cpuidle
cpuidle: fix broadcast control when broadcast can not be entered
2017-12-25 14:23:46 +01:00
crypto
crypto: caam - fix endless loop when DECO acquire fails
2018-02-17 13:21:17 +01:00
dax
device-dax: fix sysfs duplicate warnings
2017-08-06 18:59:43 -07:00
dca
devfreq
PM / devfreq: Fix memory leak when fail to register device
2017-09-27 14:39:24 +02:00
dio
dma
dmaengine: dmatest: fix container_of member in dmatest_callback
2018-02-17 13:21:12 +01:00
dma-buf
dma-buf: Update kerneldoc for sync_file_create
2017-12-09 22:01:56 +01:00
edac
EDAC, octeon: Fix an uninitialized variable warning
2018-02-17 13:21:19 +01:00
eisa
extcon
extcon: palmas: Check the parent instance to prevent the NULL
2017-11-21 09:23:21 +01:00
firewire
firmware
efi/esrt: Cleanup bad memory map log messages
2017-12-20 10:07:26 +01:00
fmc
fpga
gpio
gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE
2018-02-03 17:05:35 +01:00
gpu
drm/radeon: adjust tested variable
2018-02-22 15:43:47 +01:00
hid
HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working
2018-02-17 13:21:18 +01:00
hsi
hv
x86/retpoline/hyperv: Convert assembler indirect jumps
2018-01-17 09:38:59 +01:00
hwmon
hwmon: (pmbus) Use 64bit math for DIRECT format values
2018-02-03 17:05:38 +01:00
hwspinlock
hwtracing
intel_th: pci: Add Gemini Lake support
2017-12-20 10:07:22 +01:00
i2c
i2c: riic: fix restart condition
2017-12-14 09:28:21 +01:00
ide
idle
x86/intel_idle: Add CPU model 0x4a (Atom Z34xx series)
2017-04-12 12:41:17 +02:00
iio
iio: adc: ti-ads1015: add 10% to conversion wait time
2017-12-09 22:01:49 +01:00
infiniband
RDMA/mlx5: set UMR wqe fence according to HCA cap
2018-02-03 17:05:34 +01:00
input
Input: trackpoint - force 3 buttons if 0 button is reported
2018-01-31 12:55:53 +01:00
iommu
iommu/arm-smmu-v3: Cope with duplicated Stream IDs
2018-01-10 09:29:53 +01:00
ipack
irqchip
irqchip/mvebu-odmi: Select GENERIC_MSI_IRQ_DOMAIN
2017-12-20 10:07:21 +01:00
isdn
isdn: kcapi: avoid uninitialized data
2017-12-25 14:23:42 +01:00
leds
Revert "leds: handle suspend/resume in heartbeat trigger"
2017-08-30 10:21:51 +02:00
lguest
lightnvm
macintosh
mailbox
mailbox: handle empty message in tx_tick
2017-08-06 18:59:42 -07:00
mcb
MCB: add support for SC31 to mcb-lpc
2017-09-09 17:39:41 +02:00
md
bcache: check return value of register_shrinker
2018-02-03 17:05:37 +01:00
media
media: cxusb, dib0700: ignore XC2028_I2C_FLUSH
2018-02-17 13:21:18 +01:00
memory
ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
2017-12-14 09:28:16 +01:00
memstick
message
mfd
mfd: twl6040: Fix child-node lookup
2017-12-29 17:42:58 +01:00
misc
cxl: Check if vphb exists before iterating over AFU devices
2017-12-25 14:23:36 +01:00
mmc
mmc: mediatek: Fixed bug where clock frequency could be set wrong
2017-12-20 10:07:23 +01:00
mtd
ubi: block: Fix locking for idr_alloc/idr_remove
2018-02-17 13:21:14 +01:00
net
rtlwifi: rtl8821ae: Fix connection lost problem correctly
2018-02-22 15:43:49 +01:00
nfc
nfc: fdp: fix NULL pointer dereference
2017-08-06 18:59:42 -07:00
ntb
ntb: transport shouldn't disable link due to bogus values in SPADs
2017-08-30 10:21:55 +02:00
nubus
nvdimm
libnvdimm, btt: Fix an incompatibility in the log layout
2018-01-23 19:57:03 +01:00
nvme
nvme-loop: handle cpu unplug when re-establishing the controller
2017-12-25 14:23:37 +01:00
nvmem
nvmem: imx-ocotp: Fix wrong register size
2017-08-06 18:59:48 -07:00
of
of: device: Export of_device_{get_modalias, uvent_modalias} to modules
2017-07-27 15:08:08 -07:00
oprofile
parisc
parisc: Hide Diva-built-in serial aux and graphics card
2017-12-29 17:42:59 +01:00
parport
parisc, parport_gsc: Fixes for printk continuation lines
2017-06-17 06:41:54 +02:00
pci
PCI: keystone: Fix interrupt-controller-node lookup
2018-02-22 15:43:49 +01:00
pcmcia
perf
phy
phy: work around 'phys' references to usb-nop-xceiv devices
2018-01-23 19:57:07 +01:00
pinctrl
pinctrl: intel: Initialize GPIO properly when used through irqchip
2018-02-17 13:21:19 +01:00
platform
platform/x86: wmi: Call acpi_wmi_init() later
2018-01-17 09:38:51 +01:00
pnp
power
power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
2018-02-03 17:05:35 +01:00
powercap
powercap/intel_rapl: fix and tidy up error handling
2017-01-19 20:18:07 +01:00
pps
ps3
ptp
pwm
pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
2017-04-21 09:31:22 +02:00
rapidio
drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
2017-12-14 09:28:22 +01:00
ras
regulator
regulator: fan53555: fix I2C device ids
2017-11-02 09:49:15 +01:00
remoteproc
remoteproc: qcom: mdt_loader: Don't overwrite firmware object
2017-03-12 06:41:50 +01:00
reset
reset: ti_syscon: fix a ti_syscon_reset_status issue
2017-10-08 10:26:03 +02:00
rpmsg
rpmsg: virtio_rpmsg_bus: fix channel creation
2017-01-26 08:24:44 +01:00
rtc
rtc-opal: Fix handling of firmware error codes, prevent busy loops
2018-02-22 15:43:48 +01:00
s390
s390/qeth: update takeover IPs after configuration change
2018-01-02 20:35:15 +01:00
sbus
scsi
scsi: smartpqi: allow static build ("built-in")
2018-02-22 15:43:47 +01:00
sfi
sh
sn
soc
soc: mediatek: pwrap: fix compiler errors
2017-12-20 10:07:32 +01:00
spi
spi: imx: do not access registers while clocks disabled
2018-02-03 17:05:43 +01:00
spmi
spmi: Include OF based modalias in device uevent
2017-07-27 15:08:08 -07:00
ssb
staging
staging: lustre: separate a connection destroy from free struct kib_conn
2018-02-03 17:05:41 +01:00
target
target/iscsi: avoid NULL dereference in CHAP auth error path
2018-02-22 15:43:49 +01:00
tc
thermal
thermal/drivers/hisi: Fix multiple alarm interrupts firing
2017-12-25 14:23:46 +01:00
thunderbolt
tty
serial: core: mark port as initialized after successful IRQ change
2018-02-13 12:35:56 +01:00
uio
usb
usb: gadget: uvc: Missing files for configfs interface
2018-02-17 13:21:13 +01:00
uwb
uwb: ensure that endpoint is interrupt
2017-10-12 11:51:19 +02:00
vfio
vfio/pci: Virtualize Maximum Payload Size
2017-12-25 14:23:45 +01:00
vhost
vhost_net: stop device during reset owner
2018-02-13 12:35:56 +01:00
video
console/dummy: leave .con_font_get set to NULL
2018-02-22 15:43:49 +01:00
virt
virtio
virtio_balloon: prevent uninitialized variable use
2017-12-25 14:23:42 +01:00
vlynq
vme
VME: restore bus_remove function causing incomplete module unload
2017-03-12 06:41:50 +01:00
w1
w1: ds2490: USB transfer buffers need to be DMAable
2017-03-12 06:41:48 +01:00
watchdog
watchdog: imx2_wdt: restore previous timeout after suspend+resume
2018-02-17 13:21:17 +01:00
xen
xen: xenbus driver must not accept invalid transaction ids
2017-11-30 08:39:15 +00:00
zorro
Kconfig
Makefile
usb: Make sure usb/phy/of gets built-in
2017-05-20 14:28:35 +02:00