{"id":"CVE-2019-15792","state":"PUBLISHED","title":"Type confusion in shiftfs","description":"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.","publishedAt":"2020-04-23T23:55:24.126Z","updatedAt":"2024-09-16T23:41:36.466Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["Ubuntu Shiftfs in the Linux kernel"],"affected":[{"vendor":"Ubuntu","product":"Shiftfs in the Linux kernel","versions":[{"version":"5.3.0-11.12","status":"affected","lessThan":"5.3 kernel*","changes":[{"at":"5.3.0-22.24","status":"unaffected"}],"versionType":"custom"},{"version":"5.0 kernel","status":"affected","lessThan":"5.0.0-35.38","versionType":"custom"}]}],"references":["https://usn.ubuntu.com/usn/usn-4183-1","https://usn.ubuntu.com/usn/usn-4184-1","https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c"],"weaknesses":["CWE-843"],"ingestedAt":"2026-10-29T19:45:33.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/15xxx/CVE-2019-15792.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-15792","state":"PUBLISHED","datePublished":"2020-04-23T23:55:24.126Z","dateUpdated":"2024-09-16T23:41:36.466Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2019-08-29T00:00:00.000Z"},"containers":{"cna":{"title":"Type confusion in shiftfs","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Ubuntu","product":"Shiftfs in the Linux kernel","versions":[{"version":"5.3.0-11.12","status":"affected","lessThan":"5.3 kernel*","changes":[{"at":"5.3.0-22.24","status":"unaffected"}],"versionType":"custom"},{"version":"5.0 kernel","status":"affected","lessThan":"5.0.0-35.38","versionType":"custom"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-843","description":"CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","dateUpdated":"2020-04-23T23:55:24.000Z","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc"},"credits":[{"lang":"en","value":"Jann Horn of Google Project Zero"}],"datePublic":"2019-11-12T00:00:00.000Z","source":{"defect":["https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@ubuntu.com","DATE_PUBLIC":"2019-11-12 18:00:00 UTC","ID":"CVE-2019-15792","STATE":"PUBLIC","TITLE":"Type confusion in shiftfs"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Shiftfs in the Linux kernel","version":{"version_data":[{"version_affected":">=","version_name":"5.3 kernel","version_value":"5.3.0-11.12"},{"version_affected":"<","version_name":"5.3 kernel","version_value":"5.3.0-22.24"},{"version_affected":"<","version_name":"5.0 kernel","version_value":"5.0.0-35.38"}]}}]},"vendor_name":"Ubuntu"}]}},"credit":[{"lang":"eng","value":"Jann Horn of Google Project Zero"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')"}]}]},"references":{"reference_data":[{"name":"https://usn.ubuntu.com/usn/usn-4183-1","refsource":"MISC","url":"https://usn.ubuntu.com/usn/usn-4183-1"},{"name":"https://usn.ubuntu.com/usn/usn-4184-1","refsource":"MISC","url":"https://usn.ubuntu.com/usn/usn-4184-1"},{"name":"https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c","refsource":"MISC","url":"https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c"}]},"source":{"defect":["https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850867"],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://usn.ubuntu.com/usn/usn-4183-1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/usn/usn-4184-1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=5df147c8140efc71ac0879ae3b0057f577226d4c","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T00:56:22.476Z"}}]}}}