Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4087602yba; Wed, 17 Apr 2019 04:27:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGyW+Fa9EopKt1YDYJoj5XeQQ3ACHJE1V/pmXRYQgdcTMTHS8JhXqsnCvSDCV/7B4UF68P X-Received: by 2002:a17:902:f209:: with SMTP id gn9mr40463637plb.109.1555500435188; Wed, 17 Apr 2019 04:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555500435; cv=none; d=google.com; s=arc-20160816; b=dNUGr18vIdEXjFh2KTggwK/eR2ZXySy3UgD0KEtKZ78nKKRuYuer/a+vhigg667WX2 szTBazqcn2zQ0CilKv6jsBT83hHLZZ5g2OgV35eOVgDvGJb5aCQ6OOHHKBfRSWlruQEf QNr3BRSvgWNeSouclGk2uND1POM8OS7+SsEB7MXSmZxnuhut3pontiiHxuG7w5H0W+w1 8PappL2vl9nRzGJo+pqE+MjIYRx0aCbmJ6aZ4XWdIxjXPKl04GSYAFpyjE9B/l/Tawbf xvLDOBAKRXOwqPBbi6BmincOEkUp2X0u1T2fhGuuEyydVuKeXPM/jtcRLuTgTzl8J2BR SjFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version; bh=CiNG3QcYd2NaOcGlrHf/53lOaTBmL2Vq16/ZLUz4bHg=; b=Xe4U1lerIjhcHVr5EHouawFom6X7pBJkVkAWkLx5KUflhFPMkNh3XSmidmd2LDT47Q TSmdErHO0+deQZXmCqEjZBOjCdmKcdXs0jxrTbneSmzhFWh77Y9CXlSQoJL7NK9l5E29 aw6TaPD6X3cHpaqrVlO5vHT/bLSMn8YUETMZSp8ojMK4rs1hzvsYT31ot1tAxH9ptZ8o vGFSydIzIB63zt5kY0vfestgs+74rz9AmWB24OOyepFzHJVO3pbqnUaohfryODflLuET aNYUJWQVmavfWbTQzMDn5M2fn9a2VQ6dctlWYO8Dk5Gl661g0yqz6Wrm6Mgx3ly7WCBn 1ueA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cc18si54205170plb.363.2019.04.17.04.27.00; Wed, 17 Apr 2019 04:27:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731963AbfDQL0H (ORCPT + 99 others); Wed, 17 Apr 2019 07:26:07 -0400 Received: from mail-io1-f72.google.com ([209.85.166.72]:36486 "EHLO mail-io1-f72.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731745AbfDQL0G (ORCPT ); Wed, 17 Apr 2019 07:26:06 -0400 Received: by mail-io1-f72.google.com with SMTP id a7so19254285ioq.3 for ; Wed, 17 Apr 2019 04:26:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=CiNG3QcYd2NaOcGlrHf/53lOaTBmL2Vq16/ZLUz4bHg=; b=tXjAxgJHbJyoYEINHy14CWew1hkesbf0FByk7U1vk4PiddQ8uCXBUkVUp2r0P5Y3Q0 Lpt6+Zd7Ifu5PMT901WqHyOX0EbQEa7EJy+qECpIGVKUX9jtlm8nrVwmK3H2olbSPqrR giEX+ExNz8mv2qibtzzI+KmtyudalS+HQR1AqCJPPS3/o78OXsftGFuDwukEoFYyM8yx tXA3EecIsFm9sNGHQ9z2bC1Nwoaj+daB95WCWRBrMrJLiTKtF87vVRSHOqUwU01SLk0a aGSAefJkBiXebInt5wHBPzihugAafmXhl4IgB5+7e6Rk4/mdwBRxmwyl84O3CHF14/W9 OaVw== X-Gm-Message-State: APjAAAW298lD2ZizSKY5wmCBLho26/tMWFA3iFZpSDDU3XxU+jShZTG3 Tykju2LbJYwexmAsmHBbf3UD2KhP6fvBeumu1gyPE7ebjU24 MIME-Version: 1.0 X-Received: by 2002:a24:68c2:: with SMTP id v185mr35037535itb.94.1555500365626; Wed, 17 Apr 2019 04:26:05 -0700 (PDT) Date: Wed, 17 Apr 2019 04:26:05 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000bdc2e30586b826ce@google.com> Subject: general protection fault in __dev_printk From: syzbot To: andreyknvl@google.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, rafael@kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: 9a33b369 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan/tree/usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=1014aacb200000 kernel config: https://syzkaller.appspot.com/x/.config?x=23e37f59d94ddd15 dashboard link: https://syzkaller.appspot.com/bug?extid=2eb9121678bdb36e6d57 compiler: gcc (GCC) 9.0.0 20181231 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1339c81d200000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+2eb9121678bdb36e6d57@syzkaller.appspotmail.com usb 2-1: USB disconnect, device number 5 usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 yurex 2-1:0.150: yurex_interrupt - unknown status received: -71 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN PTI CPU: 1 PID: 5497 Comm: kworker/u4:7 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:dev_name include/linux/device.h:1087 [inline] RIP: 0010:__dev_printk+0x3f/0x215 drivers/base/core.c:3208 Code: 89 f5 53 e8 6e fe 1b fc 48 85 ed 0f 84 c9 01 00 00 e8 60 fe 1b fc 48 8d 7d 50 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <80> 3c 02 00 74 05 e8 11 0f 53 fc 4c 8b 7d 50 4d 85 ff 75 28 e8 33 RSP: 0018:ffff8880ad107970 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffffed1015a20f35 RCX: 00000000ffffffed RDX: 0000000000000010 RSI: ffffffff8555c710 RDI: 0000000000000080 RBP: 0000000000000030 R08: ffff8880997ae200 R09: ffffed1015a24fc9 R10: ffffed1015a24fc8 R11: ffff8880ad127e47 R12: ffffffff8f031080 R13: ffff8880ad1079c8 R14: 0000000000000000 R15: ffff88809b373700 FS: 0000000000000000(0000) GS:ffff8880ad100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3b5b78b000 CR3: 00000000a496c000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _dev_err+0xdc/0x10e drivers/base/core.c:3251 yurex_interrupt.cold+0x12e/0x13d drivers/usb/misc/yurex.c:183 __usb_hcd_giveback_urb+0x1f4/0x470 drivers/usb/core/hcd.c:1758 usb_hcd_giveback_urb+0x346/0x400 drivers/usb/core/hcd.c:1823 dummy_timer+0x100b/0x32c0 drivers/usb/gadget/udc/dummy_hcd.c:1968 call_timer_fn+0x161/0x5f0 kernel/time/timer.c:1325 expire_timers kernel/time/timer.c:1362 [inline] __run_timers kernel/time/timer.c:1681 [inline] __run_timers kernel/time/timer.c:1649 [inline] run_timer_softirq+0x58b/0x1400 kernel/time/timer.c:1694 __do_softirq+0x22a/0x8cd kernel/softirq.c:293 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1027 do_softirq.part.0+0x60/0x70 kernel/softirq.c:338 do_softirq kernel/softirq.c:330 [inline] __local_bh_enable_ip+0x183/0x1b0 kernel/softirq.c:190 spin_unlock_bh include/linux/spinlock.h:374 [inline] batadv_nc_purge_paths+0x26b/0x380 net/batman-adv/network-coding.c:482 batadv_nc_worker+0x2d4/0x770 net/batman-adv/network-coding.c:733 process_one_work+0x90f/0x1580 kernel/workqueue.c:2269 worker_thread+0x9b/0xe20 kernel/workqueue.c:2415 kthread+0x313/0x420 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace 0f952022fa10fc7b ]--- RIP: 0010:dev_name include/linux/device.h:1087 [inline] RIP: 0010:__dev_printk+0x3f/0x215 drivers/base/core.c:3208 Code: 89 f5 53 e8 6e fe 1b fc 48 85 ed 0f 84 c9 01 00 00 e8 60 fe 1b fc 48 8d 7d 50 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <80> 3c 02 00 74 05 e8 11 0f 53 fc 4c 8b 7d 50 4d 85 ff 75 28 e8 33 RSP: 0018:ffff8880ad107970 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffffed1015a20f35 RCX: 00000000ffffffed RDX: 0000000000000010 RSI: ffffffff8555c710 RDI: 0000000000000080 RBP: 0000000000000030 R08: ffff8880997ae200 R09: ffffed1015a24fc9 R10: ffffed1015a24fc8 R11: ffff8880ad127e47 R12: ffffffff8f031080 R13: ffff8880ad1079c8 R14: 0000000000000000 R15: ffff88809b373700 FS: 0000000000000000(0000) GS:ffff8880ad100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3b5b78b000 CR3: 00000000a496c000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- 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