systrap: fix TOCTOU on ThreadID in NotifyInterrupt · google/gvisor@2a22300

NotifyInterrupt reads ThreadID from guest-writable shared memory twice: once to check for invalidThreadID and again after acquiring the lock for the map lookup. A malicious guest can modify ThreadI...

GitHub