linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: syzbot <syzbot+8b512026a7ec10dcbdd9@syzkaller.appspotmail.com>
To: johannes@sipsolutions.net, linux-kernel@vger.kernel.org,
	 linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
	 syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4)
Date: Thu, 16 Jan 2025 01:35:21 -0800	[thread overview]
Message-ID: <6788d2d9.050a0220.20d369.0028.GAE@google.com> (raw)
In-Reply-To: <673b71bc.050a0220.87769.004d.GAE@google.com>

syzbot has found a reproducer for the following issue on:

HEAD commit:    619f0b6fad52 Merge tag 'seccomp-v6.13-rc8' of git://git.ke..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15c7cfc4580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=d1cb4a1f148c0861
dashboard link: https://syzkaller.appspot.com/bug?extid=8b512026a7ec10dcbdd9
compiler:       gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=11e6c7c4580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=13c7cfc4580000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7feb34a89c2a/non_bootable_disk-619f0b6f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/8f14bca15c5e/vmlinux-619f0b6f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/42522ef81b09/bzImage-619f0b6f.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+8b512026a7ec10dcbdd9@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 1139 at net/mac80211/sta_info.c:737 sta_info_insert_check net/mac80211/sta_info.c:737 [inline]
WARNING: CPU: 1 PID: 1139 at net/mac80211/sta_info.c:737 sta_info_insert_rcu+0x24a/0x1b70 net/mac80211/sta_info.c:942
Modules linked in:
CPU: 1 UID: 0 PID: 1139 Comm: kworker/u32:7 Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:sta_info_insert_check net/mac80211/sta_info.c:737 [inline]
RIP: 0010:sta_info_insert_rcu+0x24a/0x1b70 net/mac80211/sta_info.c:942
Code: 0f b7 83 ae 20 00 00 31 ff 44 31 e0 0f b7 c0 09 d0 89 c6 89 44 24 08 e8 e4 49 fd f6 8b 44 24 08 85 c0 75 7f e8 d7 4e fd f6 90 <0f> 0b 90 c7 44 24 14 ea ff ff ff e8 c6 4e fd f6 48 8b 34 24 4c 89
RSP: 0018:ffffc900064b7ab0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888030c1cd80 RCX: ffffffff8a9cd65b
RDX: ffff8880277dc880 RSI: ffffffff8a9cd5c9 RDI: 0000000000000001
RBP: ffffffff905f7cb4 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000005 R12: 000000000000ffff
R13: ffff888031e30048 R14: 00000000ffffffff R15: ffff888030338e40
FS:  0000000000000000(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f35d7d620e0 CR3: 000000002e2c6000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_ocb_finish_sta net/mac80211/ocb.c:102 [inline]
 ieee80211_ocb_work+0x30c/0x650 net/mac80211/ocb.c:136
 ieee80211_iface_work+0x8ad/0xf00 net/mac80211/iface.c:1697
 cfg80211_wiphy_work+0x3de/0x560 net/wireless/core.c:440
 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236
 process_scheduled_works kernel/workqueue.c:3317 [inline]
 worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>


---
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.

  reply	other threads:[~2025-01-16  9:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18 16:56 [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4) syzbot
2025-01-16  9:35 ` syzbot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-16 13:40 [PATCH] wifi: mac80211: drop invalid source address OCB frames Johannes Berg
2025-06-16 14:02 ` [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4) syzbot
2025-06-16 15:18 [PATCH wireless v2] wifi: mac80211: drop invalid source address OCB frames Johannes Berg
2025-06-16 15:45 ` [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4) syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6788d2d9.050a0220.20d369.0028.GAE@google.com \
    --to=syzbot+8b512026a7ec10dcbdd9@syzkaller.appspotmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).