jones_supa writes: There is some new information about the Samsung laptop bricking UEFI bug in Matthew Garrett's blog. It can be triggered under Windows too, but the chain of events that causes the problem under Linux is as follows. The samsung-laptop driver needs to write certain magic values in order to trigger some system management code that actually performs the requested change. This is unusual in this day and age, but not unique. It turns out that it wasn't the writes that caused the problem, it was what happened next. Performing the writes triggered a hardware error of some description. There's code in the Linux kernel to make logging them easier on UEFI systems. Whenever a severe error is encountered, the kernel copies recent messages to the UEFI variable storage space. Unfortunately, it turns out that some Samsung laptops will fail to boot if too much of the variable storage space is used.
"Necessity is the mother of invention" is a silly proverb. "Necessity
is the mother of futile dodges" is much nearer the truth.
-- Alfred North Whitehead