zlacker

[parent] [thread] 4 comments
1. wtalli+(OP)[view] [source] 2022-10-02 17:55:08
> You could simply write crash info to some NVRAM or something, and then do a reboot. Then you can recover it during the next boot.

That works for some systems: those for which "some NVRAM or something" evaluates to a real device usable for that purpose. Not all Linux systems provide such a device.

> But there is no need to let userspace processes continue to run, which is exactly what Linux does.

Userspace processes usually contain state that the user would also like to be persisted before rebooting. If my WiFi driver crashes, there's nothing helpful or safer about immediately bringing down the whole system when it's possible to keep running with everything but networking still functioning.

replies(2): >>EdScho+v2 >>kaba0+Cb2
2. EdScho+v2[view] [source] 2022-10-02 18:10:06
>>wtalli+(OP)
> If my WiFi driver crashes, there's nothing helpful or safer about immediately bringing down the whole system when it's possible to keep running with everything but networking still functioning.

There have been various examples of WiFi driver bugs leading to security issues. Didn’t some Broadcom WiFi driver once have a bug in how it processed non-ASCII SSID names, allowing you to trigger remote code execution?

replies(1): >>wtalli+X5
◧◩
3. wtalli+X5[view] [source] [discussion] 2022-10-02 18:33:00
>>EdScho+v2
We're not talking about bugs in general, we're talking about bugs whose manifestation is caught by error checking already in the code. For device drivers, those situations can often be handled safely by simply disabling the device in question while leaving the rest of the OS running. I doubt the Broadcom bug you're thinking of triggered a WARN_ON() in the code path allowing for a remote code execution. (Also, the highest-profile Broadcom WiFi remote code execution bug I'm aware of was a bug in the WiFi chip's closed-source firmware, which doesn't even run on the same processor as the host Linux OS.)
4. kaba0+Cb2[view] [source] 2022-10-03 12:58:26
>>wtalli+(OP)
Isn’t that exactly the reason behind microkernel’s supposed superiority?
replies(1): >>wtalli+Wt3
◧◩
5. wtalli+Wt3[view] [source] [discussion] 2022-10-03 18:39:09
>>kaba0+Cb2
It's the primary claimed benefit to microkernels. But since Linux as it exists today already handles this case, it isn't a very strong argument in favor of microkernels.
[go to top]