Vigil@nce - Linux kernel: use after free via AIO ioctx_alloc
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 in the AIO
ioctx_alloc() function of the Linux kernel, in order to trigger a
denial of service, and possibly to execute code.
– Impacted products: Linux
– Severity: 1/4
– Creation date: 01/04/2014
DESCRIPTION OF THE VULNERABILITY
The Linux kernel supports AIO (Asynchronous IO) in order to
transfer data efficiently.
However, when an error occurs in the ioctx_alloc() function of the
fs/aio.c file, it frees twice a memory area.
A local attacker can therefore use a freed memory area in the AIO
ioctx_alloc() function 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-AIO-ioctx-alloc-14505