android_kernel_sony_sdm845/drivers/misc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vishnu DASA 6f56992a4e VMCI: Fix integer overflow in VMCI handle arrays
commit 1c2eb5b2853c9f513690ba6b71072d8eb65da16a upstream.

The VMCI handle array has an integer overflow in
vmci_handle_arr_append_entry when it tries to expand the array. This can be
triggered from a guest, since the doorbell link hypercall doesn't impose a
limit on the number of doorbell handles that a VM can create in the
hypervisor, and these handles are stored in a handle array.

In this change, we introduce a mandatory max capacity for handle
arrays/lists to avoid excessive memory usage.

Signed-off-by: Vishnu Dasa <vdasa@vmware.com>
Reviewed-by: Adit Ranadive <aditr@vmware.com>
Reviewed-by: Jorgen Hansen <jhansen@vmware.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-21 09:06:03 +02: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: add support for 24c2048 2019-02-20 10:18:25 +01:00
genwqe genwqe: Prevent an integer overflow in the ioctl 2019-06-11 12:22:48 +02: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 copy-paste error in scif_create_remote_lookup 2018-12-05 19:42:41 +01:00
sgi-gru drivers/misc/sgi-gru: fix Spectre v1 vulnerability 2018-11-27 16:09:41 +01: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: Fix integer overflow in VMCI handle arrays 2019-07-21 09:06:03 +02: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 misc: atmel-ssc: Fix section annotation on atmel_ssc_get_driver_data 2018-11-27 16:09:41 +01:00
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
hpilo.h
ics932s401.c
ioc4.c
isl29003.c
isl29020.c
Kconfig
kgdbts.c Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var 2019-06-22 08:17:19 +02:00
lattice-ecp3-config.c
lkdtm.h lkdtm: Add tests for NULL pointer dereference 2019-04-20 09:07:53 +02:00
lkdtm_bugs.c
lkdtm_core.c lkdtm: Add tests for NULL pointer dereference 2019-04-20 09:07:53 +02:00
lkdtm_heap.c
lkdtm_perms.c lkdtm: Add tests for NULL pointer dereference 2019-04-20 09:07:53 +02:00
lkdtm_rodata.c
lkdtm_usercopy.c
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
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 misc: vexpress: Off by one in vexpress_syscfg_exec() 2019-02-15 08:07:37 +01:00
vmw_balloon.c vmw_balloon: include asm/io.h 2018-09-29 03:07:35 -07:00