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_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 5F935C388F7 for ; Mon, 9 Nov 2020 13:23:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 191EF20663 for ; Mon, 9 Nov 2020 13:23:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387734AbgKINXV (ORCPT ); Mon, 9 Nov 2020 08:23:21 -0500 Received: from mail-il1-f200.google.com ([209.85.166.200]:56862 "EHLO mail-il1-f200.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733269AbgKINXT (ORCPT ); Mon, 9 Nov 2020 08:23:19 -0500 Received: by mail-il1-f200.google.com with SMTP id g2so6357521ilb.23 for ; Mon, 09 Nov 2020 05:23:18 -0800 (PST) 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=CO45gfakMLgnsGNC2zQCKWa4XgBYQMP+NMYJGmT003U=; b=h7MOIUva4QZwph2oTrDWOVZRzp9VDaq22WWz5hsNU1kZK1acQ7EzCwiGGhN2mOgX3W kQTLFwiDpAUVr7d4ERoFEu5+ZPKNDuGYIzL7dpXBnVilT9+0Uq9/BwTUz/H7MIqoaat3 YOKAa7HOO80XmxpQ+yAxOxDeszg2PtgeRAWcf5t7Y+ODYeg8RthXnRIPmIgA15ZH6qB/ guT6HR2JW4OxBdYLizPyM2d7zOrNXirWblQyv5VFIELFuVO/eMsJXHAudwLc4tvWOEd9 FtkX3/xej5VUksyTcNxRrIIj1QVLLDZQ2VIxhrCq3u+V5OX+nRVJuFADGt2Qetw0jZSY AR2g== X-Gm-Message-State: AOAM532AUYlfHha53+X7qxX0APShdPP43excknZYmHn1ukiR26M5+vqJ t0NOwJ3biql3DlstdHwAIA2Cgb6WjOoswfkq1+UUVTqeOio1 X-Google-Smtp-Source: ABdhPJzXwgrjFbwFN8QQPAiQANvB6yFzbI0NeYFOZSKmEJa6uyKIHDxJZIDWoxe5J3JgIcAvs1aySuSGbfdWd7hqCstmcbbs8pKJ MIME-Version: 1.0 X-Received: by 2002:a92:cecf:: with SMTP id z15mr9859936ilq.214.1604928198116; Mon, 09 Nov 2020 05:23:18 -0800 (PST) Date: Mon, 09 Nov 2020 05:23:18 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000238d9b05b3ac77c5@google.com> Subject: BUG: sleeping function called from invalid context in corrupted From: syzbot To: davem@davemloft.net, johannes.berg@intel.com, 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: linux-wireless@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: bf3e7628 Merge branch 'mtd/fixes' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16d76e2a500000 kernel config: https://syzkaller.appspot.com/x/.config?x=e791ddf0875adf65 dashboard link: https://syzkaller.appspot.com/bug?extid=b7aeb9318541a1c709f1 compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project.git ca2dcbd030eadbf0aa9b660efe864ff08af6e18b) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14df611a500000 The issue was bisected to: commit dcd479e10a0510522a5d88b29b8f79ea3467d501 Author: Johannes Berg Date: Fri Oct 9 12:17:11 2020 +0000 mac80211: always wind down STA state bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1218ff14500000 final oops: https://syzkaller.appspot.com/x/report.txt?x=1118ff14500000 console output: https://syzkaller.appspot.com/x/log.txt?x=1618ff14500000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+b7aeb9318541a1c709f1@syzkaller.appspotmail.com Fixes: dcd479e10a05 ("mac80211: always wind down STA state") BUG: sleeping function called from invalid context at net/mac80211/sta_info.c:1962 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 35, name: kworker/u4:2 4 locks held by kworker/u4:2/35: #0: ffff88802af11138 ((wq_completion)phy4){+.+.}-{0:0}, at: process_one_work+0x6f4/0xfc0 kernel/workqueue.c:2245 #1: ffffc90000e0fd80 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x733/0xfc0 kernel/workqueue.c:2247 #2: ffff88802f27cd00 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1021 [inline] #2: ffff88802f27cd00 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x4e/0x1450 net/mac80211/ibss.c:1683 --- 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. For information about bisection process see: https://goo.gl/tpsmEJ#bisection syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches