
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2019-15792 is a type confusion vulnerability discovered by Jann Horn in the shiftfs implementation of the Linux kernel, specifically in Ubuntu 5.0 and 5.3 kernel series. The vulnerability was disclosed on November 13, 2019. The issue exists in the shiftfs_btrfs_ioctl_fd_replace() function which calls fdget(oldfd) and passes the resulting file pointer into shiftfs_real_fdget() without proper type checking (Ubuntu Security).
The vulnerability occurs when shiftfs_btrfs_ioctl_fd_replace() passes a file pointer to shiftfs_real_fdget(), which then casts file->private_data (a void* that points to a filesystem-dependent type) to a 'struct shiftfs_file_info *' without proper validation. Since private_data is not required to be a pointer, this improper casting can lead to type confusion. The vulnerability has a CVSS 3 Severity Score of 7.8 (High) (Ubuntu Security).
A local attacker could exploit this vulnerability to cause a denial of service (system crash) or potentially execute arbitrary code on the affected system (Ubuntu Security Notice).
The vulnerability requires local access to the system and can be triggered through improper type casting of file system data structures. A proof-of-concept exploit has been demonstrated that causes type confusion between struct shiftfs_file_info and struct mm_struct, leading to a system crash (Ubuntu Security).
The vulnerability was fixed in Ubuntu 19.10 (linux kernel version 5.3.0-22.24) and other affected versions. Users should update their systems to the patched versions. The fix involves adding proper filesystem type verification in shiftfs_real_fdget() (Ubuntu Security Notice).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."