CVE-2019-15794
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- v3.1•MEDIUM•Score: 6.7CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.2AV:L/AC:L/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 1.16%• Percentile: 66%
Techniques & Countermeasures
- CWE-672•Operation on a Resource after Expiration or Release
The product uses, accesses, or otherwise operates on a resource after that resource has been expired, released, or revoked.
Affected Systems
- canonical•ubuntu_linux
18.04 | 19.10
- debian•linux
all | < 5.16.7-1 | < 5.16.7-1 | < 5.16.7-1
- ubuntu•linux
all | all | all | all
- ubuntu•linux-aws
all | all | all | all
- ubuntu•linux-aws-5.0
< 5.0.0-1022.25~18.04.1
- ubuntu•linux-aws-5.15
all
- ubuntu•linux-aws-6.14
all
- ubuntu•linux-aws-6.17
all
- ubuntu•linux-aws-6.8
all
- ubuntu•linux-aws-7.0
all
- ubuntu•linux-aws-fips
all
- ubuntu•linux-azure
< 5.0.0-1027.29~18.04.1 | all | all | all | all
- ubuntu•linux-azure-5.15
all
- ubuntu•linux-azure-5.3
< 5.3.0-1008.9~18.04.1
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-6.14
all
- ubuntu•linux-azure-6.17
all
- ubuntu•linux-azure-6.8
all
- ubuntu•linux-azure-7.0
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all | all | all | all
- ubuntu•linux-azure-fde-6.14
all
- ubuntu•linux-azure-fde-6.17
all
- ubuntu•linux-azure-fde-6.8
all
- ubuntu•linux-azure-fde-7.0
all
- ubuntu•linux-azure-fips
all
- ubuntu•linux-azure-nvidia
all
- ubuntu•linux-azure-nvidia-6.14
all
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
all
- ubuntu•linux-gcp
< 5.0.0-1026.27~18.04.1 | all | all | all | all
- ubuntu•linux-gcp-5.15
all
- ubuntu•linux-gcp-5.3
< 5.3.0-1009.10~18.04.1
- ubuntu•linux-gcp-6.11
all
- ubuntu•linux-gcp-6.14
all
- ubuntu•linux-gcp-6.17
all
- ubuntu•linux-gcp-6.8
all
- ubuntu•linux-gcp-7.0
all
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all
- ubuntu•linux-gke
all | all | all | all
- ubuntu•linux-gke-5.0
< 5.0.0-1026.27~18.04.2
- ubuntu•linux-gkeop
all | all | all
- ubuntu•linux-gkeop-5.15
all
- ubuntu•linux-hwe
< 5.0.0-37.40~18.04.1
- ubuntu•linux-hwe-5.15
all
- ubuntu•linux-hwe-6.11
all
- ubuntu•linux-hwe-6.14
all
- ubuntu•linux-hwe-6.17
all
- ubuntu•linux-hwe-6.8
all
Showing first 50 affected entries in server-rendered view.
References (9)
- https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=270d16ae48a4dbf1c7e25e94cc3e38b4bea37635
- https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=ef81780548d20a786cc77ed4203fca146fd81ce3
- https://usn.ubuntu.com/usn/usn-4208-1
- https://usn.ubuntu.com/usn/usn-4209-1
- https://ubuntu.com/security/CVE-2019-15794
- https://ubuntu.com/security/notices/USN-4208-1
- https://ubuntu.com/security/notices/USN-4209-1
- https://www.cve.org/CVERecord?id=CVE-2019-15794
- https://security-tracker.debian.org/tracker/CVE-2019-15794