Page MenuHomeFreeBSD

Disallow invalid PT_GNU_STACK
ClosedPublic

Authored by emaste on Jul 20 2022, 4:25 PM.
Tags
None
Referenced Files
F115710266: D35867.diff
Sun, Apr 27, 12:07 PM
Unknown Object (File)
Fri, Apr 25, 5:26 AM
Unknown Object (File)
Wed, Apr 23, 9:48 PM
Unknown Object (File)
Tue, Apr 22, 2:53 PM
Unknown Object (File)
Mon, Apr 21, 9:11 AM
Unknown Object (File)
Sat, Apr 19, 9:10 PM
Unknown Object (File)
Tue, Apr 15, 9:31 AM
Unknown Object (File)
Tue, Apr 15, 8:21 AM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste created this revision.
This revision is now accepted and ready to land.Jul 20 2022, 4:31 PM

Did you looked at where the reported 'hang' occur? I suspect the actual bug is elsewere. I would expect that copyout_strings() would just error out, could we leak the vnode lock?

I admit I did not look further and have not created a binary with corrupted PT_GNU_STACK [also asked the original submitter in PR, but got no response], but I will try to take a look either before committing this or with it reverted.

I will try to take a look either before committing this or with it reverted.

I did not get a chance to do it yet, will eventually try reverting it and continuing to investigate.

This revision was automatically updated to reflect the committed changes.