Vulnerability Description
In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, shiftfs_btrfs_ioctl_fd_replace() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | 5.0 |
| Canonical | Ubuntu Linux | 18.04 |
Related Weaknesses (CWE)
References
- https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?Mailing ListPatchThird Party Advisory
- https://usn.ubuntu.com/usn/usn-4183-1Third Party Advisory
- https://usn.ubuntu.com/usn/usn-4184-1Third Party Advisory
- https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?Mailing ListPatchThird Party Advisory
- https://usn.ubuntu.com/usn/usn-4183-1Third Party Advisory
- https://usn.ubuntu.com/usn/usn-4184-1Third Party Advisory
FAQ
What is CVE-2019-15791?
CVE-2019-15791 is a vulnerability with a CVSS score of 7.1 (HIGH). In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, shiftfs_btrfs_ioctl_fd_replace() installs an fd referencing a file from the lower filesystem with...
How severe is CVE-2019-15791?
CVE-2019-15791 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-15791?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel, Canonical Ubuntu Linux.