Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Linux

August 14th, 2009, 12:55 GMT · By

Newly Discovered Linux Kernel Vulnerability Affects All Versions Since 2001

SHARE:

Adjust text size:


Linux Kernel
Enlarge picture
Tavis Ormandy and Julien Tiennes, two security specialists from Google, reported last night (August 13th) that they had discovered a critical security vulnerability in all Linux kernels (2.4 and 2.6) since 2001, for all architectures. The CVE-2009-2692 vulnerability allows regular users to get root rights on the affected system(s). For more technical users, the actual problem is a Linux kernel NULL pointer dereference due to incorrect proto_ops initializations. The vulnerability is only local.

"Tavis Ormandy and myself have recently found and investigated a Linux kernel vulnerability. It affects all 2.4 and 2.6 kernels since 2001 on all architectures. We believe this is the public vulnerability affecting the greatest number of kernel versions." - Julien Tiennes said on his blog. "The issue lies in how Linux deals with unavailable operations for some protocols. sock_sendpage and others don't check for NULL pointers before dereferencing operations in the ops structure. Instead the kernel relies on correct initialization of those proto_ops structures with stubs (such as sock_no_sendpage) instead of NULL pointers." he added.

Tavis Ormandy and Julien Tiennes said that all versions of the Linux kernels 2.4 and 2.6 since year 2001 were affected by this newly discovered security vulnerability. We at the Softpedia Labs ran the sample exploit on the recently released Ubuntu 9.10 (Karmic Koala) Alpha 4 operating system with Linux kernel 2.6.31-5.24, based on the official 2.6.31 RC5 branch, and found it to be vulnerable. However, it appears that the exploit will not work on recent versions of the official Linux kernel with mmap_min_addr support, when using sysctl to assign values grater than zero for vm.mmap_min_addr. Below you can see a screenshot showing the effects of running the CVE-2009-2692 exploit.

Review image

"Since it leads to the kernel executing code at NULL, the vulnerability is as trivial as it can get to exploit: an attacker can just put code in the first page that will get executed with kernel privileges." - says Julien Tiennes, Google Security Team.

A patch for the CVE-2009-2692 security vulnerability is already available here.

Click here to see a list with all the affected Linux kernels!

Edit 17.08.09: Patched versions of the Linux kernel are available for download from Softpedia. See below!

Linux kernel 2.4.37.5
Linux kernel 2.6.30.5
Linux kernel 2.6.31 RC6

TELL US WHAT YOU THINK:

6,084 hits · 1 comment · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


The Calculate Linux Team Launches Scratch Edition 9.8

Quake Live Gets Linux and Mac Support

Ubuntu 9.10 Alpha 4 Has Firefox 3.5 as Default Browser

Parted Magic 4.4 Adds Dial-Up Networking and Sound Support

GNOME 2.27.90 Is the First Beta of the Upcoming 2.28 Version

READER COMMENTS:


Comment #1 by: James on 26 Sep 2009, 08:24 UTC reply to this comment

I am not sure if you mean the problem is only local so it doesn't matter, or if you mean there is now a vulnerability which can grant a user local root access to your machine when you don't want to.

I was hit with this vulnerability and I am rather upset that it was potentially due to first, an exploit of a well known open source script, two, a script not belonging to me but one of my unknown neighbours, and three... that this sort of patch is not pushed directly to the end user who may be administrating the machine.

I am sure many many people will be effected by this, just beyond me. I am not so sure the open security vulnerability reports are that effective if it takes people a few days to weeks to even find it.

Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM