android_kernel_sony_sdm845/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Disseldorp 718ff848dc scsi: target: compare full CHAP_A Algorithm strings
[ Upstream commit 9cef2a7955f2754257a7cddedec16edae7b587d0 ]

RFC 2307 states:

  For CHAP [RFC1994], in the first step, the initiator MUST send:

      CHAP_A=<A1,A2...>

   Where A1,A2... are proposed algorithms, in order of preference.
...
   For the Algorithm, as stated in [RFC1994], one value is required to
   be implemented:

       5     (CHAP with MD5)

LIO currently checks for this value by only comparing a single byte in
the tokenized Algorithm string, which means that any value starting with
a '5' (e.g. "55") is interpreted as "CHAP with MD5". Fix this by
comparing the entire tokenized string.

Reviewed-by: Lee Duncan <lduncan@suse.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: David Disseldorp <ddiss@suse.de>
Link: https://lore.kernel.org/r/20190912095547.22427-2-ddiss@suse.de
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 13:40:37 +01:00
..
accessibility
acpi ACPI: PM: Avoid attaching ACPI PM domain to certain devices 2019-12-21 10:42:06 +01:00
amba
android ANDROID: binder: synchronize_rcu() when using POLLFREE. 2019-10-07 18:53:19 +02:00
ata libata: Ensure ata_port probe has completed before detach 2020-01-04 13:39:30 +01:00
atm atm: zatm: Fix empty body Clang warnings 2019-11-28 18:28:32 +01:00
auxdisplay
base drivers/base/platform.c: kmemleak ignore a known leak 2019-12-05 15:35:04 +01:00
bcma
block rsxx: add missed destroy_workqueue calls in remove 2019-12-21 10:40:49 +01:00
bluetooth Bluetooth: Fix invalid-free in bcsp_close() 2019-11-28 18:29:02 +01:00
bus
cdrom cdrom: Fix race condition in cdrom_sysctl_register 2019-04-05 22:29:12 +02:00
char hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled 2020-01-04 13:39:15 +01:00
clk clk: sunxi-ng: h3/h5: Fix CSI_MCLK parent 2019-12-21 10:41:20 +01:00
clocksource clocksource/drivers/exynos_mct: Increase priority over ARM arch timer 2019-08-04 09:33:22 +02:00
connector
cpufreq cpufreq: Register drivers only after CPU devices have been registered 2020-01-04 13:39:56 +01:00
cpuidle cpuidle: Do not unset the driver if it is there already 2019-12-21 10:42:04 +01:00
crypto crypto: vmx - Avoid weird build failures 2020-01-04 13:40:06 +01:00
dax
dca
devfreq PM / devfreq: Lock devfreq in trans_stat_show 2019-12-21 10:42:05 +01:00
dio
dma dmaengine: coh901318: Remove unused variable 2019-12-21 10:41:06 +01:00
dma-buf dma-buf: Fix memory leak in sync_file_merge() 2019-12-21 10:42:32 +01:00
edac EDAC/ghes: Fix grain calculation 2020-01-04 13:39:51 +01:00
eisa
extcon extcon: sm5502: Reset registers during initialization 2020-01-04 13:39:22 +01:00
firewire
firmware firmware: qcom: scm: Ensure 'a0' status code is treated as signed 2019-12-21 10:42:17 +01:00
fmc
fpga
gpio gpio: max77620: Fixup debounce delays 2019-11-28 18:28:05 +01:00
gpu drm/gma500: fix memory disclosures due to uninitialized bytes 2020-01-04 13:39:27 +01:00
hid HID: core: check whether Usage Page item is after Usage ID items 2019-12-05 15:35:31 +01:00
hsi
hv
hwmon hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros 2019-11-25 09:53:51 +01:00
hwspinlock
hwtracing coresight: etm4x: Fix input validation for sysfs. 2019-12-21 10:41:33 +01:00
i2c i2c: imx: don't print error message on probe defer 2019-12-21 10:41:11 +01:00
ide
idle x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:19:34 +02:00
iio iio: adc: max1027: Reset the device at probe time 2020-01-04 13:39:25 +01:00
infiniband IB/iser: bound protection_sg size by data_sg size 2020-01-04 13:39:09 +01:00
input Input: atmel_mxt_ts - disable IRQ across suspend 2020-01-04 13:40:35 +01:00
iommu iommu/tegra-smmu: Fix page tables in > 4 GiB memory 2020-01-04 13:40:37 +01:00
ipack
irqchip irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices 2019-10-05 12:30:10 +02:00
isdn staging: gigaset: add endpoint-type sanity check 2019-12-21 10:41:50 +01:00
leds leds: leds-lp5562 allow firmware files up to the maximum length 2019-10-05 12:30:17 +02:00
lguest
lightnvm
macintosh macintosh/windfarm_smu_sat: Fix debug output 2019-11-28 18:28:30 +01:00
mailbox mailbox: handle failed named mailbox channel request 2019-08-04 09:33:41 +02:00
mcb
md dm btree: increase rebalance threshold in __rebalance2() 2019-12-21 10:42:32 +01:00
media media: si470x-i2c: add missed operations in remove 2020-01-04 13:39:50 +01:00
memory memory: tegra: Fix integer overflow on tick value calculation 2019-05-25 18:26:49 +02:00
memstick memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()' 2019-10-29 09:15:25 +01:00
message
mfd mfd: max8997: Enale irq-wakeup unconditionally 2019-11-28 18:28:38 +01:00
misc altera-stapl: check for a null key before strcasecmp'ing it 2019-12-21 10:41:09 +01:00
mmc mmc: sdhci-of-esdhc: fix P2020 errata handling 2020-01-04 13:40:27 +01:00
mtd mtd: spear_smi: Fix Write Burst mode 2019-12-21 10:41:56 +01:00
net net: usb: lan78xx: Fix suspend/resume PHY register access error 2020-01-04 13:40:18 +01:00
nfc NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error 2019-12-21 10:40:48 +01:00
ntb ntb: intel: fix return value for ndev_vec_mask() 2019-11-28 18:28:52 +01:00
nubus
nvdimm libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields 2019-08-04 09:33:29 +02:00
nvme nvme: host: core: fix precedence of ternary operator 2019-12-21 10:42:21 +01:00
nvmem nvmem: core: return error code instead of NULL from nvmem_device_get 2019-11-25 09:52:16 +01:00
of of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC 2019-11-25 09:52:08 +01:00
oprofile
parisc parisc: Disable HP HSC-PCI Cards to prevent kernel crash 2019-10-05 12:30:31 +02:00
parport parport: load lowlevel driver if ports not found 2020-01-04 13:39:55 +01:00
pci PCI/MSI: Fix incorrect MSI-X masking on resume 2019-12-21 10:42:29 +01:00
pcmcia
perf drivers/perf: arm_pmu: Fix failure path in PM notifier 2019-08-06 18:29:41 +02:00
phy phy: phy-twl4030-usb: fix denied runtime access 2019-11-25 09:52:50 +01:00
pinctrl pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B 2020-01-04 13:39:31 +01:00
platform platform/x86: hp-wmi: Make buffer for HPWMI_FEATURE2_QUERY 128 bytes 2020-01-04 13:40:21 +01:00
pnp
power PM / AVS: SmartReflex: NULL check before some freeing functions is not needed 2019-12-05 15:34:17 +01:00
powercap x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:19:34 +02:00
pps drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl 2019-08-04 09:33:45 +02:00
ps3
ptp
pwm pwm: Clear chip_data in pwm_put() 2019-12-05 15:35:23 +01:00
rapidio drivers/rapidio/devices/rio_mport_cdev.c: NUL terminate some strings 2019-08-06 18:29:38 +02:00
ras
regulator regulator: max8907: Fix the usage of uninitialized variable in max8907_regulator_probe() 2020-01-04 13:39:15 +01:00
remoteproc
reset reset: Fix potential use-after-free in __of_reset_control_get() 2019-11-25 09:53:42 +01:00
rpmsg
rtc rtc: max8997: Fix the returned value in case of error in 'max8997_rtc_read_alarm()' 2019-12-21 10:41:03 +01:00
s390 scsi: zfcp: trace channel log even for FCP command responses 2019-12-21 10:42:10 +01:00
sbus
scsi scsi: lpfc: Fix locking on mailbox command completion 2020-01-04 13:40:32 +01:00
sfi
sh
sn
soc soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher 2019-06-22 08:17:15 +02:00
spi spi: st-ssc4: add missed pm_runtime_disable 2020-01-04 13:40:02 +01:00
spmi
ssb ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2019-05-31 06:48:12 -07:00
staging staging: comedi: gsc_hpdi: check dma_alloc_coherent() return value 2020-01-04 13:40:21 +01:00
target scsi: target: compare full CHAP_A Algorithm strings 2020-01-04 13:40:37 +01:00
tc
thermal thermal: Fix deadlock in thermal thermal_zone_device_check 2019-12-21 10:41:43 +01:00
thunderbolt thunderbolt: Use 32-bit writes when writing ring producer/consumer 2019-11-06 12:18:14 +01:00
tty tty: vt: keyboard: reject invalid keycodes 2019-12-21 10:41:36 +01:00
uio
usb USB: EHCI: Do not return -EPIPE when hub is disconnected 2020-01-04 13:40:20 +01:00
uwb
vfio vfio/pci: call irq_bypass_unregister_producer() before freeing irq 2019-12-21 10:42:31 +01:00
vhost vhost: make sure log_num < in_num 2019-09-16 08:19:34 +02:00
video video/hdmi: Fix AVI bar unpack 2019-12-21 10:42:08 +01:00
virt drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl 2019-05-16 19:43:47 +02:00
virtio virtio-balloon: fix managed page counts when migrating pages between zones 2019-12-21 10:41:57 +01:00
vlynq
vme
w1 w1: fix the resume command API 2019-05-31 06:48:15 -07:00
watchdog watchdog: meson: Fix the wrong value of left time 2019-12-05 15:34:10 +01:00
xen xen/pciback: Check dev_data before using it 2019-12-05 15:34:29 +01:00
zorro
Kconfig
Makefile