kernel: cred: copy_process() should clear child->replacement_session_keyring
Published Aug 9, 2012
4.7
MEDIUMCVSS 2.0
EPSS 0.38%
Description
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.
Affected products
No data.
- ≤ 3.3.1
- 3.3
- 3.3
- 3.3
- 3.3
- 3.3
- 3.3
- 3.3
- 3.3
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-279.1.1.el6
Fixed · RHSA-2012:1064
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise MRG 2
realtime-kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-279.1.1.el6 | Fixed | RHSA-2012:1064 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5 as they did not include support for KEYCTL_SESSION_TO_PARENT keyctl IOCTL as introduced in upstream commit ee18d64c. This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux MRG 2 as they already contain the fix. This issue was addressed in Red Hat Enterprise Linux 6 via RHSA-2012:1064 https://rhn.redhat.com/errata/RHSA-2012-1064.html.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:N/I:N/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.38% (0.00380) | 29.61th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.38% (0.00380) | 29.63th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00042) | 9.84th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00044) | 11.89th | v3 (v2023.03.01) |
| Jul 2, 2024 | 0.04% (0.00044) | 10.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00044) | 8.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
References (16)
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=79549c6dfda0603dba9a70a53467ce62d9335c33 x_refsource_CONFIRM
- http://rhn.redhat.com/errata/RHSA-2012-1064.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/50633 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/50853 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/50961 third-party-advisoryx_refsource_SECUNIA
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.2 x_refsource_CONFIRM
- http://www.securityfocus.com/bid/54365 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id?1027236 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-1567-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1597-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1606-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2012-2745 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=833428 x_refsource_CONFIRMIssue Tracking
- https://github.com/torvalds/linux/commit/79549c6dfda0603dba9a70a53467ce62d9335c33 x_refsource_CONFIRMPatch
- https://nvd.nist.gov/vuln/detail/CVE-2012-2745
- https://www.cve.org/CVERecord?id=CVE-2012-2745
Change history (0)
No recorded changes yet.