{"id":"CVE-2019-15792","published":"2020-04-23T23:55:24Z","modified":"2024-09-16T23:41:36Z","title":"Type confusion in shiftfs","vendor":"Ubuntu","product":"Shiftfs in the Linux kernel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01102,"percentile":0.66515,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://usn.ubuntu.com/usn/usn-4183-1","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/usn/usn-4184-1","tags":["x_refsource_MISC"]},{"url":"https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c","tags":["x_refsource_MISC"]}],"priority":{"score":23.3,"factors":[{"name":"EPSS percentile","points":13.3},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.97}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2019-11-20"},"first":{"date":"2019-11-20","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/47693"},"provenance":"source"},"vendorSlug":"ubuntu","affectedVersions":[{"vendor":"Ubuntu","product":"Shiftfs in the Linux kernel","versions":[">= 5.3.0-11.12, < 5.3 kernel*",">= 5.0 kernel, < 5.0.0-35.38"]}],"fixedVersions":[{"vendor":"Ubuntu","product":"Shiftfs in the Linux kernel","versions":["5.3.0-22.24"]}],"euvd":{"id":"EUVD-2019-6715","exploited":false,"provenance":"source"},"exploits":[{"id":47693,"url":"https://www.exploit-db.com/exploits/47693","title":"Ubuntu 19.10 - Refcount Underflow and Type Confusion in shiftfs","date":"2019-11-20","verified":true,"provenance":"source"}]}