Use-after-free in Linux kernel - CVE-2016-7912

 

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

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