r/linux • • Oct 15 '25 • Popcorn 1

Kernel Oops! It's a kernel stack use-after-free: Exploiting NVIDIA's GPU Linux drivers

https://blog.quarkslab.com/nvidia_gpu_kernel_vmalloc_exploit.html
503 Upvotes

69 comments sorted by

View all comments

Show parent comments

-5

u/nullandkale Oct 15 '25

I mean it's got to have at least a PTX to SASS compiler. Let alone all the random hardware specific stuff.

Plus even if there's just a message passing interface that doesn't mean that you can't exploit memory leaks through it. My main point stands that porting this to rust is not just a thing you can do on a weekend. If it was why isn't there a version of this open source driver in rust already.

9

u/monocasa Oct 15 '25

I mean it's got to have at least a PTX to SASS compiler.

It does not, that's in user space.

Let alone all the random hardware specific stuff.

Most of that is the bit autogenned from headers. And like I said, it only supports relatively new cards.

Plus even if there's just a message passing interface that doesn't mean that you can't exploit memory leaks through it. My main point stands that porting this to rust is not just a thing you can do on a weekend. If it was why isn't there a version of this open source driver in rust already.

Nobody is saying that's doable in a weekend. There's a whole spectrum of engineering between the cases of "doable in a weekend" and "not worth doing".

-5

u/nullandkale Oct 15 '25

I don't think you or I or anyone else who actually knows what they are talking about thinks its doable in a weekend, but that's not what the sentiment is on reddit. The "rust..." commenter probably has never ported a line of c++ to rust before, let alone a few million

5

u/monocasa Oct 15 '25

You're the only one here talking about it being doable in a weekend or not.

→ More replies (0)