CVE-2019-15794
Summary
| CVE | CVE-2019-15794 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-04-24 00:15:00 UTC |
| Updated | 2020-05-26 15:18:00 UTC |
| Description | Overlayfs in the Linux kernel and shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, both replace vma->vm_file in their mmap handlers. On error the original value is not restored, and the reference is put for the file to which vm_file points. On upstream kernels this is not an issue, as no callers dereference vm_file following after call_mmap() returns an error. However, the aufs patchs change mmap_region() to replace the fput() using a local variable with vma_fput(), which will fput() vm_file, leading to a refcount underflow. |
Risk And Classification
Problem Types: CWE-672
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Canonical | Ubuntu Linux | 18.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 19.10 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 18.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 19.10 | All | All | All |
| Operating System | Linux | Linux Kernel | 5.0 | All | All | All |
| Operating System | Linux | Linux Kernel | 5.3 | All | All | All |
| Operating System | Linux | Linux Kernel | 5.0 | All | All | All |
| Operating System | Linux | Linux Kernel | 5.3 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| USN-4208-1: Linux kernel vulnerabilities | Ubuntu security notices | MISC | usn.ubuntu.com | Third Party Advisory |
| USN-4209-1: Linux kernel vulnerabilities | Ubuntu security notices | MISC | usn.ubuntu.com | Third Party Advisory |
| ~ubuntu-kernel/ubuntu/+source/linux/+git/eoan - [no description] | MISC | git.launchpad.net | Mailing List, Patch, Third Party Advisory |
| ~ubuntu-kernel/ubuntu/+source/linux/+git/eoan - [no description] | MISC | git.launchpad.net | Mailing List, Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Jann Horn of Google Project Zero
There are currently no legacy QID mappings associated with this CVE.