lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55B7B590.8030600@plumgrid.com>
Date:	Tue, 28 Jul 2015 10:02:08 -0700
From:	Alexei Starovoitov <ast@...mgrid.com>
To:	Daniel Borkmann <daniel@...earbox.net>, davem@...emloft.net
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net] ebpf, x86: fix general protection fault when tail
 call is invoked

On 7/28/15 6:26 AM, Daniel Borkmann wrote:
> After patch, disassembly:
>
>    [...]
>    9e:   lea    0x80(%rsi,%rdx,8),%rax   <--- CONFIG_LOCKDEP/CONFIG_LOCK_STAT
>          48 8d 84 d6 80 00 00 00
>    a6:   mov    (%rax),%rax
>          48 8b 00
>    [...]
>
>    [...]
>    9e:   lea    0x50(%rsi,%rdx,8),%rax   <--- No CONFIG_LOCKDEP
>          48 8d 84 d6 50 00 00 00
>    a6:   mov    (%rax),%rax
>          48 8b 00
>    [...]
>
> Fixes: b52f00e6a715 ("x86: bpf_jit: implement bpf_tail_call() helper")
> Signed-off-by: Daniel Borkmann<daniel@...earbox.net>

Thanks for fixing it.
Most of my development is actually with LOCKDEP on, but I don't ever
turn LOCK_STAT on, so sadly missed this 48 byte increase of 80 byte
structure :(

Acked-by: Alexei Starovoitov <ast@...mgrid.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ