Skip to content
  1. Dec 24, 2008
  2. Dec 21, 2008
    • Thomas Gleixner's avatar
      Null pointer deref with hrtimer_try_to_cancel() · 3d44cc3e
      Thomas Gleixner authored
      Impact: Prevent kernel crash with posix timer clockid CLOCK_MONOTONIC_RAW
      
      commit 2d42244a
      
       (clocksource:
      introduce CLOCK_MONOTONIC_RAW) introduced a new clockid, which is only
      available to read out the raw not NTP adjusted system time.
      
      The above commit did not prevent that a posix timer can be created
      with that clockid. The timer_create() syscall succeeds and initializes
      the timer to a non existing hrtimer base. When the timer is deleted
      either by timer_delete() or by the exit() cleanup the kernel crashes.
      
      Prevent the creation of timers for CLOCK_MONOTONIC_RAW by setting the
      posix clock function to no_timer_create which returns an error code.
      
      Reported-and-tested-by: default avatarEric Sesterhenn <snakebyte@gmx.de>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarOleg Nesterov <oleg@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3d44cc3e
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs · ab653872
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
        fs/9p: change simple_strtol to simple_strtoul
        9p: convert d_iname references to d_name.name
        9p: Remove potentially bad parameter from function entry debug print.
      ab653872
    • Linus Torvalds's avatar
      Merge branch 'x86-fixes-for-linus' of... · e6a997ed
      Linus Torvalds authored
      Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        x86: fix resume (S2R) broken by Intel microcode module, on A110L
        x86 gart: don't complain if no AMD GART found
        AMD IOMMU: panic if completion wait loop fails
        AMD IOMMU: set cmd buffer pointers to zero manually
        x86: re-enable MCE on secondary CPUS after suspend/resume
        AMD IOMMU: allocate rlookup_table with __GFP_ZERO
      e6a997ed
  3. Dec 20, 2008
  4. Dec 19, 2008
  5. Dec 18, 2008