Not a security vulnerability. We need to reuse thread stacks for performance reasons.
Comment 3Riccardo Schirone
2019-11-20 10:31:18 UTC
This is not a security vulnerability, but just a way to exploit a program that uses pthread_create. This requires an already vulnerable application with an attacker that has already compromised it. The attacker would need to have a way to leak an address in the stack/heap of a thread and a primitive to write data there (e.g. buffer overflow). This could be considered just hardening, as said in the upstream bug.