CVE-2004-1071 Memory corruption in n/a
Local attackers can exploit improper mmap handling in the Linux kernel ELF loader to execute arbitrary code and escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2004-1071?
CVE-2004-1071 is a high-severity memory corruption vulnerability in Linux kernel, published on 1 Dec 2004. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The binfmt_elf loader (binfmt_elf.c) in Linux kernel 2.4.x up to 2.4.27, and 2.6.x up to 2.6.8, does not properly handle a failed call to the mmap function, which causes an incorrect mapped image and may allow local users to execute arbitrary code.
Which versions are affected by CVE-2004-1071?
It affects 8 products.
Products include Linux kernel, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Fedora Core, Redhat Linux Advanced Workstation, Suse Suse Linux and 2 more.
How do I fix CVE-2004-1071?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2004-1071 being exploited?
There is no known exploitation of CVE-2004-1071 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as GHSA-4p9c-c557-r5cq.