CVE-2004-0415

Linux Kernel - Unauthenticated Memory Exposure via 64-bit File Offset Pointer Conversion

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2004-0415. PoCs published by Paul Starzetz.

AI-analyzed exploit summary This exploit leverages a race condition in the Linux kernel's handling of `/proc/mtrr` to achieve arbitrary kernel memory reads. It uses `madvise` and `_llseek` to manipulate file positions and trigger a condition where kernel memory is dumped to a user-controlled file.

Description

Linux kernel does not properly convert 64-bit file offset pointers to 32 bits, which allows local users to access portions of kernel memory.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Paul Starzetz · clocallinux
https://www.exploit-db.com/exploits/375

This exploit leverages a race condition in the Linux kernel's handling of `/proc/mtrr` to achieve arbitrary kernel memory reads. It uses `madvise` and `_llseek` to manipulate file positions and trigger a condition where kernel memory is dumped to a user-controlled file.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Complex
Reliability
Racy
Target: Linux kernel (versions affected by CVE-2004-0415)
No auth needed
Prerequisites: Access to a vulnerable Linux system · Ability to execute binary code · A large file not in cache
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2004-413.html
Patch, Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2004-418.html
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200408-24.xml
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9965
Vendor Advisory vendor-advisory x_refsource_conectiva
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000879
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/16877
Various Sources vendor-advisory x_refsource_mandrake
http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:087
Vendor Advisory vendor-advisory x_refsource_sgi
ftp://patches.sgi.com/support/free/security/advisories/20040804-01-U.asc

Scores

EPSS 0.0077
EPSS Percentile 50.7%

Details

Status published
Products (22)
linux/linux_kernel 2.4.0 (13 CPE variants)
linux/linux_kernel 2.4.1
linux/linux_kernel 2.4.2
linux/linux_kernel 2.4.3
linux/linux_kernel 2.4.4
linux/linux_kernel 2.4.5
linux/linux_kernel 2.4.6
linux/linux_kernel 2.4.7
linux/linux_kernel 2.4.8
linux/linux_kernel 2.4.9
... and 12 more
Published Nov 23, 2004
Tracked Since Feb 18, 2026