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=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_DIGITS, FROM_LOCAL_HEX,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 32B4BC4363D for ; Wed, 7 Oct 2020 14:05:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D5657205F4 for ; Wed, 7 Oct 2020 14:05:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728596AbgJGOFX (ORCPT ); Wed, 7 Oct 2020 10:05:23 -0400 Received: from mail-il1-f199.google.com ([209.85.166.199]:55052 "EHLO mail-il1-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728585AbgJGOFV (ORCPT ); Wed, 7 Oct 2020 10:05:21 -0400 Received: by mail-il1-f199.google.com with SMTP id l9so1618141ilf.21 for ; Wed, 07 Oct 2020 07:05:19 -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:in-reply-to:message-id:subject :from:to; bh=9N4t1zZ/BgXswdt8rkaONIwjFjMlU8nOCAQhp6K8GdM=; b=Xf/msF4F3+kDjikbwVOkfEgkmJAy2xlXPfIK+c7y7n8LnxP0MORBPHWJyJM+kZzk0F ElYmuYVLhaB57ZYbsyrxjfp1X6jkv1APf3jDsmpCf1JOHMBr9dbCV0Iq09RKUNN5tR63 YmQn0SvKaDBlQIEizZR8WbT278D19dvapCTTQ+KIyOZX2+5a//MB9OCuOrcvUscBGbAP GLNE3R8F1Ix8RPKj3DZkGBY4/sMufVud1FlgCzAdhkCBVZqROtGjNTkEL+CaVTwF41Qb pygcMzAyNYdAjG+ZFkulabkuuVBAEVJvCMqg27SqeAiyFSJgG68u1rMvI3q2c3lP0Qz3 qA3g== X-Gm-Message-State: AOAM530W9r4sCnSOLfBpsqfCGwo1XKntL4pZabd62QQHmqM58ANARIJg 33iwsjwMczOL2mpNSlwqEi40P6maIaqey/Ml9qbKmDjs4JNH X-Google-Smtp-Source: ABdhPJxyxhA2CKhBEp8yYRdtLB4N3yig4Q81IcjCGr6KySsABUKmscx8ep35DXpTIQfOxEWVwcAiuqe8qCjVPM98I2nuTkJjDh5d MIME-Version: 1.0 X-Received: by 2002:a92:da8e:: with SMTP id u14mr2835314iln.235.1602079518913; Wed, 07 Oct 2020 07:05:18 -0700 (PDT) Date: Wed, 07 Oct 2020 07:05:18 -0700 In-Reply-To: <0000000000004a0d5e05b1110e86@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000a07b5405b1153450@google.com> Subject: Re: WARNING in ieee80211_free_ack_frame From: syzbot To: davem@davemloft.net, johannes@sipsolutions.net, kuba@kernel.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: netdev@vger.kernel.org syzbot has found a reproducer for the following issue on: HEAD commit: c85fb28b Merge tag 'arm64-fixes' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16933627900000 kernel config: https://syzkaller.appspot.com/x/.config?x=c06bcf3cc963d91c dashboard link: https://syzkaller.appspot.com/bug?extid=a063bbf0b15737362592 compiler: gcc (GCC) 10.1.0-syz 20200507 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=157d194f900000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+a063bbf0b15737362592@syzkaller.appspotmail.com ------------[ cut here ]------------ Have pending ack frames! WARNING: CPU: 0 PID: 37 at net/mac80211/main.c:1396 ieee80211_free_ack_frame+0x48/0x50 net/mac80211/main.c:1396 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 37 Comm: kworker/u4:2 Not tainted 5.9.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 panic+0x382/0x7fb kernel/panic.c:231 __warn.cold+0x20/0x4b kernel/panic.c:600 report_bug+0x1bd/0x210 lib/bug.c:198 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:234 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:254 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536 RIP: 0010:ieee80211_free_ack_frame+0x48/0x50 net/mac80211/main.c:1396 Code: e8 5d 43 b8 f9 48 89 ef e8 b5 dc a8 fe 31 c0 5b 5d c3 e8 4b 43 b8 f9 48 c7 c7 00 c0 5e 89 c6 05 66 b5 96 03 01 e8 3a 80 88 f9 <0f> 0b eb d2 0f 1f 40 00 41 57 41 56 41 55 49 89 d5 41 54 49 89 f4 RSP: 0018:ffffc90000ea79c8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880a91b8380 RSI: ffffffff815f5a55 RDI: fffff520001d4f2b RBP: ffff888092f26540 R08: 0000000000000001 R09: ffff8880ae4318e7 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffffff87bdfb90 R14: 0000000000000000 R15: 0000000000000000 idr_for_each+0x113/0x220 lib/idr.c:208 ieee80211_free_hw+0x9b/0x2a0 net/mac80211/main.c:1412 mac80211_hwsim_del_radio drivers/net/wireless/mac80211_hwsim.c:3285 [inline] hwsim_exit_net+0x5bc/0xc90 drivers/net/wireless/mac80211_hwsim.c:4037 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:186 cleanup_net+0x4ea/0xa00 net/core/net_namespace.c:603 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Kernel Offset: disabled Rebooting in 86400 seconds..