Bug 1660385 (CVE-2018-20169) - CVE-2018-20169 kernel: usb: missing size check in the __usb_get_extra_descriptor() leading to DoS
Summary: CVE-2018-20169 kernel: usb: missing size check in the __usb_get_extra_descrip...
Status: NEW
Alias: CVE-2018-20169
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20181205,repor...
Keywords: Security
Depends On: 1689304 1689305 1689307 1689308 1689309 1660386 1689306
Blocks: 1660387
TreeView+ depends on / blocked
 
Reported: 2018-12-18 09:12 UTC by Andrej Nemec
Modified: 2019-06-08 23:46 UTC (History)
18 users (show)

(edit)
A flaw was discovered in the Linux kernel's USB subsystem in the __usb_get_extra_descriptor() function in the drivers/usb/core/usb.c which mishandles a size check during the reading of an extra descriptor data. By using a specially crafted USB device which sends a forged extra descriptor, an unprivileged user with physical access to the system can potentially cause a  privilege escalation or trigger a system crash or lock up and thus to cause a denial of service (DoS).
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Andrej Nemec 2018-12-18 09:12:19 UTC
A flaw was discovered in the Linux kernel's USB subsystem in the __usb_get_extra_descriptor() function in the drivers/usb/core/usb.c which mishandles a size check during the reading of an extra descriptor data. By using a specially crafted USB device which sends a forged extra descriptor, an unprivileged user with physical access to the system can potentially cause a  privilege escalation or trigger a system crash or lock up and thus to cause a denial of service (DoS).

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=704620afc70cf47abb9d6a1a57f3825d2bca49cf

Comment 1 Andrej Nemec 2018-12-18 09:12:42 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1660386]

Comment 2 Justin M. Forbes 2018-12-18 15:41:51 UTC
This was fixed for Fedora with the 4.19.9 stable kernel updates


Note You need to log in before you can comment on or make changes to this bug.