[lkml]   [2015]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86/asm/entry/32: Reinstate clearing of pt_regs->r8..r11 on EFAULT path
On 06/08/2015 08:50 AM, Ingo Molnar wrote:
> * Denys Vlasenko <> wrote:
>> I broke this recently when I changed pt_regs->r8..r11 clearing logic
>> in INT 80 code path.
>> There is a branch from SYSENTER/SYSCALL code to INT 80 code:
>> if we fail to retrieve arg6, we return EFAULT. Before this patch,
>> in this case we don't clear pt_regs->r8..r11.
>> This patch fixes this. The resulting code is smaller and simpler.
> So how did you notice this bug - through actual info leak testing, or review?

By reviewing my own patch.

 \ /
  Last update: 2015-06-08 15:41    [W:0.041 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site