1. 08 Nov, 2005 1 commit
    • Al Viro's avatar
      [PATCH] CVE-2005-2709 sysctl unregistration oops · e4e04112
      Al Viro authored
      You could open the /proc/sys/net/ipv4/conf/<if>/<whatever> file, then
      wait for interface to go away, try to grab as much memory as possible in
      hope to hit the (kfreed) ctl_table.  Then fill it with pointers to your
      function. Then do read from file you've opened and if you are lucky,
      you'll get it called as ->proc_handler() in kernel mode.
      
      So this is at least an Oops and possibly more.  It does depend on an
      interface going away though, so less of a security risk than it would
      otherwise be.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      e4e04112
  2. 28 Oct, 2005 1 commit
  3. 27 Oct, 2005 6 commits
  4. 26 Oct, 2005 14 commits
  5. 25 Oct, 2005 5 commits
  6. 24 Oct, 2005 11 commits
  7. 23 Oct, 2005 2 commits
    • Roland Dreier's avatar
      [PATCH] ib: mthca: Always re-arm EQs in mthca_tavor_interrupt() · 75eeec2f
      Roland Dreier authored
      We should always re-arm an event queue's interrupt in
      mthca_tavor_interrupt() if the corresponding bit is set in the event cause
      register (ECR), even if we didn't find any entries in the EQ.  If we don't,
      then there's a window where we miss an EQ entry and then get stuck because
      we don't get another EQ event.
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      75eeec2f
    • Andrew Morton's avatar
      [PATCH] inotify/idr leak fix · 8d3b3591
      Andrew Morton authored
      Fix a bug which was reported and diagnosed by
      Stefan Jones <stefan.jones@churchillrandoms.co.uk>
      
      IDR trees include a cache of idr_layer objects.  There's no way to destroy
      this cache, so when we discard an overall idr tree we end up leaking some
      memory.
      
      Add and use idr_destroy() for this.  v9fs and infiniband also need to use
      idr_destroy() to avoid leaks.
      
      Or, we make the cache global, like radix_tree_preload().  Which is probably
      better.  Later.
      
      Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Robert Love <rml@novell.com>
      Cc: John McCutchan <ttb@tentacle.dhs.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      8d3b3591