1. 27 4月, 2006 9 次提交
  2. 26 4月, 2006 6 次提交
  3. 25 4月, 2006 1 次提交
  4. 24 4月, 2006 1 次提交
  5. 23 4月, 2006 3 次提交
  6. 22 4月, 2006 5 次提交
  7. 21 4月, 2006 12 次提交
  8. 20 4月, 2006 3 次提交
    • A
      [PATCH] i386/x86-64: Fix x87 information leak between processes · 18bd057b
      Andi Kleen 提交于
      AMD K7/K8 CPUs only save/restore the FOP/FIP/FDP x87 registers in FXSAVE
      when an exception is pending.  This means the value leak through
      context switches and allow processes to observe some x87 instruction
      state of other processes.
      
      This was actually documented by AMD, but nobody recognized it as
      being different from Intel before.
      
      The fix first adds an optimization: instead of unconditionally
      calling FNCLEX after each FXSAVE test if ES is pending and skip
      it when not needed. Then do a x87 load from a kernel variable to
      clear FOP/FIP/FDP.
      
      This means other processes always will only see a constant value
      defined by the kernel in their FP state.
      
      I took some pain to make sure to chose a variable that's already
      in L1 during context switch to make the overhead of this low.
      
      Also alternative() is used to patch away the new code on CPUs
      who don't need it.
      
      Patch for both i386/x86-64.
      
      The problem was discovered originally by Jan Beulich. Richard
      Brunner provided the basic code for the workarounds, with contribution
      from Jan.
      
      This is CVE-2006-1056
      
      Cc: richard.brunner@amd.com
      Cc: jbeulich@novell.com
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      18bd057b
    • P
      [PATCH] Switch Kprobes inline functions to __kprobes for sparc64 · 07fab8da
      Prasanna S Panchamukhi 提交于
      Andrew Morton pointed out that compiler might not inline the functions
      marked for inline in kprobes.  There-by allowing the insertion of probes
      on these kprobes routines, which might cause recursion.
      
      This patch removes all such inline and adds them to kprobes section
      there by disallowing probes on all such routines.  Some of the routines
      can even still be inlined, since these routines gets executed after the
      kprobes had done necessay setup for reentrancy.
      Signed-off-by: NPrasanna S Panchamukhi <prasanna@in.ibm.com>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      07fab8da
    • P
      [PATCH] Switch Kprobes inline functions to __kprobes for ia64 · 3ca269d8
      Prasanna S Panchamukhi 提交于
      Andrew Morton pointed out that compiler might not inline the functions
      marked for inline in kprobes.  There-by allowing the insertion of probes
      on these kprobes routines, which might cause recursion.
      
      This patch removes all such inline and adds them to kprobes section
      there by disallowing probes on all such routines.  Some of the routines
      can even still be inlined, since these routines gets executed after the
      kprobes had done necessay setup for reentrancy.
      Signed-off-by: NPrasanna S Panchamukhi <prasanna@in.ibm.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3ca269d8
新手
引导
客服 返回
顶部