CVE-2012-2745 json
The copy_creds function in kernel/cred.c in the Linux kernel before 3.3.2 provides an invalid replacement session keyring to a child proces…
published 2012-08-09 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2725
- cvss
- 4.7
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
The copy_creds function in kernel/cred.c in the Linux kernel before 3.3.2 provides an invalid replacement session keyring to a child process, which allows local users to cause a denial of service (panic) via a crafted application that uses the fork system call.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 3.2.15-1
debian advisories DEBIAN-CVE-2012-2745
- kernel RHEL 6 2.6.32-279.1.1.el6
- perf RHEL 6 2.6.32-279.1.1.el6
- python-perf RHEL 6 2.6.32-279.1.1.el6
- kernel-kdump RHEL 6 2.6.32-279.1.1.el6
- kernel-firmware RHEL 6 2.6.32-279.1.1.el6
- kernel-bootwrapper RHEL 6 2.6.32-279.1.1.el6
- kernel-debuginfo-common-i686 RHEL 6 2.6.32-279.1.1.el6
- kernel-debuginfo-common-ppc64 RHEL 6 2.6.32-279.1.1.el6
red hat advisories RHSA-2012:1064
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-2745 updated cvss 4.7
kernel: cred: copy_process() should clear child->replacement_session_keyring
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-279.1.1.el6, kernel 2.6.32-279.1.1.el6, kernel-firmware 2.6.32-279.1.1.el6, kernel-debuginfo-common-i686 2.6.32-279.1.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.1.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) kernel 2.6.32-279.1.1.el6, python-perf 2.6.32-279.1.1.el6, kernel-debuginfo-common-i686 2.6.32-279.1.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.1.1.el6 Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-279.1.1.el6, kernel 2.6.32-279.1.1.el6, kernel-firmware 2.6.32-279.1.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.1.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) kernel 2.6.32-279.1.1.el6, python-perf 2.6.32-279.1.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.1.1.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-279.1.1.el6, kernel 2.6.32-279.1.1.el6, kernel-kdump 2.6.32-279.1.1.el6, kernel-firmware 2.6.32-279.1.1.el6, kernel-bootwrapper 2.6.32-279.1.1.el6, kernel-debuginfo-common-i686 2.6.32-279.1.1.el6, +3 more Red Hat Enterprise Linux Server Optional (v. 6) kernel 2.6.32-279.1.1.el6, python-perf 2.6.32-279.1.1.el6, kernel-debuginfo-common-i686 2.6.32-279.1.1.el6, kernel-debuginfo-common-ppc64 2.6.32-279.1.1.el6, kernel-debuginfo-common-s390x 2.6.32-279.1.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.1.1.el6fixed: vendor fix RHSA-2012:1064
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-279.1.1.el6, kernel 2.6.32-279.1.1.el6, kernel-firmware 2.6.32-279.1.1.el6, kernel-debuginfo-common-i686 2.6.32-279.1.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.1.1.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) kernel 2.6.32-279.1.1.el6, python-perf 2.6.32-279.1.1.el6, kernel-debuginfo-common-i686 2.6.32-279.1.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.1.1.el6 -
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.7 | AV:L/AC:M/Au:N/C:N/I:N/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
github.com
/torvalds/linux/commit/79549c6dfda0603dba9a70a53467ce62d9335c33
patch
-
ubuntu.com
/usn/USN-1606-1
vendor-advisory
-
ubuntu.com
/usn/USN-1567-1
vendor-advisory
-
ubuntu.com
/usn/USN-1597-1
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2012-1064.html
vendor-advisory
- kernel.org /pub/linux/kernel/v3.x/ChangeLog-3.3.2
-
secunia.com
/advisories/50853
third-party-advisory
- bugzilla.redhat.com /show_bug.cgi?id=833428
-
secunia.com
/advisories/50961
third-party-advisory
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=79549c6dfda0603dba9a70a53467ce62d9335c33
-
securitytracker.com
/id?1027236
vdb-entry
-
securityfocus.com
/bid/54365
vdb-entry
-
secunia.com
/advisories/50633
third-party-advisory
Sources
- CVE List CVE-2012-2745
- NVD CVE-2012-2745
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.