Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3599592pxv; Mon, 26 Jul 2021 07:38:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymljddCypMRNhmt2AGXJEqjKPHIwNjyPo2xQcvTAP0g7F4ctff7mPrzYTRs/AFRIZp6Pwv X-Received: by 2002:a6b:6f11:: with SMTP id k17mr14870236ioc.114.1627310332152; Mon, 26 Jul 2021 07:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627310332; cv=none; d=google.com; s=arc-20160816; b=V6RfBQM2NcfO3r4jZq2ArD9R//2hvySNCG12qLuucy6SXxY8X9jNfZdqLDdOtxJqRH LunfwypGidblCplEM7eARmhP8K+97ZL7dBr99n8ZZuWqpMxdU3dZpa/8N/kZihnPH/36 0ycnNF/2N2mJSlmCmRnsn4KfOIqReUiXy6ehlkQc1MKqIhtvGXPDYZjSqoVN7egWRLmn hdLikxQ34lKtRyRyW1JQ7ThGAeS99FM7bou5l9oUFfboCML+0kzCmHi4bfEsfQTCN++1 oPztGX2MzKOPbp3iX1wswGtc+H9e+VzlrrhEv9sZTGXDls9UiO5oJ6HEs2RWFdGuYd9e ZLig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=rh2WebIAL7rAkd4Y7+OUKTcKX8jr6+sYkZ+Orf4DiGA=; b=dmeyw8BB/t1aO3dq/E439v9iZDozn8/mUTc8rfOQ9DDS5RX8PMkmQZrSGI83XFxrIy TOY6g4UkYOlrC4HA9efWOp5UE69yU/0qttQx1rzKUJr9svdGBZ+TSuVw592UoNo4yeUQ auu3diUHb6vRZjawYLHDf2ViLdC2BxTlGbU8lOTn9XHVxnfX2Rx7FaLGtITAO5V8lxaI iJnc3FKK1HDAp0SZPCk9mceR51hvqj9S30ztyeVBB+6VrPB+dATo1KSLVtGR1i8UdMv+ pwtoIGPR9yEgMEyepvV/tOxczuvRjrNPhHM4b1lcb2jndRMGnUKq2BQ0nm/BWvrnlHnw HGfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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. [23.128.96.18]) by mx.google.com with ESMTP id c1si106754ilr.98.2021.07.26.07.38.36; Mon, 26 Jul 2021 07:38:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S234586AbhGZN55 (ORCPT + 99 others); Mon, 26 Jul 2021 09:57:57 -0400 Received: from mail-io1-f69.google.com ([209.85.166.69]:38522 "EHLO mail-io1-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234201AbhGZN54 (ORCPT ); Mon, 26 Jul 2021 09:57:56 -0400 Received: by mail-io1-f69.google.com with SMTP id z17-20020a0566022051b0290528db19d5b3so8761882iod.5 for ; Mon, 26 Jul 2021 07:38:25 -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=rh2WebIAL7rAkd4Y7+OUKTcKX8jr6+sYkZ+Orf4DiGA=; b=teHAg2we7X313gtJHvKJDxGcyUBoRv5ReDke1vtKl3y/9X43SHQkqFxlarOQ6I3GsH sfPy7gciu2QH1f2jHPIyks8RVCh/sfAGS6CgzncqRKPJUHYfn5DFh5qpCuGykNQdaolF GsPLLlW4Lr6kccCw1r3hTm6hLKXIWBgK8aXEoxUxBv6BOx6unqzOxXfzX97ChNqeLc5v B3RXpugqUWOn+S5q3b6qfM2fFN4biBZQJl7nTxemQL+Fhsf5FEDBUTP8lui952+swJ+k eRKGFLvXuCOPWwyf9xN70j29wFVuuCX4D4yKjDxh34rnJ2aBzVnpBHilcvWpp4iRcYIS oqJw== X-Gm-Message-State: AOAM531wjAhcRR26bM+zIyQB83b/6XtmHmIei5y/0Cs7U1gJYMe+I8H0 r9UvZzUS+I4JKzcYD3ZFm++kB12C75jGVOlNHpR7Fh8ajQyy MIME-Version: 1.0 X-Received: by 2002:a92:d2c2:: with SMTP id w2mr13584853ilg.256.1627310305172; Mon, 26 Jul 2021 07:38:25 -0700 (PDT) Date: Mon, 26 Jul 2021 07:38:25 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000ade97e05c807b40f@google.com> Subject: [syzbot] general protection fault in hwsim_exit_net From: syzbot To: davem@davemloft.net, johannes@sipsolutions.net, kuba@kernel.org, kvalo@codeaurora.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 3d5895cd3517 Merge tag 's390-5.14-3' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=107699a6300000 kernel config: https://syzkaller.appspot.com/x/.config?x=7273c75708b55890 dashboard link: https://syzkaller.appspot.com/bug?extid=78dd535cdc52a06948f7 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.1 userspace arch: i386 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+78dd535cdc52a06948f7@syzkaller.appspotmail.com general protection fault, probably for non-canonical address 0xdffffc00000000df: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000006f8-0x00000000000006ff] CPU: 0 PID: 19531 Comm: kworker/u4:5 Not tainted 5.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:read_pnet include/net/net_namespace.h:325 [inline] RIP: 0010:wiphy_net include/net/cfg80211.h:5107 [inline] RIP: 0010:hwsim_exit_net+0x160/0xca0 drivers/net/wireless/mac80211_hwsim.c:4201 Code: 8b 73 18 49 8d 7e 40 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 2a 0a 00 00 4d 8b 76 40 49 8d be f8 06 00 00 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 04 0a 00 00 48 8b 44 24 08 49 3b 86 f8 06 00 00 RSP: 0018:ffffc9000ad5fb18 EFLAGS: 00010202 RAX: 00000000000000df RBX: ffff888000173260 RCX: 0000000000000000 RDX: ffff88806c08d4c0 RSI: ffffffff8532af70 RDI: 00000000000006f8 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520015abf55 R11: 0000000000086088 R12: ffff888151b83260 R13: ffff888000173260 R14: 0000000000000000 R15: fffffbfff18ef7dc FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000090d52c5 CR3: 000000006769c000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ops_exit_list+0xb0/0x160 net/core/net_namespace.c:175 cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:595 process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace a4f6519c3ad068a3 ]--- RIP: 0010:read_pnet include/net/net_namespace.h:325 [inline] RIP: 0010:wiphy_net include/net/cfg80211.h:5107 [inline] RIP: 0010:hwsim_exit_net+0x160/0xca0 drivers/net/wireless/mac80211_hwsim.c:4201 Code: 8b 73 18 49 8d 7e 40 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 2a 0a 00 00 4d 8b 76 40 49 8d be f8 06 00 00 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 04 0a 00 00 48 8b 44 24 08 49 3b 86 f8 06 00 00 RSP: 0018:ffffc9000ad5fb18 EFLAGS: 00010202 RAX: 00000000000000df RBX: ffff888000173260 RCX: 0000000000000000 RDX: ffff88806c08d4c0 RSI: ffffffff8532af70 RDI: 00000000000006f8 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520015abf55 R11: 0000000000086088 R12: ffff888151b83260 R13: ffff888000173260 R14: 0000000000000000 R15: fffffbfff18ef7dc FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000090d52c5 CR3: 000000006769c000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- This report 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 issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.