CVE-2019-15792CWE-843

Type confusion in shiftfs

High · published April 23, 2020

CVSS v3.1
7.1
EPSS
1%
Percentile
65.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01102 · 65.4th percentile
Weakness
CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
Published
2020-04-23T23:55Z
EPSS history
Timeline
  • 23 APR 23:55Z
    Type confusion in shiftfs
    cvelistv5