stack stressor can segfault because of shared alternative stack in sighandler
Bug #1845464 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stress-ng (Ubuntu) |
Fix Released
|
High
|
Colin Ian King |
Bug Description
It turns out that a shared mmap'd altstack is a really bad idea as it can be clobbered by child and parent causing segfaults on the return path out of the handler. Make the altstack privately mapped.
Changed in stress-ng (Ubuntu): | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Colin Ian King (colin-king) |
To post a comment you must log in.
Fix committed:
https:/ /kernel. ubuntu. com/git/ cking/stress- ng.git/ commit/ ?id=1df4ce68bb2 8ceeb4add7bcb18 f3e6bdae58eac4