[haiku-bugs] [Haiku] #14911: [VM] Block userland from mmap'ing the first page (NULL to B_PAGE_SIZE)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 19 Feb 2019 04:49:27 -0000

#14911: [VM] Block userland from mmap'ing the first page (NULL to B_PAGE_SIZE)
---------------------------+------------------------------
 Reporter:  waddlesplash   |        Owner:  nobody
     Type:  bug            |       Status:  new
 Priority:  normal         |    Milestone:  Unscheduled
Component:  System/Kernel  |      Version:  R1/Development
 Keywords:                 |   Blocked By:
 Blocking:                 |  Has a Patch:  0
 Platform:  All            |
---------------------------+------------------------------
 This is for security reasons, as then if the kernel tries to dereference
 NULL, it will always cause a page fault, instead of being potentially
 exploitable by a malicious application.

 The only possible concern is BeOS compatibility. Did any applications do
 this intentionally? Do we care?

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14911>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: