CVE-2019-15791: Reference count underflow in shiftfs
Vulnerability summary
CVE-2019-15791 is a high (CVSS 7.8) vulnerability in canonical ubuntu_linux. EPSS estimates a 1.32% chance of exploitation in the next 30 days, higher than 71.7% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (exploit-database, 20-11-2019)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 23-04-2020PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
Description
In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, shiftfs_btrfs_ioctl_fd_replace() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HDiffers
EPSS trend
Probability
1.32%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundUbuntu 19.10 - Refcount Underflow and Type Confusion in shiftfs
Maturity: poc
Weaknesses
CWE · root cause- CWE-672Operation on a Resource after Expiration or ReleaseThe product uses, accesses, or otherwise operates on a resource after that resource has been expired, released, or revoked.
- CWE-191Integer Underflow (Wrap or Wraparound)The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu13 products
- linux-azure-edgeAll versions (No fix recorded)
- linux-azure-fdeAll versions (No fix recorded)
- linux-gcp-edgeAll versions (No fix recorded)
- linux-gkeAll versions (No fix recorded)
- linux-gkeopAll versions (No fix recorded)
Canonical1 product
- ubuntu_linuxEOL18.04 | 19.04
Linux1 product
- linux_kernel5.0 | 5.3
3 vendors · 15 products