CVE-2012-2745
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of service disruption.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 4.7 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Linux Kernel ≤ 3.3.1
- Linux Kernel 3.3
Attack profile CVSS 2.0 · 4.7
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:N/C:N/I:N/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2745.md and follow it. Check whether this project is affected by CVE-2012-2745. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/torvalds/linux/commit/79549c6dfda0603dba9a70a53467ce62d9335c33
- https://github.com/torvalds/linux/commit/79549c6dfda0603dba9a70a53467ce62d9335c33
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
- https://github.com/torvalds/linux/commit/79549c6dfda0603dba9a70a53467ce62d9335c33
- 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