Highly exploitable Linux kernel bug found, patched
Summary
Topics
Julien Tinnes and Tavis Ormandy, the security researchers who discovered the vulnerability, have already issued a patch for the flaw. According to a blog post written by Tinnes on Thursday, the hole "affects all 2.4 and 2.6 kernels since 2001 on all architectures", and is "the public vulnerability affecting the greatest number of kernel versions".
While the kernel hole allows only local privilege escalation, the vulnerability is widespread, said the researchers.
"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," Tinnes wrote. "Instead the kernel relies on correct initialization of those proto_ops structures with stubs (such as sock_no_sendpage) instead of Null pointers."
Tinnes said that, as the vulnerability leads to the kernel executing code at Null, it 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," Tinnes wrote.
In an advisory published on Neohapsis on Thursday, Ormandy wrote that an attacker could exploit the vulnerability by creating a mapping at address zero containing code to be executed with privileges of the kernel, thus triggering a vulnerable operation.
The Red Hat team issued an official mitigation recommendation on Friday, in which they called for the affected protocols to be blacklisted in order to stop Tinnes and Ormandy's publicly circulated exploit from working properly on Red Hat Enterprise Linux.
This article was originally posted on ZDNet UK.
Just In
The Linux crowd can worry about them and fix them because they are open for anybody to fix.
This is proof that the Linux way is safer than Windows.
Toodles
vulnerabilities common to Windows.
You have to already have local access to use
this.
As in, physically be at the computer, or
convince somebody who is to run your malicious
code.
And guess what, lol? Even if this wasn't
the case, do you actually think that one
(fixed) vulnerability makes up for the
countless ones in windows? LOL!!
This shows that when you have too many people messing with your code you will produce a shoddy product. Too many people are overlapping with the code and this vulnerability is exactly what happens. With linux its always compile, compile, compile! What a hassle.
The vulnerability exploited by Conficker was patched prior to Confickers release but we still, 10 months later, continue to see ABMers bring it up.
Perhaps this incident will show that all software has bugs and some of those bugs will have security implications. Something that's been explained to the ABMers countless times yet they continue to ignore.
who found the hole could also submit a patch for it. They didn't have to wait for
some third party to get around to updating.
"The views expressed here are mine and do not reflect the official opinion of my employer or the organization through which the Internet was accessed."
Direct action, that's the key
Linux does not have a patch Tuesday because Linux users do not feel that having to wait an arbitrary length of time for a fix to come is viable. Instead as soon as a patch is available it is patched. They are made immediately available in the repositories which means it is available to the user as soon as possible.
And also to point out if you've ever used Linux. You would know that updating and maintaining a Linux machine is trivial at best. Its sooooo difficult obviously to have to start Synaptic (Repository manager for Ubuntu), hit - Update and Upgrade. Done, viola, its over.
And I can't tell you how many workstations ive come across (windows) that have not been patched for literally a few years.
Does anyone want to take a guess at how many known Windows vulnerabilities there are existing for years? And it would be very ignorant and blind for you to say there aren't any... You don't know whats left unfixed when it comes to Windows because Microsoft does not tell you you're vulnerable.
You people here have to stop spewing the FUD that you've been bottle fed for years. Unless you have used Linux I don't believe you have the right to say Its difficult or insecure. And on that point, obviously having to spend thousands of dollars on security software (eg: AntiVirus) means Windows is more secure since Linux doesn't have any? Or does it mean that Linux doesn't need AntiVirus because does not have the massive amounts of exploitable issues that windows does. this is all semantics people.
No software is perfect. Least of all something as complex and comprehensive as an Operating System be it Mac, Windows, Linux, BSD. It doesn't matter.
I don't even have to be aware of any problems - it just pops up and tells me.
Another advantage is that it takes care of both the OS as well as the programs installed on my system.
So... the people you were concerned about getting the update most likely not have to know it's there - they will be told to download and install it and they will.
It's great they want to appear like they are quick at patching, but people like to know before hand that an exploit exists so they can work around it.
What about being open with information? I thought the whole point of OSS was the fact information and code was open to the community, no sneakyness? Too much to hope for?
A local user could also take the side off the case pop the hard-drive out and open it up with a screwdriver and have full access to the drive.
While this particular obscure vulnerability appears to have been around for a few years there have been NO instances of people using the exploit. This is another example of a patch being released BEFORE an attack occured in the wild.
Please get a grip on reality. In the Windows world no-one would have bothered to report this type of thing because such things are tooo common. It's only because it happened in linux-land that it has any news value - because exploits are so incredibly rare in linux.
Keep your stick on the ice
Regards from
Tom
If so, then you should either be admitting that it is not acceptable for Windows or you should be acknowledging that this is just as acceptable for Linux.
That's odd, I can't remember ye ever arguing that it was acceptable for Windows. Can you point me to a post where he did?
That's odd, I can't remember ye ever arguing that it was acceptable for Windows. Can you point me to a post where he did?
And you responded with:
Sure...it was in his subject line.
And I quote... "Not acceptable for Windows. So it's not acceptable for Linux."
So I ask again: Have you suffered a head injury lately?
And this one is a biggie because every single distro will have to patch every single supported version of their OS.
How many LAMP servers do you believe will be patched directly from the source tree? Nah. This one will plague LAMP sites for months to come, especially the discount shared hosts where patching is not always up to date.
Fortunately, as serious as this bug is, it's not a remote execution bug. So it's not enough by itself to compromise a LAMP server. Now as for schools full of untrustworthy users, that's a different story.
And even if you just made a quick patch and wanted to compile it yourself, odds are you are just compiling a module (I can't imagine anyone wanting SOCKS in the kernel proper). And that takes what, about 30 seconds from start to install?
How many lines of Microsoft source code have YOU seen?
The compiler, for your educational purposes, is used primarily by the distro maintainers/packagers unless you CHOOSE to compile by hand or run Gentoo or similar.
Ok, I know already that that's gone RIGHT OVER your hollow head
Most Linux distros don't include Telnet clients. What is your source for that claim?
Most Linux distros don't require any compiling to apply patches. What is your source for that claim?
Oh, and here is the source for my claim about those Windows vulnerabilities.
http://www.microsoft.com/technet/security/bulletin/ms09-aug.mspx
Now, tell me, where on those pages does it say that Linux needs to be updated daily?
Where does it say that Linux has more downtime?
Where does it say that Ubuntu comes with telnet preinstalled?
Why do you make wild accusations that you are unwilling or unable to prove?
It took me all of two minutes to find out that Ubuntu doesn't include a telnet client, and another two minutes to find out how many patches Microsoft released this month.
Proof is easy to find, when it exists.
Join the conversation!
The best of ZDNet, delivered
ZDNet Newsletters
Get the best of ZDNet delivered straight to your inbox




