Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg

Kernel Bug Lay Undiscovered for Eight Years

Aug 14, 2009

A Linux kernel bug in network socket initialization could allow an attacker to acquire root privileges to inflict damages. The security hole applies to all kernels of the 2.4 and 2.6 series and has been around possibly since 2001.

Source of the bug is a NULL pointer dereference caused by an incorrectly implemented function during socket initialization. Pointers should have redirected the function to a predefined stub routine, but some protocols leave these pointers uninitialized. The list of affected protocols is pretty long: Appletalk, IPX, X.25, IRDA, Bluetooth, ISDN, AX25, SCTP via IPv6 and IUCV, although there may be more.

The kernel validates the pointers before executing most of the relevant functions. However, it was found that the sock_sendpage() routine bybasses the validation and accepts the NULL pointer. An attacker can thereby inflict some damage with code on the first page executed with root privileges. A precondition, however, is that the attacker already has code modification privileges as user, which precludes any remote attack possibilities.

A few exploits were already prepared for the vulnerability, but a relevant kernel patch now exists in Git. Most distros should implement their own security patches for the affected protocols for their delivered kernel versions.

(Joerg Luther)

Comments

Naivete

abcd Aug 16, 2009 12:08pm GMT

"t's been found, and it's been fixed. In addition it was never exploited, as it was never found until recently, had it been found earlier it would have been fixed earlier.

If on the other hand it had been known about and exploits available, and it had never been fixed,then there would be something to get upset about."

The comment above may be a bit naive? Just because it was not found by kernel developers until recently does not mean that the bug may not have been exploited.

Why

Tracyanne Aug 16, 2009 6:11am GMT

It's been found, and it's been fixed. In addition it was never exploited, as it was never found until recently, had it been found earlier it would have been fixed earlier.

If on the other hand it had been known about and exploits available, and it had never been fixed,then there would be something to get upset about.

kernel typo - (I hope)

Mike Aug 15, 2009 6:23am GMT


Uh, that applies to all kernels of the 2.4 - 2.6 series...

quote: "2.6, from 2.6.0 up to and including 2.6.30.4"

I hope this was just a typo, because leaving out that it affects the 2.6 series would be a large blunder.


Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg
Related Articles
Update: Security Hole in Kernel Allows Privilege Extensions
Cox Quits as TTY Maintainer
Kernel Statistics: Who's Writing Linux?
Ingo Molnar Tests New BF Scheduler
Linux Kernel 2.6.31 Brings USB 3.0
Red Hat buys virtualizer Qumranet
Live Streaming from ApacheCon Europe 2009

All about Apache in 19 talks

Watch 3 days full of Apache talks live from Amsterdam on March 25-27 in the convenience of your home or office. Topics are: Apache Hadoop, Tomcat for Developers and Administrators, HTTP Server Administration and much more.

Find out more

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2009 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux Technical Review]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland] [Open Source DVD Poland]
International: [Linux Magazine Brazil] [EasyLinux Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]