Vulnerability in NVIDIA Binary Drivers for Linux

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Nothinman
You mean exploits, unsupported hardware, and a company that wants to keep me in the dark about the hardware I purchased? Darn. Too bad.

Well I was thinking more along the lines of being able to actually use the hardware that you purchased, but you can see the glass half empty if you want. =)

The nv driver allows me to use the hardware.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I've heard that argument before, but it's only ever been from windows users trying to explain why they don't use linux.

The difference being that I can actually use the hardware in Linux but the nv driver doesn't even do adequate 2D. If you're going to use the nv driver you might as well just get something that uses a better OSS driver like an older radeon or a matrox.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Nothinman
I've heard that argument before, but it's only ever been from windows users trying to explain why they don't use linux.

The difference being that I can actually use the hardware in Linux but the nv driver doesn't even do adequate 2D. If you're going to use the nv driver you might as well just get something that uses a better OSS driver like an older radeon or a matrox.

I haven't had any problems with the nv driver. Maybe you should re-evaluate your platform. ;)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I haven't had any problems with the nv driver. Maybe you should re-evaluate your platform.

I'm ending this now, because we'll just keep going in circles. The nv driver is absolutely terrible compared to the nvidia driver in terms of picture quality and performance and on top of that I'm surprised that you don't have a problem using a driver that was intentionall obfuscated by nvidia, I mean what's the point of it being OSS if no one can understand the code?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Nothinman
I haven't had any problems with the nv driver. Maybe you should re-evaluate your platform.

I'm ending this now, because we'll just keep going in circles. The nv driver is absolutely terrible compared to the nvidia driver in terms of picture quality and performance and on top of that I'm surprised that you don't have a problem using a driver that was intentionall obfuscated by nvidia, I mean what's the point of it being OSS if no one can understand the code?

It's the last nVidia device I'll own. :)

If you don't care about FLOSS, why do you use Debian?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
If you don't care about FLOSS, why do you use Debian?

I do, I'm just not vehement about it. The only non-OSS software on this machine is the nvidia driver and flash. I'll use a free alternative whenever possible but IMO nv isn't a real alternative.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Nothinman
If you don't care about FLOSS, why do you use Debian?

I do, I'm just not vehement about it. The only non-OSS software on this machine is the nvidia driver and flash. I'll use a free alternative whenever possible but IMO nv isn't a real alternative.

This must be why Linux has crappy wireless support...
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
As an addendum to my previous post, the lack of information also causes us to miscommunicate.

This is a trap, plain and simple. Escape is impossible through rhetoric alone. I am convinced that the only way out is to collectively buy our way out: to come to a consensus as to what chipset/hardware is most valuable to us, to collect money, and to try to convince the designer of said chipset or hardware that it is to their advantage to provide sufficient documentation not under NDA, redistributable firmware, and other such things in exchange for a reasonable sum. Even if this amount is orders of magnitude out of our abilities to collect, it is probably the only way outside of corporate wisdom and generosity (which are in very short supply) or expensive (perhaps even more so) reverse engineering for us to have FOSS drivers, which we all desire.

You all very well know that money is the only language businesses understand, and that to speak it indirectly (through retailers and system vendors) doesn't work very well. Why not speak it directly to them?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
This must be why Linux has crappy wireless support...

Yea, that's not a situation I'm terribly happy about either but I only have 1 machine out of 4 with wifi and the rt2500 drivers install easy enough so I'm not too concerned.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
You all very well know that money is the only language businesses understand, and that to speak it indirectly (through retailers and system vendors) doesn't work very well. Why not speak it directly to them?

You really think you'll raise enough money for them to care?
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
Originally posted by: Nothinman
You all very well know that money is the only language businesses understand, and that to speak it indirectly (through retailers and system vendors) doesn't work very well. Why not speak it directly to them?

You really think you'll raise enough money for them to care?

Probably not, but you never know.

The point I'm trying to make is that more options should be explored: closed or unacceptably licensed drivers are undesirable, having no drivers is undesirable, reverse engineering is expensive (time is arguably more precious than money), and generosity from hardware companies is rare and fleeting. Getting what we want is practically a miracle as it is.

However, I can see a strategy like this backfiring, by discouraging the Ralinks of the world from Doing The Right Thing without the need for a prompt.
 

jhu

Lifer
Oct 10, 1999
11,918
9
81
Originally posted by: drag
Also I'd like to say (for anybody who may not know)
DO NOT buy ATI cards if your planing on using Linux systems with your machines at any point and you want better performance then what the reverse engineered drivers offer.

If your going to use propriatory drivers then the ONLY solution for Linux high-performance 3d graphics is Nvidia.

Hopefully AMD can impress on ATI the need to support open source drivers, but I am beginning to seriously doubt that is ever going to happen.

i've gone out (or rather sat at my computer and clicked a few buttons), and bought a firegl 8700 on ebay. since i currently have a geforce fx5200, it's mild upgrade, but at least now i get open source drivers.
 

jhu

Lifer
Oct 10, 1999
11,918
9
81
i finally received my ati firegl 8700. after some fiddling, composite and opengl work under linux with the open source drivers. no more nvidia
 

jhu

Lifer
Oct 10, 1999
11,918
9
81
i'm a little disappointed that the visual quality of the open source drivers really suck on doom 3. oh well, not that i really play it anymore. at least i don't have any more remote exploits (yet).
 

skrewler2

Senior member
Aug 28, 2005
279
0
76
Wow, you guys blew this out of proportion... in order to exploit, you have to have access to the X session which means being locally logged in be root. OR be forwarding x11 thru your firewall and stupidly have +xhost set.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: skrewler2
Wow, you guys blew this out of proportion... in order to exploit, you have to have access to the X session which means being locally logged in be root. OR be forwarding x11 thru your firewall and stupidly have +xhost set.

How do you rationalize the fact nVidia sat on this vulnerability for 2 years? Or the fact it wasn't fixed in the release drivers at the time this vulnerability was released? Or how about the fact no one could fix this except nVidia?

EDIT: Nothing I've read mentions the exploit requiring root... Link? Also, running X applications from a server to be displayed on a client isn't entirely uncommon.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: skrewler2
meant to say, being locally logged in OR root

No mention of requiring you to be root, or even logged in locally to the machine in the advisory. In fact, it mentions being able to remotely exploit this flaw. Please provide a link.

Also, how do you rationalize the fact nVidia sat on this vulnerability for 2 years? Or the fact it wasn't fixed in the release drivers at the time this vulnerability was released? Or how about the fact no one could fix this except nVidia?

EDIT: Just to be clear, the fact that the vulnerability exists is not a problem. People write code, and people make mistakes. The problem is that it took 2 years for this to come out to the public who are still WITHOUT A FIX. If this was an open source driver, it would have been fixed in 2k4.
 

skrewler2

Senior member
Aug 28, 2005
279
0
76
Originally posted by: n0cmonkey
Originally posted by: skrewler2
meant to say, being locally logged in OR root

No mention of requiring you to be root, or even logged in locally to the machine in the advisory. In fact, it mentions being able to remotely exploit this flaw. Please provide a link.

Also, how do you rationalize the fact nVidia sat on this vulnerability for 2 years? Or the fact it wasn't fixed in the release drivers at the time this vulnerability was released? Or how about the fact no one could fix this except nVidia?

EDIT: Just to be clear, the fact that the vulnerability exists is not a problem. People write code, and people make mistakes. The problem is that it took 2 years for this to come out to the public who are still WITHOUT A FIX. If this was an open source driver, it would have been fixed in 2k4.

I see you don't really get it:

If you don't already have root, you must have local access to the machine to be able to access the display

or to be remotely exploitable:

you have to be an idiot and run +xhost AND also forward all those ports from the router to the interweb

if you need references try reading this: http://www.oreilly.com/catalog/lunix5/
 

skrewler2

Senior member
Aug 28, 2005
279
0
76
oh and for all the fanbois, ATI's Linux support sucks and guess what, their drivers are closed source too!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
If you don't already have root, you must have local access to the machine to be able to access the display

I haven't tried it myself, but I remember reading that since it's an exploit in the glyph rendering it's possible that a webpage could trigger the bug by feeding the browser a specially crafted page. And that would make it remotely exploitable and wouldn't require root either.
 

jhu

Lifer
Oct 10, 1999
11,918
9
81
Originally posted by: skrewler2
oh and for all the fanbois, ATI's Linux support sucks and guess what, their drivers are closed source too!

sure, but at least there are open source drivers with 3d support for r100, r200, r300, and r430 based video cards. visual quality is rather poor on newer games due to the lack of some extensions, but for older games (quake 3, unreal tournament) it's quote usable.


Originally posted by: Nothinman
I haven't tried it myself, but I remember reading that since it's an exploit in the glyph rendering it's possible that a webpage could trigger the bug by feeding the browser a specially crafted page. And that would make it remotely exploitable and wouldn't require root either.

sure enough, here it is:

The NVIDIA Binary Graphics Driver for Linux is vulnerable to a
buffer overflow that allows an attacker to run arbitrary code as
root. This bug can be exploited both locally or remotely (via
a remote X client or an X client which visits a malicious web page).

A working proof-of-concept root exploit is included with this
advisory.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: skrewler2
I see you don't really get it:

No, you don't get it.

If you don't already have root, you must have local access to the machine to be able to access the display

That's bullshit. OpenSSH allows you to forward X sessions. Hell, you don't even need SSH. NOR DO YOU NEED ROOT. And last time I tried, the xhost ****** didn't affect this at all. Oops.

or to be remotely exploitable:

you have to be an idiot and run +xhost AND also forward all those ports from the router to the interweb

See my SSH comment. :)

if you need references try reading this: http://www.oreilly.com/catalog/lunix5/

There is nothing about this exploit on that page that I can find. Please point it out a little better. :)

oh and for all the fanbois, ATI's Linux support sucks and guess what, their drivers are closed source too!

There are open source drivers for both ATI and nVidia cards.