Bug 1541888 (CVE-2017-16913)

Summary: 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
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: airlied, ajax, aquini, bhu, blc, bskeggs, dhoward, esammons, ewk, fhrbata, hdegoede, hkrzesin, hwkernel-mgr, iboverma, ichavero, itamar, jarodwilson, jforbes, jglisse, jkacur, john.j5live, jonathan, josef, jross, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, lwang, matt, mchehab, mcressma, mguzik, mjg59, mlangsdo, nmurray, plougher, rt-maint, rvrbovsk, skozina, steved, vdronov, williams, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-15 11:33:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1541889, 1545617    
Bug Blocks: 1541890    

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.