Files
i2som-imx-linux/include/linux
Vishnu DASA d202b5adcc VMCI: Fix integer overflow in VMCI handle arrays
commit 1c2eb5b285 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-14 08:11:21 +02:00
..
2019-04-17 08:38:42 +02:00
2018-05-26 09:16:44 +02:00
2019-04-20 09:16:05 +02:00
2011-03-11 14:25:50 +00:00
2019-07-03 13:14:48 +02:00
2018-06-19 10:06:29 -07:00
2018-08-22 10:52:48 -07:00
2019-03-23 20:10:09 +01:00
2012-02-20 19:46:36 +11:00
2018-07-24 19:11:26 +02:00
2017-08-07 17:22:14 +02:00
2014-12-31 13:06:50 -05:00
2018-07-27 09:57:23 +10:00
2019-05-31 06:46:18 -07:00
2018-03-26 08:53:43 -06:00
2018-08-08 11:06:20 +02:00
2018-06-22 13:43:27 +09:00
2019-05-22 07:37:44 +02:00
2019-05-16 19:41:22 +02:00
2017-12-01 13:09:40 -08:00
2018-04-12 09:41:19 -07:00
2017-02-24 17:46:57 -08:00
2018-06-07 17:34:35 -07:00
2019-05-04 09:20:11 +02:00
2018-06-07 17:34:39 -07:00
2018-08-22 10:52:45 -07:00
2017-11-09 10:23:28 +01:00
2018-07-25 13:41:22 -07:00
2017-12-16 02:05:48 +01:00
2018-08-22 10:52:46 -07:00
2019-06-11 12:20:52 +02:00
2018-07-20 01:11:45 +02:00
2018-08-02 17:33:06 -04:00
2018-08-02 17:16:05 +02:00
2018-08-16 12:14:42 -07:00
2019-04-17 08:38:45 +02:00
2013-04-30 15:50:12 +05:30
2018-06-20 11:35:56 +02:00
2018-02-06 18:32:47 -08:00
2018-11-13 11:08:51 -08:00
2019-06-17 19:51:56 +02:00
2015-10-01 09:57:59 -07:00
2017-12-20 09:53:54 -07:00
2017-08-15 09:02:08 -07:00