diff options
author | Tobias Herzog <t-herzog@gmx.de> | 2017-03-30 20:15:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 13:44:36 (GMT) |
commit | 809ae061d998359783c1bb0c52bba14f4a6397c4 (patch) | |
tree | 96f2da7d48e5e0954989c66b3595e63af8e49141 /block/Kconfig | |
parent | 198ab4031873b5511d6ef9b4777cabc4eebcaf18 (diff) | |
download | linux-809ae061d998359783c1bb0c52bba14f4a6397c4.tar.xz |
cdc-acm: fix possible invalid access when processing notification
commit 1bb9914e1730417d530de9ed37e59efdc647146b upstream.
Notifications may only be 8 bytes long. Accessing the 9th and
10th byte of unimplemented/unknown notifications may be insecure.
Also check the length of known notifications before accessing anything
behind the 8th byte.
Signed-off-by: Tobias Herzog <t-herzog@gmx.de>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/Kconfig')
0 files changed, 0 insertions, 0 deletions