Bug 1541282 (CVE-2017-16914)

Summary: CVE-2017-16914 kernel: NULL pointer dereference in usb/usbip/stub_tx.c:stub_send_ret_submit() can lead to denial of service via crafted USB over IP 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.14.8, kernel 4.9.71, kernel 4.1.49, kernel 4.4.107 Doc Type: Bug Fix
Doc Text:
The "stub_send_ret_submit()" function (drivers/usb/usbip/stub_tx.c) in the Linux kernel can allow an attacker to cause a denial of service (NULL pointer dereference) via a specially crafted USB over IP packet.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-15 10:28:50 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: 1541283    
Bug Blocks: 1541286    

Description Sam Fowler 2018-02-02 07:59:38 UTC
The "stub_send_ret_submit()" function (drivers/usb/usbip/stub_tx.c) in the Linux kernel can allow an attacker to cause a denial of service (NULL pointer dereference) via a specially crafted USB over IP packet.

References:

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

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

An upstream patch:

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

Comment 1 Sam Fowler 2018-02-02 08:00:12 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1541283]

Comment 2 Justin M. Forbes 2018-02-02 14:32:09 UTC
This was fixed in the 4.14.8 stable updates for Fedora.

Comment 6 Eric Christensen 2018-02-15 18:28:19 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.