CVE-2019-19816 Memory corruption in n/a
A local attacker can trigger a slab-out-of-bounds write in the Linux kernel by mounting a crafted btrfs filesystem image, potentially leading to code execution or privilege escalation.
- 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-2019-19816?
CVE-2019-19816 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 17 Dec 2019. 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
In the Linux kernel 5.0.21, mounting a crafted btrfs filesystem image and performing some operations can cause slab-out-of-bounds write access in __btrfs_map_block in fs/btrfs/volumes.c, because a value of 1 for the number of data stripes is mishandled.
Weakness: CWE-787
Which versions are affected by CVE-2019-19816?
It affects 13 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel, Netapp Active Iq Unified Manager, Netapp Aff A400 Firmware, Netapp Aff A700s Firmware and 7 more.
How do I fix CVE-2019-19816?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-19816 being exploited?
There is no known exploitation of CVE-2019-19816 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2019-19816, GHSA-m6v9-2r23-587c, UBUNTU-CVE-2019-19816.