aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/init_sysent.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-09-26 15:35:35 +0000
committerMark Johnston <markj@FreeBSD.org>2019-09-26 15:35:35 +0000
commit55248d32f20af9f3ef5061a0fcf5f886b481ba6c (patch)
tree59ef739f78d6259beff53c3227869b36844384b8 /sys/kern/init_sysent.c
parent9afb12bab41f6a715f171e00e5099f93a93252be (diff)
Fix handling of invalid pages in exec_map_first_page().
exec_map_first_page() would unconditionally free an unbacked, invalid page from the executable image. However, it is possible that the page is wired, in which case it is incorrect to free the page, so check for additional wirings first. Reported by: syzkaller Tested by: pho Reviewed by: kib MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21767
Notes
Notes: svn path=/head/; revision=352748
Diffstat (limited to 'sys/kern/init_sysent.c')
0 files changed, 0 insertions, 0 deletions