{"exploit":{"id":"EDB-21458","name":"Grsecurity Kernel Patch 1.9.4 (Linux Kernel) - Memory Protection","description":"Grsecurity Kernel Patch 1.9.4 (Linux Kernel) - Memory Protection","cves":["CVE-2002-1826"],"author":"Guillaume PELAT","published":"2002-05-17","platform":"linux","type":"local","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/21458","path":"exploits/linux/local/21458.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-21458.txt","vulnerabilities":[{"id":"CVE-2002-1826","state":"PUBLISHED","title":null,"titleSource":null,"description":"grsecurity 1.9.4 for Linux kernel 2.4.18 allows local users to bypass read-only permissions by using mmap to directly map /dev/mem or /dev/kmem to kernel memory.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2002-1826","cvss":{"version":"2.0","baseScore":4.6,"severity":"medium","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2002-1826"},"updatedAt":"2024-09-16T17:53:20.948Z","retrievedAt":"2026-11-27T01:10:10.579Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-21458.png?v=2","url":"https://exploitbin.com/exploits/EDB-21458","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-21458/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-21458/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2002/https://www.securityfocus.com/bid/4762/info\n\nAn attacker with root access may be able to write to kernel memory in spite of the security patch provided by grsecurity. The patch operates by redirecting the write() system call, when it is being used to write to a memory device. Unfortunately, there are other methods that can be used to write to kernel memory (such as mapping the device to memory using mmap()).\n\n----------------------------------------\n\nhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/21458.tgz","sha256":"0f2fb1a3f3ef5f89ff21d04aebec8fd12e1b7c5dc792e20dc0f73aa418e60375","bytes":586,"fetchedAt":"2026-11-27T01:10:10.377Z","encoding":"utf-8 (display only; download retains original bytes)"}