From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752146AbdL0S34 (ORCPT ); Wed, 27 Dec 2017 13:29:56 -0500 Received: from mail-pl0-f49.google.com ([209.85.160.49]:46456 "EHLO mail-pl0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145AbdL0S3y (ORCPT ); Wed, 27 Dec 2017 13:29:54 -0500 X-Google-Smtp-Source: ACJfBotxH5HRIWuZKMm/WtlBDpyieIJcUZS983w8eRnaNi88lnX+Xj152av730qhwg17PfAxmg5gC63FMUv6nL3TBMw= MIME-Version: 1.0 In-Reply-To: <20171130091724.GC5451@zzz.localdomain> References: <001a113f2cd26f3532055f0f4a79@google.com> <20171130091724.GC5451@zzz.localdomain> From: Dmitry Vyukov Date: Wed, 27 Dec 2017 19:29:32 +0100 Message-ID: Subject: Re: WARNING: kernel stack regs has bad 'bp' value (2) To: Eric Biggers Cc: syzbot , David Miller , Herbert Xu , "H. Peter Anvin" , linux-crypto@vger.kernel.org, LKML , syzkaller-bugs@googlegroups.com, Thomas Gleixner , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 30, 2017 at 10:17 AM, Eric Biggers wrote: > On Tue, Nov 28, 2017 at 10:36:01AM -0800, syzbot wrote: >> WARNING: kernel stack regs at ffff8801c1e5f468 in syzkaller196611:6199 has >> bad 'bp' value 0000000000000001 >> unwind stack type:0 next_sp: (null) mask:0x6 graph_idx:0 >> ffff8801db4075a8: ffff8801db407630 (0xffff8801db407630) >> ffff8801db4075b0: ffffffff8128a84e (__save_stack_trace+0x6e/0xd0) >> ffff8801db4075b8: 0000000000000000 ... >> ffff8801db4075c0: ffff8801c1e58000 (0xffff8801c1e58000) >> ffff8801db4075c8: ffff8801c1e60000 (0xffff8801c1e60000) >> ffff8801db4075d0: 0000000000000000 ... >> ffff8801db4075d8: 0000000000000006 (0x6) >> ffff8801db4075e0: ffff8801c1e4e000 (0xffff8801c1e4e000) >> ffff8801db4075e8: 0000010100000000 (0x10100000000) >> ffff8801db4075f0: 0000000000000000 ... >> ffff8801db4075f8: ffff8801db4075a8 (0xffff8801db4075a8) >> ffff8801db407600: ffffffff8134ff7d (__twofish_enc_blk_3way+0x1b1d/0x1b30) > > Looks like the x86_64 "3 way" version of Twofish (twofish-x86_64-asm_64-3way.S) > needs to be updated to not use %rbp. This is what is supposed to be fixed with "crypto: x86/twofish-3way - Fix %rbp usage", right? Was it merged anywhere? This is one of top crashers with 15K crashes.