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 216D1C4741F for ; Mon, 9 Nov 2020 13:23:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DEC2A20897 for ; Mon, 9 Nov 2020 13:23:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387852AbgKINXW (ORCPT ); Mon, 9 Nov 2020 08:23:22 -0500 Received: from mail-io1-f70.google.com ([209.85.166.70]:39480 "EHLO mail-io1-f70.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733091AbgKINXT (ORCPT ); Mon, 9 Nov 2020 08:23:19 -0500 Received: by mail-io1-f70.google.com with SMTP id z18so5583760ioz.6 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=Dfgf0yyifMa5gT5ghS9rsLPAYfMtg/n/uh6+OLJGVtzZfHF42I0mhm6MVHcPcQTcA0 Jt1OIxqK/+5xI2g2IhXU3PB8Lo2RUly1Cwn4W/pSjgNRVbViHnAOSfNeUISdYshHhbnI Gh++QGYOuADRyvIk1Zob24I1qDEHkZDdf5K75qqV4A1N6q8uPYCYAe3ehlvlSZmOo7/D g7hyZO/XhOQN8ANatf6JeTT7I5iMHaWwcKE12h/TmbcUbrbsMUGBSUk1lM41UtzuSsJF zNTRK/26Q2SCYRwCqLFccsITmg7Czb/6VsnLF4ZANIG+09AqLbfOXYpw/55yEd44huij CIRg== X-Gm-Message-State: AOAM531jG/adJ2s2OfpMzeEYrE62GoxWgfoc16z9jWhGoxn5CTqjr1V/ f7Xgtv1x764inWHcJrsUzfoqBXiiZyClfcp5JkFBWns3v+z5 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: netdev@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