CVE-2019-15794
MediumOverlayfs 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 3.1 score
6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-672CVE-2019-15794 is classified as CWE-672
See CWE-672 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2019-15794 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Ubuntu Securityhttps://usn.ubuntu.com/usn/usn-4208-1Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/usn/usn-4209-1Third Party Advisory
-
PatchKernel patch commithttps://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=270d16ae48a4dbf1c7e25e94cc3e38b4bea37635
-
PatchKernel patch commithttps://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=ef81780548d20a786cc77ed4203fca146fd81ce3
Frequently asked questions
-
What is CVE-2019-15794?
CVE-2019-15794 is a Medium severity Linux kernel vulnerability with a CVSS score of 6.7 out of 10 . CVE-2019-15794 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2019-15794?
CVE-2019-15794 has a CVSS score of 6.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2019-15794?
No patch is currently available for CVE-2019-15794. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2019-15794 actively exploited?
No — CVE-2019-15794 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.