VDB

CVE-2019-15794

CVE-2019-15794 PUBLISHED CVSS 7.1 HIGH

Reference counting error in overlayfs/shiftfs error path when used in conjuction with aufs

Reported by canonical · Published April 23, 2020

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux-azureUbuntu:18.04:LTS5.0.0-1027.29~18.04.1
linux-azure-5.3Ubuntu:18.04:LTS5.3.0-1008.9~18.04.1
Linux kernelUbuntu5.3.0-24.26, 5.0.0-37.40
linux-hweUbuntu:18.04:LTS5.0.0-37.40~18.04.1
linux-aws-5.0Ubuntu:18.04:LTS5.0.0-1022.25~18.04.1
linux-gke-5.0Ubuntu:18.04:LTS5.0.0-1026.27~18.04.2
linux-oracle-5.0Ubuntu:18.04:LTS5.0.0-1008.13~18.04.1
linux-gcp-5.3Ubuntu:18.04:LTS5.3.0-1009.10~18.04.1

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected products

VendorProductVersions
UbuntuLinux kernel5.3 kernel, 5.0 kernel
UbuntuLinux kernel5.3, 5.0

Timeline

  • Nov 8, 2019 CVE Published
  • Nov 20, 2019 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 4, 2026 CVE Updated
  • Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (3 in total, the first dated here)
  • Sep 13, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-15794
vulnetix vdb fixes CVE-2019-15794

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-15794/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›