Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).
CVE-2019-15794 — Operation on a Resource after Expiration or Release in Linux Kernel
Severity
6.7MEDIUMNVD
CNA7.1
EPSS
0.1%
top 73.94%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Affected products
Timeline
PublishedApr 24
Latest updateMay 24
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 vari…
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 0.8 | Impact: 5.9
Affected Packages3 packages
Also affects: Ubuntu Linux 18.04, 19.10
Patches
🔴Vulnerability Details
5GHSA▶
GHSA-33f2-r445-jvq6: Overlayfs in the Linux kernel and shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5↗2022-05-24
OSV▶
CVE-2019-15794: Overlayfs in the Linux kernel and shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5↗2020-04-24
CVEList▶
Reference counting error in overlayfs/shiftfs error path when used in conjuction with aufs↗2020-04-23
OSV▶
linux, linux-aws, linux-aws-5.0, linux-gcp, linux-gke-5.0, linux-hwe, linux-kvm, linux-oem-osp1, linux-oracle, linux-oracle-5.0, linux-raspi2 vulnerabilities↗2019-12-02
💥Exploits & PoCs
1Exploit-DB▶
Ubuntu 19.10 - ubuntu-aufs-modified mmap_region() Breaks Refcounting in overlayfs/shiftfs Error Path↗2019-11-20
📋Vendor Advisories
4💬Community
2Bugzilla▶
CVE-2019-15794 kernel: Overlayfs in the Linux kernel and shiftfs not restoring original value on error leading to a refcount underflow [fedora-all]↗2020-05-06
Bugzilla▶
CVE-2019-15794 kernel: Overlayfs in the Linux kernel and shiftfs not restoring original value on error leading to a refcount underflow↗2020-05-04