CVE-2019-15794
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-azure | Ubuntu:18.04:LTS | 5.0.0-1027.29~18.04.1 |
| linux-azure-5.3 | Ubuntu:18.04:LTS | 5.3.0-1008.9~18.04.1 |
| Linux kernel | Ubuntu | 5.3.0-24.26, 5.0.0-37.40 |
| linux-hwe | Ubuntu:18.04:LTS | 5.0.0-37.40~18.04.1 |
| linux-aws-5.0 | Ubuntu:18.04:LTS | 5.0.0-1022.25~18.04.1 |
| linux-gke-5.0 | Ubuntu:18.04:LTS | 5.0.0-1026.27~18.04.2 |
| linux-oracle-5.0 | Ubuntu:18.04:LTS | 5.0.0-1008.13~18.04.1 |
| linux-gcp-5.3 | Ubuntu:18.04:LTS | 5.3.0-1009.10~18.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu | Linux kernel | 5.3 kernel, 5.0 kernel |
| Ubuntu | Linux kernel | 5.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