[Bug 272585] calling mprotect in an mmap-ed stack can affect non-target pages
Date: Fri, 25 Aug 2023 01:09:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272585
--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=6c79559bf0c641a7b06966fa419935ca50dddedf
commit 6c79559bf0c641a7b06966fa419935ca50dddedf
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-07-19 11:05:32 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-08-25 01:06:43 +0000
mmap(MAP_STACK): on stack grow, use original protection
PR: 272585
(cherry picked from commit 21e45c30c35c9aa732073f725924caf581c93460)
sys/vm/vm_map.c | 24 ++++++++++++++++--------
sys/vm/vm_map.h | 4 ++++
2 files changed, 20 insertions(+), 8 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.