CVE-2019-19770 Use after free in n/a
A use-after-free vulnerability in the Linux kernel debugfs component allows attackers to potentially execute code or escalate privileges via misuse of blktrace.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-19770?
CVE-2019-19770 is a high-severity use after free vulnerability in Linux kernel, published on 12 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel 4.19.83, there is a use-after-free (read) in the debugfs_remove function in fs/debugfs/inode.c (which is used to remove a file or directory in debugfs that was previously created with a call to another debugfs function such as debugfs_create_file). NOTE: Linux kernel developers dispute this issue as not being an issue with debugfs, instead this is an issue with misuse of debugfs within blktrace
Weakness: CWE-416
Which versions are affected by CVE-2019-19770?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2019-19770?
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-19770 being exploited?
There is no known exploitation of CVE-2019-19770 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2019-19770, GHSA-6xfg-823w-w33f, UBUNTU-CVE-2019-19770.