CVE-2019-15791Reference 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-intel | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oem-6.11 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oem-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-raspi-realtime | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 24.04 | linux-realtime | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-riscv | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-aws-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gcp-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-hwe-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-intel-iot-realtime | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 22.04 | linux-intel-iotg | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency-hwe-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-oracle-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-realtime | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 22.04 | linux-riscv | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 22.04 | linux-riscv-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-xilinx-zynqmp | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-azure-fde | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 20.04 | linux-gke | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 20.04 | linux-gkeop | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 20.04 | linux-gkeop-5.15 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 20.04 | linux-raspi2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 20.04 | linux-riscv | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 18.04 | linux-aws-5.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-azure-5.3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-azure-edge | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 18.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-gcp-5.3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-gcp-edge | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 18.04 | linux-gke-4.15 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-gke-5.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-gke-5.3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-hwe-edge | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 18.04 | linux-oem | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-oem-osp1 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-oracle-5.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-raspi2-5.3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-aws-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-gke | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 16.04 | linux-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-hwe-edge | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-15791 | |
| Ubuntu 16.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-oem | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 16.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-snapdragon | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 8 | bpftool | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-abi-stablelists | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-abi-whitelists | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-cross-headers | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-debug-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-headers | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-ipaclones-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-kvm | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-debug-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-kvm | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt-selftests-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-selftests-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-tools-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-tools-libs-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-core | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-modules-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-zfcpdump-modules-internal | Not affected | ||
| Red Hat Enterprise Linux 8 | perf | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-perf | Not affected | ||
| Red Hat Enterprise Linux 7 | bpftool | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-abi-whitelists | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-alt | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-bootwrapper | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-debug | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-headers | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-kdump | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-kdump-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-tools-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-tools-libs-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | perf | Not affected | ||
| Red Hat Enterprise Linux 7 | python-perf | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-abi-whitelists | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-debug | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-firmware | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-headers | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-kdump | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | perf | Not affected | ||
| Red Hat Enterprise Linux 6 | python-perf | Not affected | ||
| Red Hat Enterprise Linux 5 | kernel | Not affected |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Ubuntu Shiftfs in the Linux kernel: affected: 5.3.0-11.12 to before 5.3 kernel*, 5.0 kernel to before 5.0.0-35.38; fixed in
5.3.0-22.24,5.0.0-35.38
References
- https://usn.ubuntu.com/usn/usn-4183-1
- https://usn.ubuntu.com/usn/usn-4184-1
- https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.