Bug 220485 - security.bsd.stack_guard_page can be set to a negative integer value
Summary: security.bsd.stack_guard_page can be set to a negative integer value
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-05 14:54 UTC by Shawn Webb
Modified: 2021-10-03 06:46 UTC (History)
2 users (show)

See Also:


Attachments
Demonstration program for PR220485 (1.56 KB, text/plain)
2021-10-03 06:44 UTC, Felix Johnson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Webb 2017-07-05 14:54:33 UTC
On FreeBSD 12-CURRENT and 11-STABLE, the security.bsd.stack_guard_page sysctl node can be set to a negative integer value. Doing so will cause applications to crash with SIGABRT.
Comment 1 Felix Johnson freebsd_triage 2021-10-03 06:44:26 UTC
Created attachment 228388 [details]
Demonstration program for PR220485
Comment 2 Felix Johnson freebsd_triage 2021-10-03 06:46:26 UTC
I can confirm this problem is reproduceable in 13-STABLE.