#VU90829 Use-after-free in Linux kernel - CVE-2016-4558
Published: May 23, 2016 / Updated: June 3, 2024
Linux kernel
Linux Foundation
Description
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.
Remediation
External links
- https://github.com/torvalds/linux/commit/92117d8443bc5afacc8d5ba82e541946310f106e
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5
- http://www.openwall.com/lists/oss-security/2016/05/06/4
- https://bugzilla.redhat.com/show_bug.cgi?id=1334303
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=92117d8443bc5afacc8d5ba82e541946310f106e
- http://www.ubuntu.com/usn/USN-3007-1
- http://www.ubuntu.com/usn/USN-3005-1
- http://www.ubuntu.com/usn/USN-3006-1