From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F21C1C32750 for ; Tue, 13 Aug 2019 13:12:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C3D532067D for ; Tue, 13 Aug 2019 13:12:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="OjOL/iAo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728978AbfHMNMZ (ORCPT ); Tue, 13 Aug 2019 09:12:25 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:34683 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728873AbfHMNMZ (ORCPT ); Tue, 13 Aug 2019 09:12:25 -0400 Received: by mail-pg1-f193.google.com with SMTP id n9so45024837pgc.1 for ; Tue, 13 Aug 2019 06:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HoCs3diV1IdPdJ2njln91xJmBX260EjkKsxpfI3yW5I=; b=OjOL/iAopQf4z9T08t/Rop773G+krgwPYMPJUN+2MsuBdXFkaRQDDPKFlETDFtKgSV 6GJZ0FOiRmnJpZmxNYkZ81N1cFbd7t/OWxsalw46WLPd65E6bOCpxA0joKh+XL2QE3Av XnkUrspBZMtsBhjevWoiMmZrWFHaDgdOFU1V/MQxVumBnqEY3VqT7KhNJkw1/s/NiV/M Dt0MssgKv31RGWyFcZKmoY4+qyWX2/qbtb/aQ3kK5TiWIvwTTFvbmUU30lVU+s/a6sYF tMAh7SYrJPkCz6I6nQWhiQYzqTR4iWBwkS3Xeo09NUWEqiM0TGDSboOic/gQ4y1GSlid CQLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HoCs3diV1IdPdJ2njln91xJmBX260EjkKsxpfI3yW5I=; b=V074AYFvTCaS/rYMgeRkMhsblCgt2Tl1EO00hr2KLRklN6NrQ+I0TwRy1I2QUrLekq 0joNygPAfHRyznNoEvIQbzwN33bqAKe2QA1SBIRiPFYg+wY6W5yyd2by/pb5e9CWROvn voBZiigYMFCzCJ5iIX+CqN6uzLf3xk6ZGvoRxICbKhukFj9T4iUfR4TS+t6yJrmtq9im p22g7SxApgbIatbdvLCRE8sWG2aPDH1so5Q3S5C75RT0vpLeHfFiDat2DOnbwO80ZPeJ itr3hAoyE2lK+GoE6KM+nSsSJ8PUaGOrwLgrp3CwY227ey3qD3fDYJZrgWB4TbOgP0Ql un3Q== X-Gm-Message-State: APjAAAXwe6Zfjxt6tLx4Bvw2/Hy61K2CNHRsg6y9SzmKmx+y87cacNdb rlcoLOhGlpONQ2qeQSeSJPj7XTjd3sVcwMq5/9tDdA== X-Google-Smtp-Source: APXvYqyfioHdFjRUzw1giyYUcj53pYpy22fUx5HdcF9lQeNxKNdSfgnuZynwvYFTGvW5fHVTwyK2vZxoqIfAu5WQ76Q= X-Received: by 2002:aa7:9e9a:: with SMTP id p26mr41767316pfq.25.1565701944155; Tue, 13 Aug 2019 06:12:24 -0700 (PDT) MIME-Version: 1.0 References: <000000000000b69261058e589a1b@google.com> In-Reply-To: <000000000000b69261058e589a1b@google.com> From: Andrey Konovalov Date: Tue, 13 Aug 2019 15:12:13 +0200 Message-ID: Subject: Re: INFO: trying to register non-static key in usbtouch_open To: syzbot Cc: LKML , USB list , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 23, 2019 at 2:48 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit: 6a3599ce usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output: https://syzkaller.appspot.com/x/log.txt?x=16330920600000 > kernel config: https://syzkaller.appspot.com/x/.config?x=700ca426ab83faae > dashboard link: https://syzkaller.appspot.com/bug?extid=f9c21a30eb9d374e30c1 > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17e5ee78600000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10e4a74c600000 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+f9c21a30eb9d374e30c1@syzkaller.appspotmail.com > > INFO: trying to register non-static key. > the code is fine but needs lockdep annotation. > turning off the locking correctness validator. > CPU: 0 PID: 1737 Comm: syz-executor481 Not tainted 5.2.0-rc6+ #15 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > Call Trace: > __dump_stack /lib/dump_stack.c:77 [inline] > dump_stack+0xca/0x13e /lib/dump_stack.c:113 > assign_lock_key /kernel/locking/lockdep.c:775 [inline] > register_lock_class+0x11ae/0x1240 /kernel/locking/lockdep.c:1084 > __lock_acquire+0x11d/0x5340 /kernel/locking/lockdep.c:3674 > lock_acquire+0x100/0x2b0 /kernel/locking/lockdep.c:4303 > __mutex_lock_common /kernel/locking/mutex.c:926 [inline] > __mutex_lock+0xf9/0x12b0 /kernel/locking/mutex.c:1073 > usbtouch_open+0x101/0x310 /drivers/input/touchscreen/usbtouchscreen.c:1537 > input_open_device+0x170/0x280 /drivers/input/input.c:607 > evdev_open_device /drivers/input/evdev.c:433 [inline] > evdev_open+0x3fe/0x510 /drivers/input/evdev.c:518 > chrdev_open+0x219/0x5c0 /fs/char_dev.c:413 > do_dentry_open+0x497/0x1040 /fs/open.c:778 > do_last /fs/namei.c:3416 [inline] > path_openat+0x1430/0x3ff0 /fs/namei.c:3533 > do_filp_open+0x1a1/0x280 /fs/namei.c:3563 > do_sys_open+0x3c0/0x580 /fs/open.c:1070 > do_syscall_64+0xb7/0x560 /arch/x86/entry/common.c:301 > entry_SYSCALL_64_after_hwframe+0x49/0xbe > RIP: 0033:0x4011f0 > Code: 01 f0 ff ff 0f 83 00 0b 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f > 44 00 00 83 3d 9d 4b 2d 00 00 75 14 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff > ff 0f 83 d4 0a 00 00 c3 48 83 ec 08 e8 3a 00 00 00 > RSP: 002b:00007ffdc8662728 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 > RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004011f0 > RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00007ffdc8662730 > RBP: 6666666666666667 R08: 000000000000000f R09: 0000000000000023 > R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000402150 > R13: 00000000004021e0 R14: 0000000000000000 R15: 0000000000000000 #syz dup: WARNING in usbtouch_open > > > --- > This bug is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this bug report. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > syzbot can test patches for this bug, for details see: > https://goo.gl/tpsmEJ#testing-patches