CVE-2019-12819 Use after free in n/a
A use-after-free in the Linux kernel MDIO bus registration allows attackers to cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-12819?
CVE-2019-12819 is a medium-severity use after free vulnerability in Linux kernel, published on 14 Jun 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in the Linux kernel before 5.0. The function __mdiobus_register() in drivers/net/phy/mdio_bus.c calls put_device(), which will trigger a fixed_mdio_bus_init use-after-free. This will cause a denial of service.
Weakness: CWE-416
Which versions are affected by CVE-2019-12819?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2019-12819?
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-2019-12819 being exploited?
There is no known exploitation of CVE-2019-12819 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2019-12819, GHSA-v7fh-8xch-f8h7, UBUNTU-CVE-2019-12819.