logoalt Hacker News

kmeisthaxtoday at 4:54 PM3 repliesview on HN

...huh, I was wondering why serial machine code prankster xoreaxeaxeax was keeping lists of extremely long-running instructions.

Hopefully this is at least only possible in kernel mode, right?

Right?!


Replies

tptacektoday at 5:31 PM

Is it really a long running instruction? I mean, obviously yes, but what makes it slow is that it's doing an MMIO copy from a slow source. It's like a read(2) system call being "slow" because the fd is associated with a socket to the moon.

show 2 replies
xxportoday at 4:59 PM

Maybe with vfio/igb_uio/uio_pci_generic? Still root level access.

PunchyHamstertoday at 7:39 PM

Given that you can connect essentially PCIe devices thru USB it is probably exploitable?

Find out which device is accessible to user and does MMIO, emulate it on FPGA, make it slooooooooow. All it needs to do is for driver to trigger a "right" access". GPU comes to mind