cvs commit: src/sys/vm vm_fault.c

Matthew Dillon dillon at crater.dragonflybsd.org
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 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_fault.c.diff?r1=1.18&r2=1.19&f=u





More information about the Commits mailing list