{"api_version":"1","generated_at":"2026-07-23T03:25:07+00:00","cve":"CVE-2012-2745","urls":{"html":"https://cve.report/CVE-2012-2745","api":"https://cve.report/api/cve/CVE-2012-2745.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-2745","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-2745"},"summary":{"title":"CVE-2012-2745","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.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-08-09 10:29:47","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.7","severity":"","vector":"AV:L/AC:M/Au:N/C:N/I:N/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:N/A:C","baseScore":4.7,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.2","name":"http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/50633","name":"http://secunia.com/advisories/50633","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Advisory SA50633 - Ubuntu update for kernel - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/50853","name":"http://secunia.com/advisories/50853","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Advisory SA50853 - Ubuntu update for kernel - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1064.html","name":"http://rhn.redhat.com/errata/RHSA-2012-1064.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1597-1","name":"http://www.ubuntu.com/usn/USN-1597-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1597-1: Linux kernel (EC2) vulnerability | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1567-1","name":"http://www.ubuntu.com/usn/USN-1567-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1567-1: Linux kernel vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1606-1","name":"http://www.ubuntu.com/usn/USN-1606-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1606-1: Linux kernel vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=833428","name":"https://bugzilla.redhat.com/show_bug.cgi?id=833428","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"833428 – (CVE-2012-2745) CVE-2012-2745 kernel: cred: copy_process() should clear child->replacement_session_keyring","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securitytracker.com/id?1027236","name":"http://www.securitytracker.com/id?1027236","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Linux Kernel Session Keyring Bug in copy_creds() Lets Local Users Deny Service - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/50961","name":"http://secunia.com/advisories/50961","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Alerts - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/torvalds/linux/commit/79549c6dfda0603dba9a70a53467ce62d9335c33","name":"https://github.com/torvalds/linux/commit/79549c6dfda0603dba9a70a53467ce62d9335c33","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"cred: copy_process() should clear child->replacement_session_keyring · torvalds/linux@79549c6 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=79549c6dfda0603dba9a70a53467ce62d9335c33","name":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=79549c6dfda0603dba9a70a53467ce62d9335c33","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"http://www.securityfocus.com/bid/54365","name":"http://www.securityfocus.com/bid/54365","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Linux Kernel Key Management CVE-2012-2745 Denial of Service Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=79549c6dfda0603dba9a70a53467ce62d9335c33","name":"CONFIRM:http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=79549c6dfda0603dba9a70a53467ce62d9335c33","refsource":"MITRE","tags":[],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2745","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2745","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"2745","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"3.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2745","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"3.3","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2745","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"3.3","cpe7":"rc2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2745","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"3.3","cpe7":"rc3","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2745","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"3.3","cpe7":"rc4","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2745","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"3.3","cpe7":"rc5","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2745","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"3.3","cpe7":"rc6","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2745","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"3.3","cpe7":"rc7","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2745","vulnerable":"1","versionEndIncluding":"3.3.1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T19:42:32.390Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.2"},{"name":"USN-1606-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1606-1"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/torvalds/linux/commit/79549c6dfda0603dba9a70a53467ce62d9335c33"},{"name":"USN-1567-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1567-1"},{"name":"USN-1597-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1597-1"},{"name":"50853","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/50853"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=833428"},{"name":"50961","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/50961"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=79549c6dfda0603dba9a70a53467ce62d9335c33"},{"name":"1027236","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://www.securitytracker.com/id?1027236"},{"name":"54365","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/54365"},{"name":"RHSA-2012:1064","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2012-1064.html"},{"name":"50633","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/50633"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-04-13T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2012-09-07T09:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.2"},{"name":"USN-1606-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1606-1"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/torvalds/linux/commit/79549c6dfda0603dba9a70a53467ce62d9335c33"},{"name":"USN-1567-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1567-1"},{"name":"USN-1597-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1597-1"},{"name":"50853","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/50853"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=833428"},{"name":"50961","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/50961"},{"tags":["x_refsource_CONFIRM"],"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=79549c6dfda0603dba9a70a53467ce62d9335c33"},{"name":"1027236","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://www.securitytracker.com/id?1027236"},{"name":"54365","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/54365"},{"name":"RHSA-2012:1064","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2012-1064.html"},{"name":"50633","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/50633"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-2745","datePublished":"2012-08-09T10:00:00.000Z","dateReserved":"2012-05-14T00:00:00.000Z","dateUpdated":"2024-08-06T19:42:32.390Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-08-09 10:29:47","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-119","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:N/A:C","baseScore":4.7,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"COMPLETE"},"baseSeverity":"MEDIUM","exploitabilityScore":3.4,"impactScore":6.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndIncluding":"3.3.1","matchCriteriaId":"A414BCFE-F436-4E67-BF24-05766DA92376"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:3.3:*:*:*:*:*:*:*","matchCriteriaId":"AFB76697-1C2F-48C0-9B14-517EC053D4B3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:3.3:rc1:*:*:*:*:*:*","matchCriteriaId":"BED88DFD-1DC5-4505-A441-44ECDEF0252D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:3.3:rc2:*:*:*:*:*:*","matchCriteriaId":"DBFD2ACD-728A-4082-BB6A-A1EF6E58E47D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:3.3:rc3:*:*:*:*:*:*","matchCriteriaId":"C31B0E51-F62D-4053-B04F-FC4D5BC373D2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:3.3:rc4:*:*:*:*:*:*","matchCriteriaId":"A914303E-1CB6-4AAD-9F5F-DE5433C4E814"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:3.3:rc5:*:*:*:*:*:*","matchCriteriaId":"203BBA69-90B2-4C5E-8023-C14180742421"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:3.3:rc6:*:*:*:*:*:*","matchCriteriaId":"0DBFAB53-B889-4028-AC0E-7E165B152A18"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:3.3:rc7:*:*:*:*:*:*","matchCriteriaId":"FE409AEC-F677-4DEF-8EB7-2C35809043CE"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"2745","Ordinal":"1","Title":"CVE-2012-2745","CVE":"CVE-2012-2745","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"2745","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2012-2745"},{"CveYear":"2012","CveId":"2745","Ordinal":"2","NoteData":"2012-08-09","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"2745","Ordinal":"3","NoteData":"2012-09-07","Type":"Other","Title":"Modified"}]}}}