News for hackers. Stuff that matters.
Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by gnud on Monday February 22, 2016 @04:12PM (#11154339)
For this particular example, wouldn't this be best solved with a separate runlevel for "reboot into UEFI"? Stop all daemons, remount all normal filesystems read-only, remount UEFI RW, write variable and reboot.
Re:Linux 4.5-rc5: efivarfs fixed to avoid “rm -rf /” brickin... by EmanueleAina on Tuesday February 23, 2016 @04:40AM (#11157697)
Possibly, but what happens if a faulty script does a `rm` too much in that short time window?

The kernel fix prevents that, using mount flags alone only restrict the vulnerability but it doesn't make it go away.