Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430328 - <x11-drivers/nvidia-drivers-295.71 <x11-drivers/nvidia-drivers-304.32 - privilege escalation through user space access to all memory regions through the VGA window
Summary: <x11-drivers/nvidia-drivers-295.71 <x11-drivers/nvidia-drivers-304.32 - privi...
Status: RESOLVED DUPLICATE of bug 429614
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: http://nvidia.custhelp.com/app/answer...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-07 13:40 UTC by Jeroen Roovers (RETIRED)
Modified: 2012-08-07 23:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2012-08-07 13:40:53 UTC
NVIDIA received notification of a security exploit that uses NVIDIA UNIX device files to map and program registers to redirect the VGA window. Through the VGA window, the exploit can access any region of physical system memory. This arbitrary memory access can be further exploited, for example, to escalate user privileges.

 Because any user with read and write access to the NVIDIA device files (which is needed to execute applications that use the GPU) could potentially exploit this vulnerability to gain access to arbitrary system memory, this vulnerability is classified as high risk by NVIDIA.

 NVIDIA is resolving this problem by blocking user-space access to registers that control redirection of the VGA window. Further, NVIDIA is also blocking user-space access to registers that control GPU-internal microcontrollers, which could be used to achieve a similar exploit.

 NVIDIA is committed to security and is working on more robust solutions to prevent malicious manipulations of GPUs.

 NVIDIA has released updated UNIX graphics drivers 295.71 and 304.32, which contain the fix.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-07 13:45:26 UTC
In related news:

*nvidia-drivers-302.17-r1 (05 Aug 2012)
*nvidia-drivers-295.59-r1 (05 Aug 2012)

  05 Aug 2012; Doug Goldstein <cardoe@gentoo.org>
  +files/nvidia-blacklist-vga-pmu-registers-256-304.diff,
  +nvidia-drivers-295.59-r1.ebuild, -nvidia-drivers-302.17.ebuild,
  +nvidia-drivers-302.17-r1.ebuild:
  Fix CVE-2012-xxxx. With access to /dev/nvidia* a malicious user could exploit
  the VGA window size to read/write from kernel memory and gain root access.
Comment 2 Sean Amoss (RETIRED) gentoo-dev Security 2012-08-07 21:57:29 UTC

*** This bug has been marked as a duplicate of bug 429614 ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-07 23:29:43 UTC
Oh right. Maintainers weren't CC'd then.