Buffer overflow in Linux kernel - CVE-2012-2745

 

Buffer overflow in Linux kernel - CVE-2012-2745

Published: August 9, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43751
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-2745
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

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 software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-lts-backport-natty (Ubuntu package)
linux-lts-backport-oneiric (Ubuntu package)

How to mitigate CVE-2012-2745

Install update from vendor's website.

linux (Ubuntu package) - addressed in versions 2.6.32-44.98, 2.6.38-16.67, 3.0.0-20.34, 3.2.0-24.38
linux-lts-backport-natty (Ubuntu package) - update to 2.6.38-16.67~lucid1
linux-lts-backport-oneiric (Ubuntu package) - update to 3.0.0-20.34~lucid1

External References

Related Security Bulletins