Back to CVE catalog
CVE-2010-4258

Kernel do_exit KERNEL_DS bypass

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

6.2Medium
Published:
Updated:
EPSS:
2.655%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:FedorafedoraAffected versions:
13
Vendor:linuxlinux kernelAffected versions:
< 2.6.36.2
Vendor:opensuseopensuseAffected versions:
11.2Show full version range for opensuse
11.3
Vendor:SUSElinux enterprise desktopAffected versions:
10Show full version range for linux enterprise desktop
11
Vendor:SUSElinux enterprise real time extensionAffected versions:
11
Vendor:SUSElinux enterprise serverAffected versions:
10Show full version range for linux enterprise server
119
Vendor:SUSElinux enterprise software development kitAffected versions:
10
Vendor:redhatkernel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatkernel-abi-whitelists
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel-abi-whitelists
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatkernel-bootwrapper
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for kernel-bootwrapper
  • Other versions are affected by default; consult the source for exceptions.

1–10 of 93 · Page 1 of 10

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary6.2 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:H/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)6.2 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:H/Au:N/C:C/I:C/A:C
redhat · Wazuh CTI (adp)6.2 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:H/Au:N/C:C/I:C/A:C
Red Hat · Red Hat VEX (adp)6.2 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:H/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories53

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences