Integer overflow in Linux Kernel
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.013, 71.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel — versions 5.0, 5.3
- Canonical Ubuntu Linux — versions 18.04, 19.04
- Ubuntu Shiftfs In The Linux Kernel — versions 5.3.0-11.12, 5.0 kernel
Weakness classification (CWE)
References
- usn.ubuntu.com/usn/usn-4183-1 (Third Party Advisory)
- usn.ubuntu.com/usn/usn-4184-1 (Third Party Advisory)
- git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/ (Patch, Mailing List, Third Party Advisory)