Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (42m)  netbsd-10 (18d)  netbsd-9 (18d)  netbsd-8 (23d) 

2024-06-03 16:37:55 UTC Now

2014-08-11 14:02:14 UTC MAIN commitmail json YAML

1) 'error' is returned while it does not even hold an error code. Which
  means that zero is returned, and the kernel keeps mounting (and it
  probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
  check to ensure they are greater than zero. Since they are used to
  compute the size of two copyin's, a user can control the copied size
  by giving a negative value (like 128-2^29), and thus overwrite kernel
  memory.

Both triggerable from root only.

(maxv)