From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f205.google.com (mail-il1-f205.google.com [209.85.166.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 669102620C9 for ; Mon, 24 Mar 2025 18:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742840434; cv=none; b=jay3+eCWjG6WqJplcbYA5B0YE54WrEo3yfHP8pBbmZeyxOPL/WeCKAvIU5/uy1DB1r/gLkGde01axWEabnkI1F7axBIDEbW8GUtQmYOTWo/ElYUEpZVTxzJGMPfnSUOKwizOBXwel7xIgO7QxuZNBBQTvl3ERxUfpmzKquhVmTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742840434; c=relaxed/simple; bh=KtlEUCfyuUrw5cIGb23zFW0D0wbr27GwH1908BiJLuc=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=g0wEp0/Xm1uqzq2lT7xKYxOxERYNtwed3v8aArVBLbZMQ/Wq9pwHg3SDo6D9JRGoH3HLOdAXRGbwBjzf8/quSPXa+M7nocexDYHFfzUDYAXouVMycLJKN8bRU7o3vQvrXjtVCIAfKet8nLiRaLYxPcDk24xIq4algSn3JRYMAxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.205 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f205.google.com with SMTP id e9e14a558f8ab-3d43d3338d7so93655545ab.0 for ; Mon, 24 Mar 2025 11:20:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742840431; x=1743445231; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rfGgeD061v2X9cdK9GBmRLKxw6itSHQzCAu//F++bhs=; b=mj7MxldEsO/PJWoa6zqWXJelBXZUcZ9i8dD7DNP5a4xIN1riOOd8dNH/9zoyRjmEDP 6MYbcBOBdpsZHigKK8wldN8GJLg2nvZJkn2X5QMQ+OWpZBUuxHtzmrYV4zxGEYVAStzq RBlmSlFAMM2vKsIgDDg4e/bmq0D7ta/Awgs07eJrc4MHKEgXadu/cFinDhqxoQYuA0Lw MaGg04TJZk9RF+kVTO+P7op79HUUCJy87CDB9AOBdJsibguz80rxSKwsU0qZKR2vTWbj h6Qfh9hdrajuSB5MxtL+Q0YbMWleJByimLda55b/deGSc9QEMLV/71/N6CpUCc73p+SP lTmw== X-Forwarded-Encrypted: i=1; AJvYcCVPIMrDml8S7nPOLerB1dSHR7sVBJLChPLH4MRCEGSbvP8K9K93k2E2j1FUW0SkR1ejG/hHjgJ6dKRfD99jCw==@vger.kernel.org X-Gm-Message-State: AOJu0Yz5yaGMKpdHY4Na+3SMX9/kLD8KFktpi0xIwQtvWiPPMnOsZuRx s00pZ4KqTVg8GStTsvasY2anZx/Rs1aK1YPhR8dKdwzPhCDKQuy0R6xNnquWbd1/2EoJlldzcj8 Y4e6VLHynQhvH8g8v0dcFQczFGGB1VuRbD63RLn77MvUFIfBQPtzFOpw= X-Google-Smtp-Source: AGHT+IEix882w6oYG/fF3m+qql5LodKizG2K5f9lH5OYOluq5tD0B5kooSE28HZi4G0BaoKEtAS099GE4nByrxoCughyEXqpQoxM Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:12ce:b0:3d4:36da:19a1 with SMTP id e9e14a558f8ab-3d5961bc1e6mr160971615ab.21.1742840431391; Mon, 24 Mar 2025 11:20:31 -0700 (PDT) Date: Mon, 24 Mar 2025 11:20:31 -0700 In-Reply-To: <679b398d.050a0220.48cbc.0004.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <67e1a26f.050a0220.a7ebc.002b.GAE@google.com> Subject: Re: [syzbot] [wireless?] WARNING in ieee80211_prep_channel From: syzbot To: johannes@sipsolutions.net, 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" syzbot has found a reproducer for the following issue on: HEAD commit: 38fec10eb60d Linux 6.14 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=114c8198580000 kernel config: https://syzkaller.appspot.com/x/.config?x=d0b5b6b74098b0ef dashboard link: https://syzkaller.appspot.com/bug?extid=c90039fcfb40175abe28 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10d8a43f980000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12afbc4c580000 Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7feb34a89c2a/non_bootable_disk-38fec10e.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/d34e40d2aad1/vmlinux-38fec10e.xz kernel image: https://storage.googleapis.com/syzbot-assets/e290e3747399/bzImage-38fec10e.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+c90039fcfb40175abe28@syzkaller.appspotmail.com mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium wlan1: No basic rates, using min rate instead ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5313 at net/mac80211/mlme.c:1012 ieee80211_determine_chan_mode net/mac80211/mlme.c:1012 [inline] WARNING: CPU: 0 PID: 5313 at net/mac80211/mlme.c:1012 ieee80211_prep_channel+0x389b/0x5120 net/mac80211/mlme.c:5667 Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor339 Not tainted 6.14.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ieee80211_determine_chan_mode net/mac80211/mlme.c:1012 [inline] RIP: 0010:ieee80211_prep_channel+0x389b/0x5120 net/mac80211/mlme.c:5667 Code: c6 05 4f cd 94 04 01 48 c7 c7 37 3b 4b 8d be 78 03 00 00 48 c7 c2 a0 3c 4b 8d e8 70 00 0b f6 e9 7e ca ff ff e8 16 a6 2f f6 90 <0f> 0b 90 48 8b 7c 24 30 e8 e8 5c 8b f6 48 c7 44 24 30 ea ff ff ff RSP: 0018:ffffc9000d086500 EFLAGS: 00010293 RAX: ffffffff8b9239ba RBX: 0000000000000000 RCX: ffff888000280000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000d086850 R08: ffffffff8b920ed9 R09: ffffffff8b60cbf9 R10: 000000000000000e R11: ffff888000280000 R12: dffffc0000000000 R13: ffff888044136758 R14: ffffc9000d086710 R15: ffffc9000d086750 FS: 00007fab44b026c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab44b01198 CR3: 0000000043c60000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_prep_connection+0xda1/0x1310 net/mac80211/mlme.c:8539 ieee80211_mgd_auth+0xedb/0x1750 net/mac80211/mlme.c:8829 rdev_auth net/wireless/rdev-ops.h:486 [inline] cfg80211_mlme_auth+0x59f/0x970 net/wireless/mlme.c:291 cfg80211_conn_do_work+0x601/0xeb0 net/wireless/sme.c:183 cfg80211_sme_connect net/wireless/sme.c:626 [inline] cfg80211_connect+0x190a/0x22f0 net/wireless/sme.c:1525 nl80211_connect+0x19ec/0x2140 net/wireless/nl80211.c:12242 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xb1f/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x206/0x480 net/netlink/af_netlink.c:2533 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x8de/0xcb0 net/netlink/af_netlink.c:1882 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:733 ____sys_sendmsg+0x53a/0x860 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmsg+0x269/0x350 net/socket.c:2659 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fab44b48de9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 1a 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fab44b02218 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fab44bd2368 RCX: 00007fab44b48de9 RDX: 0000000000000000 RSI: 00002000000001c0 RDI: 0000000000000003 RBP: 00007fab44bd2360 R08: 0000000000000034 R09: 0000000000000000 R10: 000000000000000a R11: 0000000000000246 R12: 00007fab44b9f294 R13: 0000200000000200 R14: 00002000000001d0 R15: 00002000000001c0 --- 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.