CVE-2010-4258

Linux Kernel < 2.6.36.2 - Privilege Escalation via KERNEL_DS get_fs Handling

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2010-4258. PoCs published by Dan Rosenberg.

AI-analyzed exploit summary This exploit leverages three vulnerabilities (CVE-2010-4258, CVE-2010-3849, CVE-2010-3850) to achieve local privilege escalation on Linux kernels <= 2.6.37. It uses the Econet protocol to trigger a NULL pointer dereference under KERNEL_DS, allowing arbitrary kernel memory writes.

Description

The do_exit function in kernel/exit.c in the Linux kernel before 2.6.36.2 does not properly handle a KERNEL_DS get_fs value, which allows local users to bypass intended access_ok restrictions, overwrite arbitrary kernel memory locations, and gain privileges by leveraging a (1) BUG, (2) NULL pointer dereference, or (3) page fault, as demonstrated by vectors involving the clear_child_tid feature and the splice system call.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Dan Rosenberg · clocallinux
https://www.exploit-db.com/exploits/15704

This exploit leverages three vulnerabilities (CVE-2010-4258, CVE-2010-3849, CVE-2010-3850) to achieve local privilege escalation on Linux kernels <= 2.6.37. It uses the Econet protocol to trigger a NULL pointer dereference under KERNEL_DS, allowing arbitrary kernel memory writes.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel <= 2.6.37
No auth needed
Prerequisites: Unpatched Linux kernel <= 2.6.37 · Econet protocol support
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (38)

Core 38
Core References
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/02/2
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/43056
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42778
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/02/3
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42801
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/09/4
Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42932
Broken Link mailing-list x_refsource_fulldisc
http://archives.neohapsis.com/archives/fulldisclosure/2010-12/0086.html
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0124
Patch, Third Party Advisory mailing-list x_refsource_mlist
http://marc.info/?l=linux-kernel&m=129117048916957&w=2
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2010/3321
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/08/9
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0298
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/09/14
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00007.html
Third Party Advisory x_refsource_confirm
http://code.google.com/p/chromium-os/issues/detail?id=10234
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0375
Mailing List, Patch, Third Party Advisory mailing-list x_refsource_mlist
https://lkml.org/lkml/2010/12/1/543
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0012
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00002.html
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/02/4
Third Party Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2011:029
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/42745
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/02/7
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/08/5
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/43291
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2011/0213
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=659567
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://openwall.com/lists/oss-security/2010/12/08/4

Scores

EPSS 0.0266
EPSS Percentile 83.6%

Details

CWE
CWE-269
Status published
Products (11)
fedoraproject/fedora 13
linux/linux_kernel < 2.6.36.2
opensuse/opensuse 11.2
opensuse/opensuse 11.3
suse/linux_enterprise_desktop 10 sp3
suse/linux_enterprise_desktop 11 sp1
suse/linux_enterprise_real_time_extension 11 sp1
suse/linux_enterprise_server 9
suse/linux_enterprise_server 10 sp3
suse/linux_enterprise_server 11 sp1
... and 1 more
Published Dec 30, 2010
Tracked Since Feb 18, 2026