Vigil@nce - Linux kernel: use after free via ping_init_sock
April 2014 by Vigil@nce
This bulletin was written by Vigil@nce : http://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
A local attacker can use a freed memory area via ping_init_sock()
of the Linux kernel, in order to trigger a denial of service, and
possibly to execute code.
Impacted products: Fedora, Linux
Severity: 2/4
Creation date: 11/04/2014
DESCRIPTION OF THE VULNERABILITY
When a local user creates an ICMP socket, the ping_init_sock()
function of the net/ipv4/ping.c file is called.
However, the counter of number of groups is never decremented.
When this counter overflows, a memory area is freed, and then used.
A local attacker can therefore use a freed memory area via
ping_init_sock() of the Linux kernel, in order to trigger a denial
of service, and possibly to execute code.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN
http://vigilance.fr/vulnerability/Linux-kernel-use-after-free-via-ping-init-sock-14580