Use-after-free in Linux kernel - CVE-2016-7912
Published: November 16, 2016 / Updated: January 19, 2023
Vulnerability identifier: #VU90825
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2016-7912
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local non-authenticated attacker to execute arbitrary code.
The vulnerability exists due to a use-after-free error within the ffs_user_copy_worker() function in drivers/usb/gadget/function/f_fs.c. A local non-authenticated attacker can execute arbitrary code.
How to mitigate CVE-2016-7912
Install update from vendor's website.
Sources
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=38740a5b87d53ceb89eb2c970150f6e94e00373a
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.3
- https://github.com/torvalds/linux/commit/38740a5b87d53ceb89eb2c970150f6e94e00373a
- http://source.android.com/security/bulletin/2016-11-01.html
- http://www.securityfocus.com/bid/94197