Vulnerability Name:

CVE-2019-15794 (CCN-171446)

Assigned:2019-11-12
Published:2019-11-12
Updated:2020-05-26
Summary: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 v3 Severity:6.7 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
6.0 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:7.2 High (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-672
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2019-15794

Source: XF
Type: UNKNOWN
ubuntu-cve201915794-dos(171446)

Source: MISC
Type: Mailing List, Patch, Third Party Advisory
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=270d16ae48a4dbf1c7e25e94cc3e38b4bea37635

Source: MISC
Type: Mailing List, Patch, Third Party Advisory
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=ef81780548d20a786cc77ed4203fca146fd81ce3

Source: CCN
Type: Ubuntu Web site
[PATCH 0/2][SRU][D/E] CVE-2019-15794: ovl/shiftfs refcount underflow

Source: CCN
Type: Packet Storm Security [11-12-2019]
Ubuntu ubuntu-aufs-modified mmap_region() Refcounting Issue

Source: MISC
Type: Third Party Advisory
https://usn.ubuntu.com/usn/usn-4208-1

Source: MISC
Type: Third Party Advisory
https://usn.ubuntu.com/usn/usn-4209-1

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [11-20-2019]

Source: CCN
Type: IBM Security Bulletin 6205697 (Workload Automation)
Muluple vulnerabilities in Ubuntu affect IBM Workload Scheduler 9.5

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2019-15794

Vulnerable Configuration:Configuration 1:
  • cpe:/o:linux:linux_kernel:5.0:-:*:*:*:*:*:*
  • OR cpe:/o:linux:linux_kernel:5.3:-:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:ubuntu:ubuntu:19.10:*:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:workload_automation:9.5:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.disco:def:2019157940000000
    V
    CVE-2019-15794 on Ubuntu 19.04 (disco) - medium.
    2019-11-08
    oval:com.ubuntu.bionic:def:2019157940000000
    V
    CVE-2019-15794 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-11-08
    oval:com.ubuntu.xenial:def:2019157940000000
    V
    CVE-2019-15794 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-11-08
    BACK
    linux linux kernel 5.0
    linux linux kernel 5.3
    canonical ubuntu linux 18.04
    canonical ubuntu linux 19.10
    ubuntu ubuntu 19.10
    ibm workload automation 9.5