upvote
These are the kinds of bugs I am relieved to see found. There is no immediate urgency, just update your system regularly and we are all safer having it patched.
reply
Lots of details missing, though: How did they go from being able to rewrite just one byte in kernel memory to arbitrary code execution?
reply
The exploit discloses up to 64 bytes of kernel stack, and allows the attacker to zero (IIUC) the two least significant bits at any arbitrary offset. So you can, in essence, re-target a pointer to attacker-controlled data. My understanding is they forged some internal structures to amplify that two-bit write into a more powerful write primitive.
reply
Given the number of devices out in the real world that run Linux--many that aren't updated often--this can be serious!

Odoo, uniCenta and Floreant POS systems are used in restaurants and hotels and you can walk right up to the little boxes on the reception desk and shove a USB drive in.

reply
> Linux 6.5 and later

Maybe in this case it happens to be better if they're out of date!

reply
Would this work over WebUSB?
reply
WebUSB lets web apps talk to USB devices that are attached to the host running the browser. It doesn't have the browser present an emulated USB device to the kernel (at least not to my knowledge).
reply
Nothing stopping webUSB flashing the firmware of a device to run this exploit though presumably.
reply
If you give the site access to your device, sure. But ultimately so could any other firmware updater.
reply
Which is part of why Mozilla has been so bearish on WebUSB/MIDI/etc.

Performing software updates of essentially soft USB devices in a microcontroller is pretty much the primary use case of WebUSB currently.

reply
not really, WebUSB is on the other side of (it allows you to interact with USB devices, it can not emulate a malicious device)

you would need to use WebUSB to hack a usb device connected to the computer, overwrite it's firmware and then make it restart so that it can "hack back" into the computer

which to be fair isn't impossible, but seems unlikely to be an relevant attack vector

reply
Oh but surely next thing WebUSB people will demand would be usb host browser-side.
reply