Use-after-free in Linux kernel - CVE-2016-4558

 

Use-after-free in Linux kernel - CVE-2016-4558

Published: May 23, 2016 / Updated: June 3, 2024


Vulnerability identifier: #VU90829
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-4558
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to a use-after-free error within the replace_map_fd_with_map_ptr() function in kernel/bpf/verifier.c, within the __bpf_map_get(), bpf_map_get_with_uref(), __bpf_prog_get() and bpf_prog_get() functions in kernel/bpf/syscall.c, within the bpf_any_get() and bpf_obj_do_get() functions in kernel/bpf/inode.c. A local user can execute arbitrary code.


Affected software

Linux kernel

How to mitigate CVE-2016-4558

Install update from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins