Bug 1541888 (CVE-2017-16913) - CVE-2017-16913 kernel: Improper validation in usbip/stub_rx.c:stub_recv_cmd_submit() allows for denial of service via crafted USB over IP CMD_SUBMIT packet
Summary: CVE-2017-16913 kernel: Improper validation in usbip/stub_rx.c:stub_recv_cmd_s...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-16913
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:
Depends On: 1541889 1545617
Blocks: 1541890
TreeView+ depends on / blocked
 
Reported: 2018-02-05 06:56 UTC by Sam Fowler
Modified: 2021-03-11 17:06 UTC (History)
46 users (show)

Fixed In Version: kernel 4.4.114, kernel 4.9.71, kernel 4.14.8
Doc Type: Bug Fix
Doc Text:
Improper input validation in drivers/usb/usbip/stub_rx.c:stub_recv_cmd_submit() in the Linux kernel, when handling CMD_SUBMIT packets, allows attackers to cause a denial of service (arbitrary memory allocation) via a specially crafted USB over IP packet.
Clone Of:
Environment:
Last Closed: 2018-02-15 11:33:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2018-02-05 06:56:45 UTC
Improper input validation in drivers/usb/usbip/stub_rx.c:stub_recv_cmd_submit() in the Linux Kernel when handling CMD_SUBMIT packets allows attackers to cause a denial of service (arbitrary memory allocation) via a specially crafted USB over IP packet.

References:

https://secuniaresearch.flexerasoftware.com/secunia_research/2017-21/

https://www.spinics.net/lists/linux-usb/msg163479.html

An upstream fix:

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

Comment 3 Vladis Dronov 2018-02-15 11:07:41 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1545617]

Comment 6 Justin M. Forbes 2018-02-15 13:11:06 UTC
This was fixed for fedora with the 4.14.14 stable updates.

Comment 7 Eric Christensen 2018-02-15 18:34:35 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6, and 7, its real-time kernel, Red Hat Enterprise MRG 2, Red Hat Enterprise Linux 7 for ARM 64, and Red Hat Enterprise Linux 7 for Power 9 LE, as the code with the flaw is not enabled and is not built in the products listed.


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