patchminder
Proof of concept · Exploit-DB CVE-2019-15792

Code executionin Ubuntu Shiftfs in the Linux kernel.

Published 23 Apr 2020 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
High 7.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.1% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 5.0.0-35.38, 5.3.0-22.24
In plain words

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.

What to do now
  • Upgrade Shiftfs in the Linux kernel to 5.0.0-35.38, 5.3.0-22.24 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Shiftfs in the Linux kernel
5.3.0-11.12 to before 5.3.0-22.24
5.3.0-22.24
CVE record
Shiftfs in the Linux kernel
before 5.0.0-35.38
5.0.0-35.38
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 29 Aug 2019
    CVE ID reserved by canonical.
  2. 23 Apr 2020
    Published in the CVE List.
  3. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
None known
Exploit-DBEDB-ID 47693denial of service exploit for linux, published 20 Nov 2019, verified by 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.

Related

Other Shiftfs in the Linux kernel vulnerabilities

Same weakness: Type confusion

All CWE-843 vulnerabilities

References
Cite this page

Patchminder. CVE-2019-15792: Code execution in Ubuntu Shiftfs in the Linux kernel. https://patchminder.com/cve/cve-2019-15792/ (accessed 5 December 2026).