{"api_version":"1","generated_at":"2026-07-24T02:23:43+00:00","cve":"CVE-2016-6516","urls":{"html":"https://cve.report/CVE-2016-6516","api":"https://cve.report/api/cve/CVE-2016-6516.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-6516","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-6516"},"summary":{"title":"CVE-2016-6516","description":"Race condition in the ioctl_file_dedupe_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.","state":"PUBLISHED","assigner":"mitre","published_at":"2016-08-06 20:59:15","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-119","CWE-362","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"7.4","severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.4","severity":"","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:P/I:P/A:P","baseScore":4.4,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"https://github.com/torvalds/linux/commit/10eec60ce79187686e052092e5383c99b4420a20","name":"https://github.com/torvalds/linux/commit/10eec60ce79187686e052092e5383c99b4420a20","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"vfs: ioctl: prevent double-fetch in dedupe ioctl · torvalds/linux@10eec60 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/92259","name":"http://www.securityfocus.com/bid/92259","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Linux Kernel  CVE-2016-6516 Local Heap Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1362457","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1362457","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory","VDB Entry"],"title":"Bug 1362457 – CVE-2016-6516 kernel: vfs: ioctl: double fetch leading to heap overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=10eec60ce79187686e052092e5383c99b4420a20","name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=10eec60ce79187686e052092e5383c99b4420a20","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2016/07/31/6","name":"http://www.openwall.com/lists/oss-security/2016/07/31/6","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes"],"title":"oss-security - CVE Request: Linux >= 4.5 double fetch leading to heap overflow","mime":"text/x-c","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-6516","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6516","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"6516","vulnerable":"1","versionEndIncluding":"4.7","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T01:29:20.273Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/torvalds/linux/commit/10eec60ce79187686e052092e5383c99b4420a20"},{"name":"92259","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/92259"},{"name":"[oss-security] 20160731 CVE Request: Linux <= 4.5 double fetch leading to heap overflow","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2016/07/31/6"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=10eec60ce79187686e052092e5383c99b4420a20"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1362457"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2016-07-25T00:00:00.000Z","descriptions":[{"lang":"en","value":"Race condition in the ioctl_file_dedupe_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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2016-11-25T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/torvalds/linux/commit/10eec60ce79187686e052092e5383c99b4420a20"},{"name":"92259","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/92259"},{"name":"[oss-security] 20160731 CVE Request: Linux <= 4.5 double fetch leading to heap overflow","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2016/07/31/6"},{"tags":["x_refsource_CONFIRM"],"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=10eec60ce79187686e052092e5383c99b4420a20"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1362457"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-6516","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Race condition in the ioctl_file_dedupe_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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/torvalds/linux/commit/10eec60ce79187686e052092e5383c99b4420a20","refsource":"CONFIRM","url":"https://github.com/torvalds/linux/commit/10eec60ce79187686e052092e5383c99b4420a20"},{"name":"92259","refsource":"BID","url":"http://www.securityfocus.com/bid/92259"},{"name":"[oss-security] 20160731 CVE Request: Linux <= 4.5 double fetch leading to heap overflow","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/07/31/6"},{"name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=10eec60ce79187686e052092e5383c99b4420a20","refsource":"CONFIRM","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=10eec60ce79187686e052092e5383c99b4420a20"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1362457","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1362457"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2016-6516","datePublished":"2016-08-06T20:00:00.000Z","dateReserved":"2016-08-01T00:00:00.000Z","dateUpdated":"2024-08-06T01:29:20.273Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2016-08-06 20:59:15","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-119","CWE-362","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.4,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:P/I:P/A:P","baseScore":4.4,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.4,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndIncluding":"4.7","matchCriteriaId":"6AF8F457-8A21-4907-BB5E-6193D0DAD885"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"6516","Ordinal":"1","Title":"CVE-2016-6516","CVE":"CVE-2016-6516","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"6516","Ordinal":"1","NoteData":"Race condition in the ioctl_file_dedupe_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.","Type":"Description","Title":"CVE-2016-6516"},{"CveYear":"2016","CveId":"6516","Ordinal":"2","NoteData":"2016-08-06","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"6516","Ordinal":"3","NoteData":"2016-11-25","Type":"Other","Title":"Modified"}]}}}