Description
The copy_semid_to_user function in ipc/sem.c in the Linux kernel before 2.6.36 does not initialize a certain structure, which allows local users to obtain potentially sensitive information from kernel stack memory via a (1) IPC_INFO, (2) SEM_INFO, (3) IPC_STAT, or (4) SEM_STAT command in a semctl system call.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | linux-2.6 | 2.6.26-26lenny1 | DSA-2126-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | perf +14 | 2.6.32-71.14.1.el6 | RHSA-2011:0007 |
| RHEL 5 | kernel +12 | 2.6.18-194.32.1.el5 | RHSA-2011:0004 |
| RHEL 4 | kernel +10 | 2.6.9-89.35.1.EL | RHSA-2011:0162 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat MRG 1 | perf +10 | 2.6.33.7-rt29.47.el5rt | RHSA-2010:0958 |
Advisories 5
- RHSA-2011:0004 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2011:0007 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2010:0958 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2011:0162 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2126-1 linux-2.6 - several issues Debian Security (DSA / DLA) · Mar 9, 2026
References
- 43809 vdb-entry
- [oss-security] 20100925 CVE request: multiple kernel stack memory disclosures mailing-list
- 42789 third-party-advisory
- ADV-2011-0024 vdb-entry
- SUSE-SA:2011:004 vendor-advisory
- 42778 third-party-advisory
- RHSA-2011:0004 vendor-advisory
- [mm-commits] 20100923 + sys_semctl-fix-kernel-stack-leakage.patch added to -mm tree mailing-list
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=982f7c2b2e6a28f8f266e075d92e19c0dd4c6e56
- 20111013 VMSA-2011-0012 VMware ESXi and ESX updates to third party libraries and ESX Service Console mailing-list
- 46397 third-party-advisory
- [oss-security] 20101006 Re: CVE request: multiple kernel stack memory disclosures mailing-list
- SUSE-SA:2011:001 vendor-advisory
- 42932 third-party-advisory
- RHSA-2011:0007 vendor-advisory
- ADV-2011-0124 vdb-entry
- SUSE-SA:2011:007 vendor-advisory
- SUSE-SA:2010:060 vendor-advisory
- ADV-2011-0298 vdb-entry
- RHSA-2010:0958 vendor-advisory
- MDVSA-2011:051 vendor-advisory
- [oss-security] 20101006 Re: CVE request: multiple kernel stack memory disclosures mailing-list
- 42963 third-party-advisory
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- ADV-2011-0375 vdb-entry
- 42890 third-party-advisory
- RHSA-2011:0162 vendor-advisory
- ADV-2011-0012 vdb-entry
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36
- SUSE-SA:2011:008 vendor-advisory
- ADV-2011-0168 vdb-entry
- [oss-security] 20101025 Re: CVE request: multiple kernel stack memory disclosures mailing-list
- 43291 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=648673
- DSA-2126 vendor-advisory