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
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2016-7912
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: 1403752
Blocks: 1395250
TreeView+ depends on / blocked
 
Reported: 2016-12-12 10:22 UTC by Vladis Dronov
Modified: 2021-10-27 10:51 UTC (History)
25 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.
Clone Of:
Environment:
Last Closed: 2021-10-27 10:51:49 UTC
Embargoed:


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.