aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/qmi_wwan.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2019-11-07 09:48:01 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-07 15:27:06 -0800
commit332f989a3b0041b810836c5c3747e59aad7e9d0b (patch)
tree412b95932374b9675b47915972fef54c0907d685 /drivers/net/usb/qmi_wwan.c
parentnfc: netlink: fix double device reference drop (diff)
downloadlinux-dev-332f989a3b0041b810836c5c3747e59aad7e9d0b.tar.xz
linux-dev-332f989a3b0041b810836c5c3747e59aad7e9d0b.zip
CDC-NCM: handle incomplete transfer of MTU
A malicious device may give half an answer when asked for its MTU. The driver will proceed after this with a garbage MTU. Anything but a complete answer must be treated as an error. V2: used sizeof as request by Alexander Reported-and-tested-by: syzbot+0631d878823ce2411636@syzkaller.appspotmail.com Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions