Vulnerability in Linux Kernel
CVE-2016-4557
The replace_map_fd_with_map_ptr function in kernel/bpf/verifier.c in the Linux kernel before 4.5.5 does not properly maintain an fd data structure, which allows local users to gain privileges or cause a denial of service (use-after-free) via crafted BPF instructions that reference an incorrect file descriptor.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.102, 95.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Public exploits and proof-of-concept code
Metasploit modules
Also mentioned in 17 other repositories (a-roshbaik/Linux-Privilege-Escalation-Exploits, ARPSyndicate/cvemon, chadjoan/cdj-kernel-config, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.debian.org/823603 (Third Party Advisory)
- openSUSE-SU-2016:1641 (vendor-advisory, Mailing List, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7 (Vendor Advisory)
- www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5 (Vendor Advisory)
- bugs.chromium.org/p/project-zero/issues/detail (Third Party Advisory)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ (Vendor Advisory)
- [oss-security] 20160506 CVE Requests: Linux: BPF flaws (one use-after-free / local root privilege escalation) (mailing-list, Mailing List, Third Party Advisory)
- www.exploit-db.com/exploits/40759/ (exploit, Third Party Advisory, VDB Entry)
This CVE has public exploit evidence. See the latest CVEs with public exploits.