{"id":"CVE-2010-4258","state":"PUBLISHED","title":"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 r","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.","publishedAt":"2010-12-30T18:00:00.000Z","updatedAt":"2024-08-07T03:34:37.991Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://openwall.com/lists/oss-security/2010/12/02/2","http://secunia.com/advisories/43056","http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html","http://secunia.com/advisories/42778","http://openwall.com/lists/oss-security/2010/12/02/3","http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=33dd94ae1ccbfb7bf0fb6c692bc3d1c4269e6177","http://secunia.com/advisories/42801","http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html","http://blog.nelhage.com/2010/12/cve-2010-4258-from-dos-to-privesc/","http://openwall.com/lists/oss-security/2010/12/09/4","http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html","http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html","http://secunia.com/advisories/42932","http://archives.neohapsis.com/archives/fulldisclosure/2010-12/0086.html","http://www.vupen.com/english/advisories/2011/0124","http://marc.info/?l=linux-kernel&m=129117048916957&w=2","http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html","http://www.vupen.com/english/advisories/2010/3321","http://openwall.com/lists/oss-security/2010/12/08/9","http://www.vupen.com/english/advisories/2011/0298","http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36.2","http://openwall.com/lists/oss-security/2010/12/09/14","http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00007.html","http://code.google.com/p/chromium-os/issues/detail?id=10234","http://www.vupen.com/english/advisories/2011/0375","https://lkml.org/lkml/2010/12/1/543","http://googlechromereleases.blogspot.com/2011/01/chrome-os-beta-channel-update.html","http://www.vupen.com/english/advisories/2011/0012","http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00002.html","http://openwall.com/lists/oss-security/2010/12/02/4","http://www.mandriva.com/security/advisories?name=MDVSA-2011:029","http://secunia.com/advisories/42745","http://openwall.com/lists/oss-security/2010/12/02/7","http://openwall.com/lists/oss-security/2010/12/08/5","http://secunia.com/advisories/43291","http://www.vupen.com/english/advisories/2011/0213","https://bugzilla.redhat.com/show_bug.cgi?id=659567","http://openwall.com/lists/oss-security/2010/12/08/4"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:46.148Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2010/4xxx/CVE-2010-4258.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2010-4258","state":"PUBLISHED","datePublished":"2010-12-30T18:00:00.000Z","dateUpdated":"2024-08-07T03:34:37.991Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2010-11-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://openwall.com/lists/oss-security/2010/12/02/2","name":"[oss-security] 20101202 CVE request: kernel: failure to revert address limit override in OOPS error path","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/43056","name":"43056","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html","name":"SUSE-SA:2011:004","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/42778","name":"42778","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://openwall.com/lists/oss-security/2010/12/02/3","name":"[oss-security] 20101202 kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=33dd94ae1ccbfb7bf0fb6c692bc3d1c4269e6177","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/42801","name":"42801","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html","name":"SUSE-SA:2011:002","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://blog.nelhage.com/2010/12/cve-2010-4258-from-dos-to-privesc/","tags":["x_refsource_MISC"]},{"url":"http://openwall.com/lists/oss-security/2010/12/09/4","name":"[oss-security] 20101209 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html","name":"FEDORA-2010-18983","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html","name":"SUSE-SA:2011:001","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/42932","name":"42932","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2010-12/0086.html","name":"20101207 Linux kernel exploit","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://www.vupen.com/english/advisories/2011/0124","name":"ADV-2011-0124","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://marc.info/?l=linux-kernel&m=129117048916957&w=2","name":"[linux-kernel] 20101201 [PATCH v2] do_exit(): Make sure we run with get_fs() == USER_DS.","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html","name":"SUSE-SA:2011:007","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.vupen.com/english/advisories/2010/3321","name":"ADV-2010-3321","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://openwall.com/lists/oss-security/2010/12/08/9","name":"[oss-security] 20101208 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.vupen.com/english/advisories/2011/0298","name":"ADV-2011-0298","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36.2","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2010/12/09/14","name":"[oss-security] 20101209 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00007.html","name":"SUSE-SA:2011:005","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://code.google.com/p/chromium-os/issues/detail?id=10234","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2011/0375","name":"ADV-2011-0375","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://lkml.org/lkml/2010/12/1/543","name":"[linux-kernel] 20101201 Re: [PATCH v2] do_exit(): Make sure we run with get_fs() == USER_DS.","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://googlechromereleases.blogspot.com/2011/01/chrome-os-beta-channel-update.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2011/0012","name":"ADV-2011-0012","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00002.html","name":"SUSE-SA:2011:008","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://openwall.com/lists/oss-security/2010/12/02/4","name":"[oss-security] 20101202 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:029","name":"MDVSA-2011:029","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/42745","name":"42745","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://openwall.com/lists/oss-security/2010/12/02/7","name":"[oss-security] 20101202 Re: CVE request: kernel: failure to revert address limit override in OOPS error path","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://openwall.com/lists/oss-security/2010/12/08/5","name":"[oss-security] 20101208 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/43291","name":"43291","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2011/0213","name":"ADV-2011-0213","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=659567","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2010/12/08/4","name":"[oss-security] 20101208 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2011-01-12T10:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2010-12-01T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://openwall.com/lists/oss-security/2010/12/02/2","name":"[oss-security] 20101202 CVE request: kernel: failure to revert address limit override in OOPS error path","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://secunia.com/advisories/43056","name":"43056","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html","name":"SUSE-SA:2011:004","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/42778","name":"42778","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/12/02/3","name":"[oss-security] 20101202 kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=33dd94ae1ccbfb7bf0fb6c692bc3d1c4269e6177","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/42801","name":"42801","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html","name":"SUSE-SA:2011:002","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://blog.nelhage.com/2010/12/cve-2010-4258-from-dos-to-privesc/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/12/09/4","name":"[oss-security] 20101209 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html","name":"FEDORA-2010-18983","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html","name":"SUSE-SA:2011:001","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/42932","name":"42932","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2010-12/0086.html","name":"20101207 Linux kernel exploit","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2011/0124","name":"ADV-2011-0124","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://marc.info/?l=linux-kernel&m=129117048916957&w=2","name":"[linux-kernel] 20101201 [PATCH v2] do_exit(): Make sure we run with get_fs() == USER_DS.","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html","name":"SUSE-SA:2011:007","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2010/3321","name":"ADV-2010-3321","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/12/08/9","name":"[oss-security] 20101208 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2011/0298","name":"ADV-2011-0298","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36.2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/12/09/14","name":"[oss-security] 20101209 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00007.html","name":"SUSE-SA:2011:005","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://code.google.com/p/chromium-os/issues/detail?id=10234","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2011/0375","name":"ADV-2011-0375","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://lkml.org/lkml/2010/12/1/543","name":"[linux-kernel] 20101201 Re: [PATCH v2] do_exit(): Make sure we run with get_fs() == USER_DS.","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://googlechromereleases.blogspot.com/2011/01/chrome-os-beta-channel-update.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2011/0012","name":"ADV-2011-0012","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00002.html","name":"SUSE-SA:2011:008","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/12/02/4","name":"[oss-security] 20101202 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:029","name":"MDVSA-2011:029","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/42745","name":"42745","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/12/02/7","name":"[oss-security] 20101202 Re: CVE request: kernel: failure to revert address limit override in OOPS error path","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/12/08/5","name":"[oss-security] 20101208 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://secunia.com/advisories/43291","name":"43291","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2011/0213","name":"ADV-2011-0213","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=659567","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2010/12/08/4","name":"[oss-security] 20101208 Re: kernel: Dangerous interaction between clear_child_tid, set_fs(), and kernel oopses","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T03:34:37.991Z"}}]}}}