Home / Ubuntu / Shiftfs in the Linux kernel / CVE-2019-15791
CVE-2019-15791: is it exploited, and which versions of Ubuntu Shiftfs in the Linux kernel are affected and fixed?
CVE-2019-15791 is an operation on a Resource after Expiration or Release vulnerability in Ubuntu Shiftfs in the Linux kernel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: Shiftfs in the Linux kernel from 5.3.0-11.12 through every 5.3 kernel version and Shiftfs in the Linux kernel from 5.0 kernel before 5.0.0-35.38 (CVE record by canonical). Fixed in 5.3.0-22.24 and 5.0.0-35.38 (CVE record by canonical). Severity: High (7.1, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 28, 2026, 20:38 UTC and NVD November 19, 2026, 08:11 UTC.
What is CVE-2019-15791?
Reference count underflow in shiftfs
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.
From the CVE record by canonical, last updated September 17, 2024, 00:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Ubuntu | Shiftfs in the Linux kernel | from 5.3.0-11.12 through every 5.3 kernel version from 5.0 kernel before 5.0.0-35.38 | 5.3.0-22.24, 5.0.0-35.38 |
As the CVE record by canonical states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | 5.0 | operating system |
| linux | linux kernel | 5.3 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 19.04 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:21 UTC.
How severe is CVE-2019-15791?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H | canonical |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-15791 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.32% probability of exploitation activity in the next 30 days, percentile 71.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-672 Operation on a Resource after Expiration or Release
- CWE-191 Integer Underflow (Wrap or Wraparound)
Where are the vendor advisories and references?
- https://usn.ubuntu.com/usn/usn-4183-1 x_refsource_MISC
- https://usn.ubuntu.com/usn/usn-4184-1 x_refsource_MISC
- https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1 x_refsource_MISC
Who found and reported it?
- Jann Horn of Google Project Zero (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 29, 2019
- Published
- April 23, 2020, 23:55 UTC
- CVE record updated
- September 17, 2024, 00:11 UTC by canonical
- NVD
- Modified, last modified June 17, 2026, 02:21 UTC
- Last checked
- CVE list November 28, 2026, 20:38 UTC; NVD November 19, 2026, 08:11 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Shiftfs in the Linux kernel?
- Apr 23, 2020CVE-2019-15793 Ubuntu Shiftfs in the Linux kernel: sensitive information in an accessible file
- Apr 23, 2020CVE-2019-15792 Ubuntu Shiftfs in the Linux kernel: type confusion
Every CVE in Shiftfs in the Linux kernel
Questions about CVE-2019-15791
Is CVE-2019-15791 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 1.32% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Ubuntu Shiftfs in the Linux kernel are affected by CVE-2019-15791?
Shiftfs in the Linux kernel from 5.3.0-11.12 through every 5.3 kernel version and Shiftfs in the Linux kernel from 5.0 kernel before 5.0.0-35.38, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2019-15791?
5.3.0-22.24 and 5.0.0-35.38, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-15791?
High (7.1, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2019-15791?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.