Skip to content
Commit e9b3c610 authored by Oliver Neukum's avatar Oliver Neukum Committed by Johan Hovold
Browse files

USB: serial: garmin_gps: add sanity checking for data length



We must not process packets shorter than a packet ID

Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Reported-and-tested-by: default avatar <syzbot+d29e9263e13ce0b9f4fd@syzkaller.appspotmail.com>
Fixes: 1da177e4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent ae83d0b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment