CVE-2019-15794Linux Kernel
Medium 6.7
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 40
- CVSS 3.1
- 6.7
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- Yes
- Published
- Apr 24, 2020
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-672
- Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | 5.0 |
| linux | linux_kernel | 5.3 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 19.10 |
Official sources
References
Links published by the sources. Open them with care.
- git.launchpad.net Mailing List Patch Third Party Advisory
- git.launchpad.net Mailing List Patch Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory