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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50A1DC001B0 for ; Sat, 15 Jul 2023 16:59:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbjGOQ7G (ORCPT ); Sat, 15 Jul 2023 12:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjGOQ7D (ORCPT ); Sat, 15 Jul 2023 12:59:03 -0400 Received: from mail-oa1-f80.google.com (mail-oa1-f80.google.com [209.85.160.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04ABE2694 for ; Sat, 15 Jul 2023 09:59:01 -0700 (PDT) Received: by mail-oa1-f80.google.com with SMTP id 586e51a60fabf-1b789515871so4556947fac.3 for ; Sat, 15 Jul 2023 09:59:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689440340; x=1692032340; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VVggWaxW/y//zbxzMj5Up/8PG70H1D3JvD8YAt+BrH8=; b=FqotlH9Pt9sUGiX/GKF7hDw7NQRPLJDHZ62BfN2DAZL+T6t55V40QLMnB02WA5VcoO uSHWUN+gQMTk3H3z1vyZl1oiuhS6+Wz0HjyygGs5gg/ablhRL/j56vtF0RBrDIITptRx Lsw83FsDkfK9J44jk0+XjEBBapJZ9gGjXsGtQasig+L798ZNBy9hvfa4DYCzJfeOdwbQ uGCU2eDrGirWahHLJWlNrmwA7aw3bzHQBQxwftNynhqUxxmskJvIT0GKz7hNcHHZiiMh cHisgPugTLWGeq3Zx88/qIAik9lnKqKx1Nt6te+Qbx8hiSnju2sFkSU3ImRZv7bBAfdV H+0A== X-Gm-Message-State: ABy/qLYCppc33xRAmagl/BBgVvdv2lRLy1qSVcI29Ggj3fMpfkL51Kjf HdgJ4YNkWvl8o10aEDVkfOU+nfPaaAsMiukyPGoX+prkZQvc X-Google-Smtp-Source: APBJJlHiIE+UxfTCFUslPbf6t9y+2TdEnS71GrV0V7tk323+8NpCl1UrA6V7rN5jD9rPYQDzSuqQxp3UUDohHVfgDch0q2r+qg3N MIME-Version: 1.0 X-Received: by 2002:a05:6870:5b35:b0:1b0:3f7f:673e with SMTP id ds53-20020a0568705b3500b001b03f7f673emr6699714oab.6.1689440340161; Sat, 15 Jul 2023 09:59:00 -0700 (PDT) Date: Sat, 15 Jul 2023 09:59:00 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000005839700600897be6@google.com> Subject: [syzbot] [wireless?] WARNING in sta_info_insert_rcu (3) From: syzbot To: davem@davemloft.net, ebiederm@xmission.com, edumazet@google.com, hbh25y@gmail.com, johannes@sipsolutions.net, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, 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: 3f01e9fed845 Merge tag 'linux-watchdog-6.5-rc2' of git://w.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=11089df2a80000 kernel config: https://syzkaller.appspot.com/x/.config?x=150188feee7071a7 dashboard link: https://syzkaller.appspot.com/bug?extid=2676771ed06a6df166ad compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=122f5682a80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=158dbaeca80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/47d90db1f2d1/disk-3f01e9fe.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/266e07b43566/vmlinux-3f01e9fe.xz kernel image: https://storage.googleapis.com/syzbot-assets/62efdb874ac7/bzImage-3f01e9fe.xz The issue was bisected to: commit c579d60f0d0cd87552f64fdebe68b5d941d20309 Author: Hangyu Hua Date: Fri Jul 15 06:23:01 2022 +0000 ipc: mqueue: fix possible memory leak in init_mqueue_fs() bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14a40b58a80000 final oops: https://syzkaller.appspot.com/x/report.txt?x=16a40b58a80000 console output: https://syzkaller.appspot.com/x/log.txt?x=12a40b58a80000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+2676771ed06a6df166ad@syzkaller.appspotmail.com Fixes: c579d60f0d0c ("ipc: mqueue: fix possible memory leak in init_mqueue_fs()") wlan1: authenticate with 08:02:11:00:00:01 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1148 at net/mac80211/sta_info.c:728 sta_info_insert_check net/mac80211/sta_info.c:728 [inline] WARNING: CPU: 1 PID: 1148 at net/mac80211/sta_info.c:728 sta_info_insert_rcu+0x25e/0x1af0 net/mac80211/sta_info.c:940 Modules linked in: CPU: 1 PID: 1148 Comm: kworker/1:2 Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Workqueue: events cfg80211_conn_work RIP: 0010:sta_info_insert_check net/mac80211/sta_info.c:728 [inline] RIP: 0010:sta_info_insert_rcu+0x25e/0x1af0 net/mac80211/sta_info.c:940 Code: e8 a7 14 ef f7 44 89 e0 31 ff 83 e0 01 89 c6 88 44 24 08 e8 74 10 ef f7 0f b6 44 24 08 84 c0 0f 84 19 01 00 00 e8 82 14 ef f7 <0f> 0b c7 44 24 08 ea ff ff ff e8 73 14 ef f7 48 8b 7c 24 28 4c 89 RSP: 0018:ffffc90005bff1f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888027478c80 RCX: 0000000000000000 RDX: ffff888021f78000 RSI: ffffffff8995cd3e RDI: 0000000000000005 RBP: 0000000000000100 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000000000f R12: 0000000000110208 R13: ffff8880768fc048 R14: ffff88807d171730 R15: ffff8880768fc000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8913442270 CR3: 000000000c775000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sta_info_insert+0x17/0xd0 net/mac80211/sta_info.c:953 ieee80211_prep_connection+0x5fd/0x14a0 net/mac80211/mlme.c:7047 ieee80211_mgd_auth+0x891/0x1170 net/mac80211/mlme.c:7205 rdev_auth net/wireless/rdev-ops.h:481 [inline] cfg80211_mlme_auth+0x3b3/0x8c0 net/wireless/mlme.c:284 cfg80211_conn_do_work+0xd3c/0xff0 net/wireless/sme.c:181 cfg80211_conn_work+0x27f/0x3d0 net/wireless/sme.c:273 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 --- 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 If the bug is already fixed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to change bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup