CVE-2016-7912 Use after free in n/a
Local attackers can exploit a use-after-free in the Linux kernel USB gadget driver to escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-7912?
CVE-2016-7912 is a high-severity use after free vulnerability in Linux kernel, published on 16 Nov 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-416
Which versions are affected by CVE-2016-7912?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2016-7912?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2016-7912 being exploited?
There is no known exploitation of CVE-2016-7912 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2016-7912, GHSA-rcjx-c5rp-m8jj, UBUNTU-CVE-2016-7912.