Dan Carpenter
37f43c12f5
vmci: type promotion bug in qp_host_get_user_memory()
...
[ Upstream commit 7fb2fd4e25fc1fb10dcb30b5519de257cfeae84c ]
The problem is that if get_user_pages_fast() fails and returns a
negative error code, it gets type promoted to a high positive value and
treated as a success.
Fixes: 06164d2b72 ("VMCI: queue pairs implementation.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-03 17:01:42 -07:00
..
altera-stapl
c2port
drivers/misc/c2port/c2port-duramar2150.c: checking for NULL instead of IS_ERR()
2017-06-24 07:11:16 +02:00
cb710
cxl
cxl: Fix wrong comparison in cxl_adapter_context_get()
2018-09-09 20:01:20 +02:00
echo
eeprom
eeprom: at24: change nvmem stride to 1
2017-12-20 10:07:17 +01:00
genwqe
GenWQE: Fix bad page access during abort of resource allocation
2016-10-28 08:25:18 -04:00
ibmasm
ibmasm: don't write out of bounds in read handler
2018-07-17 11:37:51 +02:00
lis3lv02d
mei
mei: bus: type promotion bug in mei_nfc_if_version()
2018-09-26 08:36:40 +02:00
mic
misc: mic: SCIF Fix scif_get_new_port() error handling
2018-09-19 22:47:12 +02:00
sgi-gru
drivers/misc/sgi-gru/grumain.c: remove bogus 0x prefix from printk
2016-10-27 18:43:43 -07:00
sgi-xp
ti-st
misc: ti-st: Fix memory leak in the error path of probe()
2018-09-19 22:47:13 +02:00
vmw_vmci
vmci: type promotion bug in qp_host_get_user_memory()
2018-10-03 17:01:42 -07:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
arm-charlcd.c
atmel-ssc.c
atmel_tclib.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
enclosure.c
scsi: ses: don't get power status of SES device slot on probe
2018-03-22 09:17:48 +01:00
fsa9480.c
hmc6352.c
misc: hmc6352: fix potential Spectre v1
2018-09-26 08:36:35 +02:00
hpilo.c
drivers/misc/hpilo: Changes to support new security states in iLO5 FW
2016-09-27 12:53:46 +02:00
hpilo.h
ics932s401.c
ioc4.c
isl29003.c
isl29020.c
Kconfig
Merge 4.8-rc5 into char-misc-next
2016-09-05 08:04:07 +02:00
kgdbts.c
lattice-ecp3-config.c
lkdtm.h
lkdtm_bugs.c
lkdtm_core.c
lkdtm: Fix Oops when unloading the module
2017-10-08 10:26:07 +02:00
lkdtm_heap.c
lkdtm_perms.c
lkdtm_rodata.c
lkdtm: Mark lkdtm_rodata_do_nothing() notrace
2016-08-31 13:12:38 +02:00
lkdtm_usercopy.c
lkdtm: adjust usercopy tests to bypass const checks
2016-09-06 12:17:30 -07:00
Makefile
lkdtm: turn off kcov for lkdtm_rodata_do_nothing:
2018-03-22 09:17:49 +01:00
panel.c
misc: panel: properly restore atomic counter on error path
2017-11-18 11:22:25 +01:00
pch_phub.c
misc: pch_phub: Add UART_CLK quirk for Boston platform
2016-08-31 15:45:18 +02:00
phantom.c
pti.c
qcom-coincell.c
spear13xx_pcie_gadget.c
sram.c
ti_dac7512.c
tifm_7xx1.c
tifm_core.c
tsl2550.c
tsl2550: fix lux1_input error in low light
2018-10-03 17:01:41 -07:00
vexpress-syscfg.c
vmw_balloon.c
vmw_balloon: include asm/io.h
2018-09-29 03:07:35 -07:00