Alexander Usyskin 7326fffb71 mei: validate request value in client notify request ioctl
This patch address a possible security issue:

The request field in client notify request ioctl comes from user space
as u32 and is downcasted to u8 with out validation.
Check request field to have approved values
MEI_HBM_NOTIFICATION_STAR/STOP

Cc: <stable@vger.kernel.org> #4.3+
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-06 22:12:56 -08:00
..
2016-01-15 13:18:47 -08:00
2014-02-28 14:08:42 -08:00
2015-11-06 10:23:50 -08:00
2015-10-04 12:57:15 +01:00
2015-03-16 21:10:28 +01:00
2016-01-20 17:09:18 -08:00
2015-10-29 09:02:16 +09:00