Race condition in the ioctlfilededupe_range function in fs/ioctl.c in the Linux kernel through 4.7 allows local users to cause a denial of service (heap-based buffer overflow) or possibly gain privileges by changing a certain count value, aka a "double fetch" vulnerability.
[
{
"id": "CVE-2016-6516-13118746",
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@10eec60ce79187686e052092e5383c99b4420a20",
"target": {
"function": "ioctl_file_dedupe_range",
"file": "fs/ioctl.c"
},
"digest": {
"length": 533.0,
"function_hash": "332199027211558861865598451633003728087"
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6516-22408d15",
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@10eec60ce79187686e052092e5383c99b4420a20",
"target": {
"file": "fs/ioctl.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"60848160865626371992609861807534974930",
"287084144138780275733026355023617434203",
"115332812399330851338730005080512170002"
]
},
"signature_type": "Line"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6516.json"
[
{
"id": "CVE-2016-6516-c2f5b45b",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/10eec60ce79187686e052092e5383c99b4420a20",
"target": {
"function": "ioctl_file_dedupe_range",
"file": "fs/ioctl.c"
},
"digest": {
"length": 533.0,
"function_hash": "332199027211558861865598451633003728087"
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6516-d6a6202b",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/10eec60ce79187686e052092e5383c99b4420a20",
"target": {
"file": "fs/ioctl.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"60848160865626371992609861807534974930",
"287084144138780275733026355023617434203",
"115332812399330851338730005080512170002"
]
},
"signature_type": "Line"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6516.json"