Bug 1624507 (CVE-2018-16276)

Summary: CVE-2018-16276 kernel: incorrect bounds checking in yurex_read in drivers/usb/misc/yurex.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abhgupta, airlied, aquini, bhu, blc, bskeggs, dbaker, dhoward, esammons, ewk, fhrbata, hdegoede, hkrzesin, hwkernel-mgr, iboverma, ichavero, itamar, jarodwilson, jforbes, jglisse, jkacur, john.j5live, jokerman, jonathan, josef, jross, jstancek, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, lwang, matt, mchehab, mcressma, mjg59, mlangsdo, nmurray, plougher, rt-maint, rvrbovsk, sfowler, skozina, steved, sthangav, trankin, vdronov, williams, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.17.7 Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds access issue was discovered in yurex_read() in drivers/usb/misc/yurex.c in the Linux kernel. A local attacker could use user access read/writes with incorrect bounds checking in the yurex USB driver to crash the kernel or potentially escalate privileges.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-03 15:05:58 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: 1624508    
Bug Blocks: 1624509, 1651063    

Description Laura Pardo 2018-08-31 20:58:15 UTC
An out-of-bound access issue was discovered in yurex_read() in drivers/usb/misc/yurex.c in the Linux kernel. A local attacker could use user access read/writes with incorrect bounds checking in the yurex USB driver to crash the kernel or potentially escalate privileges.

References:

https://marc.info/?t=153089016500001&r=1&w=2

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.17.7

An upstream patch:

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

Comment 1 Laura Pardo 2018-08-31 20:58:43 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1624508]

Comment 2 Justin M. Forbes 2018-08-31 21:26:35 UTC
This was fixed for Fedora with the 4.17.7 stable updates.

Comment 5 Vladis Dronov 2018-09-03 15:05:58 UTC
Note:

No Red Hat products are vulnerable to this flaw, as the yurex driver is not shipped.

Comment 6 Joshua Padman 2018-11-26 03:32:02 UTC
*** Bug 1651061 has been marked as a duplicate of this bug. ***