Code executionin Ubuntu Shiftfs in the Linux kernel.
Proof of concept public (Exploit-DB).
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() calls fdget(oldfd), then without further checks passes the resulting file* into shiftfs_real_fdget(), which casts file->private_data, a void* that points to a filesystem-dependent type, to a "struct shiftfs_file_info *". As the private_data is not required to be a pointer, an attacker can use this to cause a denial of service or possibly execute arbitrary code.
- Upgrade Shiftfs in the Linux kernel to 5.0.0-35.38, 5.3.0-22.24 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 29 Aug 2019CVE ID reserved by canonical.
- 23 Apr 2020Published in the CVE List.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Shiftfs in the Linux kernel vulnerabilities
Same weakness: Type confusion
- usn.ubuntu.com x_refsource_MISC
- usn.ubuntu.com x_refsource_MISC
- git.launchpad.net x_refsource_MISC
Patchminder. CVE-2019-15792: Code execution in Ubuntu Shiftfs in the Linux kernel. https://patchminder.com/cve/cve-2019-15792/ (accessed 5 December 2026).