Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3812385ybg; Sun, 20 Oct 2019 22:23:17 -0700 (PDT) X-Received: by 2002:a17:906:c742:: with SMTP id fk2mr5634987ejb.284.1571635367194; Sun, 20 Oct 2019 22:22:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPvzPvqRpwmZgsd9AikLY2sUdt0aPAxbCC9YWqXcdvOl9PIOrS7J/10ltWdFmSt7YowafR X-Received: by 2002:a17:906:c742:: with SMTP id fk2mr5634928ejb.284.1571635366393; Sun, 20 Oct 2019 22:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571635366; cv=none; d=google.com; s=arc-20160816; b=JFHQalSrVc8MkmLijz/DALj7w27ebkDOZW62pud+8/HyiFtVwxu6X1lAxIrYbh6ar6 hkp9x7Fco9XRk+SMNOx8gz/CSP0nNDeYigQDVR508VMHo8uuXaph1NsFzCv0kQBeMmmh x+wiyqaXJyMkF0Ami+VVwt699nruAxYil5r0NsE8ioWgzvvHP7qu8QUk2w26jX4LPozT Gb4OngLGwZ53ThdMaKBGdnUyAgJSjGNaPnpEQCHcYs3lywRFfsUnjNlWTIEQSWNYngwv TgyL2KNYEr/iRvyzNUxjTNZAkXhMSIvJz/pbCvAELy6KVK0PTFkeQ3zq+9dtiORuTAHU 8rDw== 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=RNA7wvEo4dZS4Zjh6nazheoAtSIOteZ88hIBmR8F1xQ=; b=mrlr0GQSNwA3KIMt7y/Jji0eo7vXKYckV2aqMPH/meUzq/3GnnYufYHa5hBwXpE03j 48dHgALLjU8N9UCoXbvVTkLWWgIfPcl73tQlxAoUIuRuoMRLLIWBRLkz0H2lA4jumuR4 OD8YRwEUgas2oLl+SUgQAmzEfHap0qrzVeYbz1/ubQ2Jl9om/kHgfpQ4bOTMxmaZtrQX Gh6OaJp+5fpQnW8MBAakDkZT2zwVJ4NxBgKPpl19xQrV8eaxEFXT+c5wUV6p7UMc58++ v5etzD+Q6SVGEdCHB+pGc+XpFk0cmWXz4MjfMbr9ObsNKZlbfQbVdZmC28cFWcJtmEvL ViGw== 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 o3si2626241edi.374.2019.10.20.22.22.19; Sun, 20 Oct 2019 22:22:46 -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 S1725977AbfJUFVJ (ORCPT + 99 others); Mon, 21 Oct 2019 01:21:09 -0400 Received: from mail-io1-f70.google.com ([209.85.166.70]:44975 "EHLO mail-io1-f70.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725765AbfJUFVJ (ORCPT ); Mon, 21 Oct 2019 01:21:09 -0400 Received: by mail-io1-f70.google.com with SMTP id y2so16410575ioj.11 for ; Sun, 20 Oct 2019 22:21:07 -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=RNA7wvEo4dZS4Zjh6nazheoAtSIOteZ88hIBmR8F1xQ=; b=uc3X+vc/et7SFG/COIuMD9eL4WNDmtyFU9O7Sc/O0bIvRMhYetiGixA+fSTAa0zrvu GP8bY2KlPD0wDPbNCPxKrj2LDKhnGiRZ9mlAu5rV5T8HG3cDCa8Cb65re1ugFRS9autk P5UnnpwOZbuI9t6uKGN7DFWETKdaItPzG70mukrK8LF7+vdZ8afsfbwwxRh/DXrX3gfn h/4HrPzNlhYCsBNHKVnaNguMRfBbf5ObGOd3gkop2LvWC6a9cNrKtwDJYY6ohQC6PtHN laNXFQyWLf8ND4WFFkpWf5+1GjEDluu3gZIVkZ2IZ2rqB7ySRROz/LEtAf6Hnvhi4l9o IBdg== X-Gm-Message-State: APjAAAVst7FUHWPWZCkHW6nuEoYspvWwivus81Io0Cb9RidB1+TBjVB1 LGFU9bOCTq9Ben2hza9AQ3wZEvioqXG/AiaWId11HtbJJqxZ MIME-Version: 1.0 X-Received: by 2002:a6b:b2d5:: with SMTP id b204mr693498iof.137.1571635266901; Sun, 20 Oct 2019 22:21:06 -0700 (PDT) Date: Sun, 20 Oct 2019 22:21:06 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000ccde8d059564d93d@google.com> Subject: general protection fault in batadv_iv_ogm_queue_add From: syzbot To: a@unstable.cc, b.a.t.m.a.n@lists.open-mesh.org, davem@davemloft.net, linux-kernel@vger.kernel.org, mareklindner@neomailbox.ch, netdev@vger.kernel.org, sven@narfation.org, sw@simonwunderlich.de, 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: 998d7551 Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1702db87600000 kernel config: https://syzkaller.appspot.com/x/.config?x=e0ac4d9b35046343 dashboard link: https://syzkaller.appspot.com/bug?extid=7dd2da51d8ae6f990403 compiler: gcc (GCC) 9.0.0 20181231 (experimental) Unfortunately, I don't have any reproducer for this crash yet. IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+7dd2da51d8ae6f990403@syzkaller.appspotmail.com kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4256 Comm: kworker/u4:0 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:batadv_iv_ogm_queue_add+0x49/0x1120 net/batman-adv/bat_iv_ogm.c:605 Code: 48 89 75 b8 48 89 4d c0 4c 89 45 b0 44 89 4d d0 e8 fc 02 46 fa 48 8d 7b 03 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 18 0d 00 00 RSP: 0018:ffff88805d2cfb80 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff888092284000 RDX: 0000000000000000 RSI: ffffffff872d1214 RDI: 0000000000000003 RBP: ffff88805d2cfc18 R08: ffff888092284000 R09: 0000000000000001 R10: ffffed100ba59f77 R11: 0000000000000003 R12: dffffc0000000000 R13: ffffed101245080e R14: ffff888092284000 R15: 0000000100051cf6 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200002c0 CR3: 00000000a421b000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: batadv_iv_ogm_schedule+0xb0b/0xe50 net/batman-adv/bat_iv_ogm.c:813 batadv_iv_send_outstanding_bat_ogm_packet+0x580/0x760 net/batman-adv/bat_iv_ogm.c:1675 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace 04d065842187c2b8 ]--- RIP: 0010:batadv_iv_ogm_queue_add+0x49/0x1120 net/batman-adv/bat_iv_ogm.c:605 Code: 48 89 75 b8 48 89 4d c0 4c 89 45 b0 44 89 4d d0 e8 fc 02 46 fa 48 8d 7b 03 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 18 0d 00 00 RSP: 0018:ffff88805d2cfb80 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff888092284000 RDX: 0000000000000000 RSI: ffffffff872d1214 RDI: 0000000000000003 RBP: ffff88805d2cfc18 R08: ffff888092284000 R09: 0000000000000001 R10: ffffed100ba59f77 R11: 0000000000000003 R12: dffffc0000000000 R13: ffffed101245080e R14: ffff888092284000 R15: 0000000100051cf6 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200002c0 CR3: 00000000a421b000 CR4: 00000000001426f0 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.