Re:Kioxia Demonstrates Raid Offload Scheme for NVMe Drives
by sroussey on Thursday August 15, 2024 @02:27PM
(#41258984)
So, could you upload malware to the drive that way?
[ Parent
| on HN ]
Re:Kioxia Demonstrates Raid Offload Scheme for NVMe Drives
by benlwalker on Thursday August 15, 2024 @02:32PM
(#41259026)
The eBPF programs are strictly bounded. And they're scoped to their own memory that you have to pre-load from the actual storage with separate commands issued from the CPU (presumably from the kernel driver which is doing access control checks). It's no different than uploading a shader to a GPU. You can burn resources but that's about the extent of the damage you can cause.
Re:Kioxia Demonstrates Raid Offload Scheme for NVMe Drives
by ChocolateGod on Thursday August 15, 2024 @05:20PM
(#41260488)
It was only a week ago that Google disclosed an exploit to get a root shell via eBPF.
https://bughunters.google.com/blog/6303226026131456/a-deep-d...
I wouldn't want random applications (or web pages) to be able to load eBPF modules in the same way they can send shaders to a GPU through a graphics driver.