CVE-2010-0307: Medium severity Linux Linux kernel vulnerability

Published Feb 1, 2010
·
Updated

Description of problem: The problem seams to be located in fs/binfmtelf.c:loadelfbinary(). It calls SETPERSONALITY() prior checking that the ELF interpreter is available. This in turn makes the previously 32 bit process a 64 bit one which would be fine if execve() would succeed. But after the SETPERSONALITY() the openexec() call fails (because it cannot find the interpreter) and execve() almost instantly returns with an error. If you now look at /proc/PID/maps you'll see, that it has the vsyscall page mapped which shouldn't be. But the process is not dead yet, it's still running. By now generating a segmentation fault and in turn trying to generate a core dump the kernel just dies.

Steps to Reproduce: 1. Enable core dumps 2. Start an 32 bit program that tries to execve() an 64 bit program 3. The 64 bit program cannot be started by the kernel because it can't find the interpreter, i.e. execve returns with an error 4. Generate a segmentation fault 5. panic

(EDIT: This is triggerable on 2.6.31.9-174.fc12.x8664).

Upstream commit: http://git.kernel.org/linus/221af7f87b97431e3ee21ce4b0e77d5411cf1549

Discussions: http://marc.info/?t=126466700200002&r=1&w=2

Acknowledgements:

Red Hat would like to thank Mathias Krause for reporting this issue.

Other sources

The loadelfbinary function in fs/binfmtelf.c in the Linux kernel before 2.6.32.8 on the x8664 platform does not ensure that the ELF interpreter is available before a call to the SETPERSONALITY macro, which allows local users to cause a denial of service (system crash) via a 32-bit application that attempts to execute a 64-bit application and then triggers a segmentation fault, as demonstrated by amd64killer, related to the flusholdexec function.

MITRE

Affected Software

8 affected components
Linux Linux kernel<2.6.32.8
Debian Debian Linux=5.0
Debian Debian Linux=4.0
Canonical Ubuntu Linux=6.06
Canonical Ubuntu Linux=9.04
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=8.10
Canonical Ubuntu Linux=9.10

Event History

Feb 1, 2010
Data Sourced
via Red Hat·05:06 AM
DescriptionSeverityAffected Software
Feb 17, 2010
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:30 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2010-0307?

CVE-2010-0307 is classified as a high-severity vulnerability due to its impact on system stability and potential exploitation.

2

How do I fix CVE-2010-0307?

To mitigate CVE-2010-0307, update the Linux kernel to version 2.6.32.9 or later, which addresses this flaw.

3

Which software versions are affected by CVE-2010-0307?

CVE-2010-0307 affects multiple versions of the Linux kernel, Debian Linux 4.0 and 5.0, and several Ubuntu Linux versions.

4

Is CVE-2010-0307 exploitable remotely?

CVE-2010-0307 could potentially be exploited remotely, making it crucial to address the vulnerability promptly.

5

What are the consequences of not patching CVE-2010-0307?

Failing to patch CVE-2010-0307 may lead to privilege escalation, system crashes, or integrity threats on affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203