Vulnerability Details : CVE-2016-6516
Potential exploit
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.
Vulnerability category: OverflowDenial of service
Products affected by CVE-2016-6516
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2016-6516
0.52%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 64 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2016-6516
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.4
|
MEDIUM | AV:L/AC:M/Au:N/C:P/I:P/A:P |
3.4
|
6.4
|
NIST | |
7.4
|
HIGH | CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
1.4
|
5.9
|
NIST |
CWE ids for CVE-2016-6516
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: nvd@nist.gov (Primary)
-
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-6516
-
http://www.openwall.com/lists/oss-security/2016/07/31/6
oss-security - CVE Request: Linux >= 4.5 double fetch leading to heap overflowRelease Notes
-
https://bugzilla.redhat.com/show_bug.cgi?id=1362457
1362457 – (CVE-2016-6516) CVE-2016-6516 kernel: vfs: ioctl: double fetch leading to heap overflowIssue Tracking;Third Party Advisory;VDB Entry
-
http://www.securityfocus.com/bid/92259
Linux Kernel CVE-2016-6516 Local Heap Overflow Vulnerability
-
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=10eec60ce79187686e052092e5383c99b4420a20
kernel/git/torvalds/linux.git - Linux kernel source treePatch
-
https://github.com/torvalds/linux/commit/10eec60ce79187686e052092e5383c99b4420a20
vfs: ioctl: prevent double-fetch in dedupe ioctl · torvalds/linux@10eec60 · GitHubPatch
Jump to