The personality subsystem in the Linux kernel before 2.6.31-rc3 has a PER_CLEAR_ON_SETID…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
The personality subsystem in the Linux kernel before 2.6.31-rc3 has a PER_CLEAR_ON_SETID setting that does not clear the ADDR_COMPAT_LAYOUT and MMAP_PAGE_ZERO flags when executing a setuid or setgid program, which makes it easier for local users to leverage the details of memory usage to (1) conduct NULL pointer dereference attacks, (2) bypass the mmap_min_addr protection mechanism, or (3) defeat address space layout randomization (ASLR).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | up to 2.6.31 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.31:rc1:*:*:*:*:*:* | 2.6.31 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.31:rc2:*:*:*:*:*:* | 2.6.31 rc2 | Vulnerable | Linux |
| cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:* | 8.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:8.10:*:*:*:*:*:*:* | 8.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:9.04:*:*:*:*:*:*:* | 9.04 | Vulnerable | Canonical |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions up to 2.6.31 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.31:rc1:*:*:*:*:*:* Versions 2.6.31 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.31:rc2:*:*:*:*:*:* Versions 2.6.31 rc2 Vulnerable ·Linux
- cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:* Versions 8.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:8.10:*:*:*:*:*:*:* Versions 8.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:9.04:*:*:*:*:*:*:* Versions 9.04 Vulnerable ·Canonical
Remediation
Red Hat 5 advisories
- RHSA-2010:0079 Released 2010-02-02 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux EUS (v. 5.2 server) kernel-2.6.18-92.1.35.el5, kernel-2.6.18-92.1.35.el5.ia64, kernel-PAE-2.6.18-92.1.35.el5 +14
- RHSA-2009:1550 Released 2009-11-03 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Desktop version 3 kernel-2.4.21-63.EL, kernel-2.4.21-63.EL.athlon, kernel-2.4.21-63.EL.ia32e +14
- Red Hat Enterprise Linux AS version 3 kernel-2.4.21-63.EL, kernel-2.4.21-63.EL.athlon, kernel-2.4.21-63.EL.ia32e +22
- Red Hat Enterprise Linux ES version 3 kernel-2.4.21-63.EL, kernel-2.4.21-63.EL.athlon, kernel-2.4.21-63.EL.ia32e +18
- Red Hat Enterprise Linux WS version 3 kernel-2.4.21-63.EL, kernel-2.4.21-63.EL.athlon, kernel-2.4.21-63.EL.ia32e +18
- RHSA-2009:1540 Released 2009-11-03 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- MRG Realtime for RHEL 5 Server kernel-rt-2.6.24.7-137.el5rt, kernel-rt-debug-2.6.24.7-137.el5rt, kernel-rt-debug-devel-2.6.24.7-137.el5rt +6
Show 2 more Red Hat advisories
- RHSA-2009:1438 Released 2009-09-15 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux AS version 4 kernel-2.6.9-89.0.11.EL, kernel-2.6.9-89.0.11.EL.ia64, kernel-2.6.9-89.0.11.EL.ppc64iseries +14
- Red Hat Enterprise Linux Desktop version 4 kernel-2.6.9-89.0.11.EL, kernel-devel-2.6.9-89.0.11.EL, kernel-doc-2.6.9-89.0.11.EL +8
- Red Hat Enterprise Linux ES version 4 kernel-2.6.9-89.0.11.EL, kernel-2.6.9-89.0.11.EL.ia64, kernel-devel-2.6.9-89.0.11.EL +12
- Red Hat Enterprise Linux WS version 4 kernel-2.6.9-89.0.11.EL, kernel-2.6.9-89.0.11.EL.ia64, kernel-devel-2.6.9-89.0.11.EL +12
- RHSA-2009:1193 Released 2009-08-04 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux (v. 5 server) kernel-2.6.18-128.4.1.el5, kernel-2.6.18-128.4.1.el5.ia64, kernel-PAE-2.6.18-128.4.1.el5 +18
- Red Hat Enterprise Linux Desktop (v. 5 client) kernel-2.6.18-128.4.1.el5, kernel-PAE-2.6.18-128.4.1.el5, kernel-PAE-devel-2.6.18-128.4.1.el5 +8
- Red Hat Enterprise Linux EUS (v. 5.3 server) kernel-2.6.18-128.4.1.el5, kernel-2.6.18-128.4.1.el5.ia64, kernel-PAE-2.6.18-128.4.1.el5 +18
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| MRG Realtime for RHEL 5 Server | Fixed | RHSA-2009:1540 |
| Red Hat Desktop version 3 | Fixed | RHSA-2009:1550 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2009:1193 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2009:1550 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2009:1438 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2009:1193 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2009:1438 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2009:1550 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2009:1438 |
| Red Hat Enterprise Linux EUS (v. 5.2 server) | Fixed | RHSA-2010:0079 |
| Red Hat Enterprise Linux EUS (v. 5.3 server) | Fixed | RHSA-2009:1193 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2009:1550 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2009:1438 |
Timeline
- 2026-10-02 Threatist record created from CVE-2009-1895
- 2026-10-03 Alias added: GHSA-rgcw-fh34-72mm
References
Patch 3
Advisory 18
- http://wiki.rpath.com/Advisories:rPSA-2009-0111
- RHSA-2009:1540
- FEDORA-2009-8144
- DSA-1844
- USN-807-1
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- RHSA-2009:1193
- oval:org.mitre.oval:def:7826
- FEDORA-2009-8264
- MDVSA-2011:051
- oval:org.mitre.oval:def:11768
- RHSA-2009:1550
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc3
- https://bugs.launchpad.net/bugs/cve/2009-1895
- DSA-1845
- oval:org.mitre.oval:def:9453
- RHSA-2009:1438
- ADV-2009-3316
Sources
- CVE-2009-1895 · CVE Program
- CVE-2009-1895 · NVD
- FIRST EPSS
- GHSA-rgcw-fh34-72mm · GitHub Advisory Database · CC BY 4.0
- CVE-2009-1895 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences