CVE-2017-18174 Use after free in n/a
A double free vulnerability in the Linux kernel AMD GPIO driver allows local attackers to potentially execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-18174?
CVE-2017-18174 is a critical use after free vulnerability in Linux kernel, published on 11 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel before 4.7, the amd_gpio_remove function in drivers/pinctrl/pinctrl-amd.c calls the pinctrl_unregister function, leading to a double free.
Weakness: CWE-415
Which versions are affected by CVE-2017-18174?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2017-18174?
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-2017-18174 being exploited?
There is no known exploitation of CVE-2017-18174 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as GHSA-8vhr-8v52-w97w, UBUNTU-CVE-2017-18174.