cvs commit: src/sys/vm vm_fault.c

Matthew Dillon dillon at
Mon Oct 24 13:04:14 PDT 2005

dillon      2005/10/24 13:02:09 PDT

DragonFly src repository

  Modified files:
    sys/vm               vm_fault.c 
  Avoid a recursive kernel fault and subsequent double fault if the VM fault
  code gets a KVM map_entry with a NULL object.  Such entries exist in system
  maps managed directly by the kernel, such as the buffer cache and kernel_map.
  Instead, we check for the condition and panic immediately.  Programs which
  access /dev/[k]mem can hit this race/failure.
  Reported-by: =?ISO-8859-1?Q?Stefan_Kr=FCger?= <skrueger at xxxxxxxxxxxxxxxx>
  Revision  Changes    Path
  1.19      +9 -0      src/sys/vm/vm_fault.c

More information about the Commits mailing list