Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 385889

Summary: Kernel: Linux Kernel 2.6.x Race condition within the "scan_get_next_rmap_item()" function (CVE-2011-2183)
Product: Gentoo Security Reporter: Michael Harrison <n0idx80>
Component: KernelAssignee: Gentoo Security <security>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: Alpha   
OS: Linux   
URL: http://secunia.com/advisories/44754/
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Harrison 2011-10-06 18:20:04 UTC
Multiple vulnerabilities have been reported in the Linux Kernel, which can be exploited by malicious, local users to disclose certain system information, cause a DoS (Denial of Service), and gain escalated privileges and by malicious people to potentially compromise a vulnerable system.

1) A race condition within the "scan_get_next_rmap_item()" function in mm/ksm.c and can be exploited to cause a kernel crash.

2) A signedness error when processing the "osf_sysinfo()" system call in arch/alpha/kernel/osf_sys.c can be exploited to disclose the contents of some kernel memory.

3) A signedness error when processing the "osf_getdomainname()" system call in arch/alpha/kernel/osf_sys.c can be exploited to disclose the contents of some kernel memory.

4) An error when processing the "osf_getsysinfo()" system call in arch/alpha/kernel/osf_sys.c can be exploited to disclose the contents of some kernel memory.

5) An error when processing the "osf_wait4()" system call in arch/alpha/kernel/osf_sys.c can be exploited to manipulate kernel memory.

**NOTE: The vulnerabilities #2 through #5 affect the Alpha architecture only.**

6) An error within the INET socket monitoring feature when auditing the bytecode contained in certain netlink messages can be exploited to cause the kernel to enter an infinite loop via an INET_DIAG_BC_JMP opcode with the "yes" variable set to "0".

7) An error due to the TASKSTATS netlink interface (kernel/taskstats.c) allowing a process to register multiple listeners for exit statistics, which can be exploited to cause the kernel to consume memory and CPU resources resulting in a DoS.

8) An integer underflow error within the "l2cap_config_req()" function in net/bluetooth/l2cap_core.c when handling a l2cap configuration request can be exploited to cause a buffer overflow.

9) Some errors in net/wireless/nl80211.c when processing SSID strings can be exploited to cause a buffer overflow via an overly long string.

Successful exploitation of this vulnerability requires "CAP_NET_ADMIN" capabilities.

10) The "packet_recvmsg()" and "tpacket_rcv()" functions (net/packet/af_packet.c) do not properly initialise a structure before copying it to userspace, which can be exploited to disclose kernel memory.

The vulnerabilities are reported in version 2.6.39.1. Other versions may also be affected.
Comment 1 Michael Harrison 2011-10-06 18:22:52 UTC
Vulnerabilities #1, #6, and #7 are fixed in version version 2.6.39.3 and 2.6.35.14. Vulnerabilities #2 through #5 and #10 are fixed in version 2.6.35.14
Comment 2 Michael Harrison 2012-01-31 10:34:29 UTC

*** This bug has been marked as a duplicate of bug 212137 ***