Page MenuHomeFreeBSD

Disallow invalid PT_GNU_STACK
ClosedPublic

Authored by emaste on Jul 20 2022, 4:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 2:20 PM
Unknown Object (File)
Fri, Nov 15, 11:36 AM
Unknown Object (File)
Oct 9 2024, 1:14 AM
Unknown Object (File)
Oct 7 2024, 3:41 AM
Unknown Object (File)
Oct 5 2024, 8:33 AM
Unknown Object (File)
Oct 2 2024, 5:18 PM
Unknown Object (File)
Oct 2 2024, 2:00 PM
Unknown Object (File)
Oct 2 2024, 7:15 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.