diff options
| author | Oliver Neukum <oneukum@suse.com> | 2020-04-15 16:03:04 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-20 08:11:34 +0200 |
| commit | b9764baaebbe9b8be63b8b32df0383b0af3941a8 (patch) | |
| tree | 10673b4f2d0bb0ee553c4b2c3d241d6548d18826 /net/ipv6/tcp_ipv6.c | |
| parent | c2ad91a8084345093e6a9af7a6a235f25772ec6d (diff) | |
USB: serial: garmin_gps: add sanity checking for data length
commit e9b3c610a05c1cdf8e959a6d89c38807ff758ee6 upstream.
We must not process packets shorter than a packet ID
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-and-tested-by: syzbot+d29e9263e13ce0b9f4fd@syzkaller.appspotmail.com
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
