Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).

CVE-2019-15794Operation 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
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

CVEListV5ubuntu/linux_kernel5.3 kernel5.3.0-24.26+1
Debianlinux/linux_kernel< 5.16.7-1+2
NVDlinux/linux_kernel5.0, 5.3+1

Also affects: Ubuntu Linux 18.04, 19.10

Patches

🔴Vulnerability Details

5
GHSA
GHSA-33f2-r445-jvq6: Overlayfs in the Linux kernel and shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 52022-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 52020-04-24
CVEList
Reference counting error in overlayfs/shiftfs error path when used in conjuction with aufs2020-04-23
OSV
linux, linux-aws, linux-gcp, linux-gcp-5.3, linux-kvm, linux-oracle vulnerabilities2019-12-02
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 vulnerabilities2019-12-02

💥Exploits & PoCs

1
Exploit-DB
Ubuntu 19.10 - ubuntu-aufs-modified mmap_region() Breaks Refcounting in overlayfs/shiftfs Error Path2019-11-20

📋Vendor Advisories

4
Ubuntu
Linux kernel vulnerabilities2019-12-02
Ubuntu
Linux kernel vulnerabilities2019-12-02
Red Hat
kernel: Overlayfs in the Linux kernel and shiftfs not restoring original value on error leading to a refcount underflow2019-11-12
Debian
CVE-2019-15794: linux - Overlayfs in the Linux kernel and shiftfs, a non-upstream patch to the Linux ker...2019

💬Community

2
Bugzilla
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 underflow2020-05-04
CVE-2019-15794 — Ubuntu Linux Kernel vulnerability | cvebase