CVE-2019-18885: NULL Pointer Dereference in btrfs_verify_dev_extents (Linux Kernel)
- Vendor
- Linux
A NULL pointer dereference exists in the Linux kernel's Btrfs filesystem implementation (fs/btrfs/volumes.c) prior to version 5.1. The vulnerability is triggered in the btrfs_verify_dev_extents function due to improper handling of the fs_devices->devices pointer within the find_device function. An attacker can exploit this by providing a crafted Btrfs image, leading to a kernel crash (OOPS/panic) when the NULL pointer is dereferenced.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation results in a denial of service (kernel crash) when a crafted Btrfs image is mounted or otherwise processed. There is no indication of privilege escalation or code execution, but the system's availability is compromised.
Mitigation
If you can’t patch tonight, do this now.
Avoid mounting untrusted or potentially malicious Btrfs images. Restrict access to mount operations to trusted users only until the kernel is updated.
Remediation
Patch, then assume compromise.
Upgrade the Linux kernel to version 5.1 or later, where the issue has been resolved by properly handling the fs_devices->devices pointer in the affected code path.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2019-18885 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2019-18885 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2019-18885?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2019-18885.
- Is there a patch for CVE-2019-18885?
- Upgrade the Linux kernel to version 5.1 or later, where the issue has been resolved by properly handling the fs_devices->devices pointer in the affected code path.
- What products are affected by CVE-2019-18885?
- Linux Kernel.
- How severe is CVE-2019-18885?
- CVE-2019-18885 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 1.2% (69th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.