You are not logged in.

#1 2007-08-22 17:51:32

phildg
Member
Registered: 2006-03-10
Posts: 146

Nvidia Security Issue

Hi,

I've just read about insecure file permissions for /dev/nvidia* with gentoo (http://secunia.com/advisories/26497/). So I thought I'd have a quick glance at /dev on my system for the sake of curiosity:

$ ls -l /dev/nvidia*
crw-rw-rw- 1 root root  195,   0 2007-08-19 16:50 /dev/nvidia0
crw-rw-rw- 1 root root  195, 255 2007-08-19 16:50 /dev/nvidiactl

I'd say archlinux has the same problem. After a bit of searching I found a workaround in the gentoo forums, which was to add the following lines to /etc/modprobe.conf:

options nvidia NVreg_DeviceFileUID=0
options nvidia NVreg_DeviceFileGID=91
options nvidia NVreg_DeviceFileMode=0660

After removing and modprobing nvidia and restarting X the permissions are looking much more sane:

$ ls -l /dev/nvidia*
crw-rw---- 1 root video 195,   0 2007-08-19 16:50 /dev/nvidia0
crw-rw---- 1 root video 195, 255 2007-08-19 16:50 /dev/nvidiactl

Anyway, I'm not really sure what to do next, I've solved the problem for myself and brought it to the attention of the forum.

Offline

#2 2007-08-22 18:00:34

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Nvidia Security Issue

phildg wrote:

Anyway, I'm not really sure what to do next, I've solved the problem for myself and brought it to the attention of the forum.

Register on the Bugtracker and post a bug report there.  It's far more likely to get fixed in our packages with a bug report open.

Offline

#3 2007-08-22 18:22:11

phildg
Member
Registered: 2006-03-10
Posts: 146

Re: Nvidia Security Issue

Thanks.


Done.

Offline

#4 2007-08-22 18:36:47

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Nvidia Security Issue

Good stuff - thanks for filling it out.  In case anyone's looking for the report, it's at http://bugs.archlinux.org/task/7876

Offline

#5 2007-08-22 20:28:52

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: Nvidia Security Issue

/me edits his /etc/modprobe.conf

Thanks for posting at the forums too.


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

Board footer

Powered by FluxBB