This article details two bugs discovered in the NVIDIA Linux Open GPU Kernel Modules and demonstrates how they can be exploited. The bugs can be triggered by an attacker controlling a local unprivileged process. Their security implications were confirmed via a proof of concept that achieves kernel read and write primitives.
Back in 2022, NVIDIA started distributing the Linux Open GPU Kernel Modules. Since 2024, using these modules is officially "the right move" for both consumer and server hardware. The driver provides multiple kernel modules, the bugs being found in nvidia.ko and nvidia-uvm.ko. They expose ioctls on device files, most of them being accessible to unprivileged users. These ioctls are meant to be used by NVIDIA's proprietary userland binaries and libraries. However, using the header files provided in the kernel modules repository as a basis, it's possible to make direct ioctl calls.
While manually probing the attack surface related to memory allocation and management we found two vulnerabilities. They were reported to NVIDIA and the vendor issued fixes in their NVIDIA GPU Display Drivers update of October 2025
https://blog.quarkslab.com/nvidia_gpu_kernel_vmalloc_exploit.html
[Ed. note: if you've ever wondered about the nitty-gritty details of exploits, TFA breaks down these use-after-free exploits and show how they work]
(Score: 3, Touché) by mrpg on Monday October 20, @09:33PM (3 children)
Must I hold a candle to my shames? -- William Shakespeare, "The Merchant of Venice"
(Score: 4, Informative) by mrpg on Monday October 20, @10:55PM (2 children)
Offtopic? Sure.
This is a beautiful and poignant line from William Shakespeare's play, "The Merchant of Venice."
The quote, "Must I hold a candle to my shames?" is spoken by the character Portia in Act II, Scene 7
The line is an idiomatic expression meaning: "Must I expose and illuminate my faults for everyone to see?" or "Must I openly confess my disgraces?"
Now imagine Envidia saying it, in the world, a stage where we all play a part.
(Score: 1) by mrpg on Wednesday October 29, @11:27PM (1 child)
offtopic
(Score: 2) by mrpg on Wednesday October 29, @11:29PM
don't mind me