diff options
| author | Alexander Usyskin <[email protected]> | 2016-01-17 10:25:01 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-07 06:12:56 +0000 |
| commit | 7326fffb712f09a315bc73cc1ee63843f59b8bd4 (patch) | |
| tree | 5f542b8e6172be47df34e28ab2b18c61064b4971 /fs/btrfs/dev-replace.c | |
| parent | Linux 4.5-rc1 (diff) | |
| download | kernel-7326fffb712f09a315bc73cc1ee63843f59b8bd4.tar.gz kernel-7326fffb712f09a315bc73cc1ee63843f59b8bd4.zip | |
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: <[email protected]> #4.3+
Signed-off-by: Alexander Usyskin <[email protected]>
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
