Bug 1403747 (CVE-2016-7912) - CVE-2016-7912 kernel: media: use-after-free in USB gadget driver
Summary: CVE-2016-7912 kernel: media: use-after-free in USB gadget driver
Status: NEW
Alias: CVE-2016-7912
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20160414,repor...
Keywords: Security
Depends On: 1403752
Blocks: 1395250
TreeView+ depends on / blocked
 
Reported: 2016-12-12 10:22 UTC by Vladis Dronov
Modified: 2019-02-28 22:31 UTC (History)
29 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Use-after-free vulnerability in the ffs_user_copy_worker function in drivers/usb/gadget/function/f_fs.c in the Linux kernel before 4.5.3 allows local users to gain privileges by accessing an I/O data structure after a certain callback call. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we believe it is unlikely.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Vladis Dronov 2016-12-12 10:22:38 UTC
Use-after-free vulnerability in the ffs_user_copy_worker function in drivers/usb/gadget/function/f_fs.c in the Linux kernel before 4.5.3 allows local users to gain privileges by accessing an I/O data structure after a certain callback call. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we believe it is unlikely.

References:

https://source.android.com/security/bulletin/2016-11-01.html#eop-in-kernel-usb-driver

https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-7912

Patch:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=38740a5b87d53ceb89eb2c970150f6e94e00373a

Comment 4 Vladis Dronov 2016-12-12 10:33:08 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6, 7 and Red Hat Enterprise MRG-2 as the code with the flaw is not present in the products listed.


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