[haiku-bugs] Re: [Haiku] #12943: BFS ioctl BFS_IOCTL_UPDATE_BOOT_BLOCK integer overflow leading to code execution

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 06 Sep 2016 13:19:04 -0000

#12943: BFS ioctl BFS_IOCTL_UPDATE_BOOT_BLOCK integer overflow leading to code
execution
--------------------------------+----------------------------
   Reporter:  thexyz            |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  File Systems/BFS  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by pulkomandy):

(Is it even a good idea to let anyone update the boot block?)

 This is used by {{{makebootable}}} to make the system bootable. This can
 be removed if we implement getting the partition offset from the BIOS
 instead of hardcoding it inside the partition boot code.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12943#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: