CVE-2019-15794 Details
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.
A vulnerability exists in the Linux kernel's Overlayfs and Shiftfs drivers, specifically in the Ubuntu 5.0 and 5.3 kernel series. These drivers improperly manage reference counting during memory mapping operations, particularly when used with AUFS. This mismanagement can lead to a reference count underflow, potentially causing a system crash or allowing arbitrary code execution.
Users can update their systems to the latest kernel versions available in the Ubuntu repositories. After updating, a reboot is required to apply the changes. Note that the kernel update introduces an ABI change, requiring the recompilation and reinstallation of any third-party kernel modules.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=270d16ae48a4dbf1c7e25e94cc3e38b4bea37635 | CVE | Mailing ListPatchThird Party Advisory |
| https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=ef81780548d20a786cc77ed4203fca146fd81ce3 | CVE | Mailing ListPatchThird Party Advisory |
| https://usn.ubuntu.com/usn/usn-4208-1 | CVE | Third Party Advisory |
| https://usn.ubuntu.com/usn/usn-4209-1 | CVE | Third Party Advisory |
| https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=270d16ae48a4dbf1c7e25e94cc3e38b4bea37635 | [email protected] | Mailing ListPatchThird Party Advisory |
| https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=ef81780548d20a786cc77ed4203fca146fd81ce3 | [email protected] | Mailing ListPatchThird Party Advisory |
| https://usn.ubuntu.com/usn/usn-4208-1 | [email protected] | Third Party Advisory |
| https://usn.ubuntu.com/usn/usn-4209-1 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-672 | Operation on a Resource after Expiration or Release | [email protected] |
| CWE-672 | Operation on a Resource after Expiration or Release | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | 5.0 5.3 |
CPE
Remediation
| |
| canonical ubuntu linux | 18.04 19.10 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 26, 2020 | Reanalysis | [email protected] |
| May 1, 2020 | Initial Analysis | [email protected] |