Skip to main content
Public proof of conceptFix available

CVE-2019-15791

A public proof of concept exists; no exploitation attested.

  • Published2020-04-24
  • WeaknessCWE-191 · CWE-672

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2019-11-20Exploit-DB entryExploit-DB

Versions per branch

NVD
Canonical ubuntu linux
BranchAffectedFixed in
18.4= 18.04no fix published
19.4= 19.04no fix published
Linux linux kernel
BranchAffectedFixed in
5.0= 5.0no fix published
5.3= 5.3no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linux-azureUbuntu:18.04:LTSall versions · fixed in 5.0.0-1025.27~18.04.1
  • linux-gcpUbuntu:18.04:LTSall versions · fixed in 5.0.0-1025.26~18.04.1and 1 other package
  • linux-gcp-edgeUbuntu:18.04:LTSall versions · no fixed version listedand 2 other packages
  • linux-gkeopUbuntu:20.04:LTSall versions · no fixed version listedand 5 other packages
  • linux-hweUbuntu:18.04:LTSall versions · fixed in 5.0.0-35.38~18.04.1
  • linux-hwe-edgeUbuntu:16.04:LTSall versions · no fixed version listed
  • linux-oem-osp1Ubuntu:18.04:LTSall versions · fixed in 5.0.0-1027.31
  • linux-raspi-realtimeUbuntu:24.04:LTSall versions · no fixed version listed

1 more package range on OSV.dev

Vendor advisories

  • CVE-2019-15791 Red Hat Product Security

    kernel: reference count underflow was discovered in shiftfs implementation causing dos

Full record on NVD

Fix

Advisories and patches

Detection

read 2026-11-19 10:48 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-47693
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.17.1known since 2026-10-23
  • NVDCVSS 3.17.8read 2026-10-23
  • NVDCVSS 2.04.6read 2026-10-23
  • CNAweakness (CWE)CWE-672known since 2026-10-23
  • NVDweakness (CWE)CWE-191read 2026-10-23
  • FIRST EPSSEPSS score1.3 %2026-11-18
  • Exploit-DBdetectionread 2026-11-19
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2020-04-24
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-5fx5-7qgj-cmg7

Frequently asked questions

What is CVE-2019-15791?

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.

Is CVE-2019-15791 actively exploited?

Active exploitation of CVE-2019-15791 has not been confirmed. Its EPSS score was 1.3% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-15791?

CVE-2019-15791 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record