CVE-2019-15791

Reference count underflow in shiftfs

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.

Categories

7.1
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.16%
Third-Party Advisory launchpad.net Third-Party Advisory ubuntu.com Third-Party Advisory ubuntu.com
Affected: Ubuntu Shiftfs in the Linux kernel
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2019-15791?
CVE-2019-15791 has been scored as a high severity vulnerability.
How to fix CVE-2019-15791?
To fix CVE-2019-15791, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2019-15791 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2019-15791 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2019-15791?
CVE-2019-15791 affects Ubuntu Shiftfs in the Linux kernel.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.