What’s Vulnerable › Vulnerabilities
CVE-2012-2745
- Severity: medium (CVSS 4.7 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2012-08-09 · updated 2026-06-16
- Weakness: CWE-119
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
- Linux kernel: through 3.3.1; 3.3, 3.3-rc1, 3.3-rc2, 3.3-rc3, 3.3-rc4, 3.3-rc5 (+2)
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=79549c6dfda0603dba9a70a53467ce62d9335c33
- http://rhn.redhat.com/errata/RHSA-2012-1064.html
- http://secunia.com/advisories/50633
- http://secunia.com/advisories/50853
- http://secunia.com/advisories/50961
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.2
- http://www.securityfocus.com/bid/54365
- http://www.securitytracker.com/id?1027236
- http://www.ubuntu.com/usn/USN-1567-1
- http://www.ubuntu.com/usn/USN-1597-1
- http://www.ubuntu.com/usn/USN-1606-1
- https://bugzilla.redhat.com/show_bug.cgi?id=833428
Get alerted when CVE-2012-2745 or the next vulnerability affects your stack