Null pointer dereference in Linux kernel - CVE-2010-2960

 

Null pointer dereference in Linux kernel - CVE-2010-2960

Published: September 8, 2010 / Updated: August 11, 2020


Vulnerability identifier: #VU92822
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-2960
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

The keyctl_session_to_parent function in security/keys/keyctl.c in the Linux kernel 2.6.35.4 and earlier expects that a certain parent session keyring exists, which allows local users to cause a denial of service (NULL pointer dereference and system crash) or possibly have unspecified other impact via a KEYCTL_SESSION_TO_PARENT argument to the keyctl function.


Affected software

Linux kernel
Ubuntu
linux-source-2.6.15 (Ubuntu package)
linux (Ubuntu package)

How to mitigate CVE-2010-2960

Install update from vendor's repository.

linux-source-2.6.15 (Ubuntu package) - update to 2.6.15-55.89
linux (Ubuntu package) - addressed in versions 2.6.24-28.80, 2.6.28-19.66, 2.6.31-22.67, 2.6.32-25.45, 2.6.35-22.35

External References

Related Security Bulletins