linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4)
@ 2024-11-18 16:56 syzbot
  2025-01-16  9:35 ` syzbot
  0 siblings, 1 reply; 4+ messages in thread
From: syzbot @ 2024-11-18 16:56 UTC (permalink / raw)
  To: johannes, linux-kernel, linux-wireless, netdev, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    0a9b9d17f3a7 Merge tag 'pm-6.12-rc8' of git://git.kernel.o..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=179ef4c0580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=d2aeec8c0b2e420c
dashboard link: https://syzkaller.appspot.com/bug?extid=8b512026a7ec10dcbdd9
compiler:       Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7feb34a89c2a/non_bootable_disk-0a9b9d17.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/b80dd0292210/vmlinux-0a9b9d17.xz
kernel image: https://storage.googleapis.com/syzbot-assets/42a07c5c6678/bzImage-0a9b9d17.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: 0 PID: 1025 at net/mac80211/sta_info.c:738 sta_info_insert_check net/mac80211/sta_info.c:737 [inline]
WARNING: CPU: 0 PID: 1025 at net/mac80211/sta_info.c:738 sta_info_insert_rcu+0x322/0x1900 net/mac80211/sta_info.c:942
Modules linked in:
CPU: 0 UID: 0 PID: 1025 Comm: kworker/u4:4 Not tainted 6.12.0-rc7-syzkaller-00070-g0a9b9d17f3a7 #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+0x322/0x1900 net/mac80211/sta_info.c:942
Code: 85 db 4c 8b 6c 24 28 0f 84 90 00 00 00 e8 16 6e 4a f6 84 c0 0f 84 b4 00 00 00 e8 b9 80 64 f6 e9 0d 01 00 00 e8 af 80 64 f6 90 <0f> 0b 90 41 be ea ff ff ff 4c 8b 6c 24 28 4c 89 ee e8 98 d0 ff ff
RSP: 0018:ffffc9000227f9c0 EFLAGS: 00010293
RAX: ffffffff8b306961 RBX: 0000000000000001 RCX: ffff88803581a440
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000
RBP: 00000000ffffffff R08: ffffffff8b3068ee R09: 1ffff11009fc6ace
R10: dffffc0000000000 R11: ffffed1009fc6acf R12: 00000000ffeeffff
R13: 000000000000ffff R14: 000000000000feff R15: ffff88804fe34cc0
FS:  0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca30a06fb8 CR3: 00000000363e4000 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+0x2fd/0x550 net/mac80211/ocb.c:136
 cfg80211_wiphy_work+0x2db/0x490 net/wireless/core.c:440
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>


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

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4)
  2024-11-18 16:56 [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4) syzbot
@ 2025-01-16  9:35 ` syzbot
  0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2025-01-16  9:35 UTC (permalink / raw)
  To: johannes, linux-kernel, linux-wireless, netdev, syzkaller-bugs

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4)
  2025-06-16 13:40 [PATCH] wifi: mac80211: drop invalid source address OCB frames Johannes Berg
@ 2025-06-16 14:02 ` syzbot
  0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2025-06-16 14:02 UTC (permalink / raw)
  To: johannes.berg, johannes, linux-kernel, linux-wireless,
	syzkaller-bugs

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

net/mac80211/rx.c:4436:8: error: call to undeclared function 'ether_addr_valid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]


Tested on:

commit:         e04c78d8 Linux 6.16-rc2
git tree:       upstream
kernel config:  https://syzkaller.appspot.com/x/.config?x=c3f0e807ec5d1268
dashboard link: https://syzkaller.appspot.com/bug?extid=8b512026a7ec10dcbdd9
compiler:       Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
patch:          https://syzkaller.appspot.com/x/patch.diff?x=14150370580000


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4)
  2025-06-16 15:18 [PATCH wireless v2] wifi: mac80211: drop invalid source address OCB frames Johannes Berg
@ 2025-06-16 15:45 ` syzbot
  0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2025-06-16 15:45 UTC (permalink / raw)
  To: johannes.berg, johannes, linux-kernel, linux-wireless,
	syzkaller-bugs

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+8b512026a7ec10dcbdd9@syzkaller.appspotmail.com
Tested-by: syzbot+8b512026a7ec10dcbdd9@syzkaller.appspotmail.com

Tested on:

commit:         e04c78d8 Linux 6.16-rc2
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=13f5ee82580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=8f72e140c622500d
dashboard link: https://syzkaller.appspot.com/bug?extid=8b512026a7ec10dcbdd9
compiler:       Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
patch:          https://syzkaller.appspot.com/x/patch.diff?x=14ae15d4580000

Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-16 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-18 16:56 [syzbot] [wireless?] WARNING in sta_info_insert_rcu (4) syzbot
2025-01-16  9:35 ` syzbot
  -- 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

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