CVE-2019-15791
HIGHLinux Kernel shiftfs - Integer Underflow in shiftfs_btrfs_ioctl_fd_replace
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2019-15791.
AI-analyzed exploit summary The exploit demonstrates a reference counting flaw in shiftfs_btrfs_ioctl_fd_replace() leading to a use-after-free condition, causing a kernel crash. It includes a PoC that triggers the vulnerability via a crafted ioctl call on a shiftfs-mounted filesystem.
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.
Exploits (1)
The exploit demonstrates a reference counting flaw in shiftfs_btrfs_ioctl_fd_replace() leading to a use-after-free condition, causing a kernel crash. It includes a PoC that triggers the vulnerability via a crafted ioctl call on a shiftfs-mounted filesystem.
References (3)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H