News for hackers. Stuff that matters.
Re:Gokrazy – Go Appliances by throwaway858 on Tuesday December 19, 2023 @03:16AM (#38693129)
The current implementation is not memory safe. Go uses 128 bit structs for interfaces and slices and assumes that they are updated atomically (when they are not).

It's possible to exploit this to read/write arbitrary memory and to execute arbitrary code. It appears that in practice this is very difficult so the issue is ignored.

https://blog.stalkr.net/2015/04/golang-data-races-to-break-m...

Re:Gokrazy – Go Appliances by assbuttbuttass on Tuesday December 19, 2023 @06:42AM (#38694422)
Data races can cause memory corruption. Make sure to run your test cases with --race