Dear developers and maintainers,
We encountered a kernel warning with our modified Syzkaller. It is
tested on kernel 6.9.0-rc1. C repro and kernel config are attached to
this email. Bug report is listed below.
```
------------[ cut here ]------------
WARNING: CPU: 1 PID: 1646 at net/wireless/scan.c:521
cfg80211_bss_expire_oldest net/wireless/scan.c:521 [inline]
WARNING: CPU: 1 PID: 1646 at net/wireless/scan.c:521
__cfg80211_bss_update+0x16a0/0x2130 net/wireless/scan.c:1884
Modules linked in:
CPU: 1 PID: 1646 Comm: kworker/1:2 Not tainted 6.7.0-rc7 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.13.0-1ubuntu1.1 04/01/2014
Workqueue: events cfg80211_wiphy_work
RIP: 0010:cfg80211_bss_expire_oldest net/wireless/scan.c:521 [inline]
RIP: 0010:__cfg80211_bss_update+0x16a0/0x2130 net/wireless/scan.c:1884
Code: c8 83 e0 07 83 c0 03 38 d0 0f 8c ae ef ff ff 84 d2 0f 84 a6 ef
ff ff 48 89 cf e8 fb 0f 1b f8 e9 99 ef ff ff e8 f1 6b c6 f7 90 <0f> 0b
90 e9 5f fc ff ff e8 e3 6b c6 f7 90 0f 0b 90 48 c7 c0 18 67
RSP: 0018:ffffc9000734f520 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88804b6b8190 RCX: ffffffff89bea83c
RDX: ffff8880451c8c80 RSI: ffffffff89bea8ef RDI: 0000000000000005
RBP: ffffffff8f1a6718 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffffc9000734f640 R14: ffff88804489b000 R15: ffff88804b6b8000
FS: 0000000000000000(0000) GS:ffff88807ec00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb1f38a1530 CR3: 0000000045738000 CR4: 0000000000750ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
PKRU: 55555554
Call Trace:
<TASK>
cfg80211_inform_single_bss_frame_data+0x713/0xd90 net/wireless/scan.c:2905
cfg80211_inform_bss_frame_data+0xc2/0x290 net/wireless/scan.c:2936
__ieee80211_sta_join_ibss+0xcdd/0x1850 net/mac80211/ibss.c:376
ieee80211_sta_create_ibss+0x1f5/0x460 net/mac80211/ibss.c:1320
ieee80211_sta_find_ibss net/mac80211/ibss.c:1449 [inline]
ieee80211_ibss_work+0xb0f/0x13d0 net/mac80211/ibss.c:1666
ieee80211_iface_work+0xb8d/0xd50 net/mac80211/iface.c:1665
cfg80211_wiphy_work+0x253/0x330 net/wireless/core.c:437
process_one_work+0x878/0x15c0 kernel/workqueue.c:2627
process_scheduled_works kernel/workqueue.c:2700 [inline]
worker_thread+0x855/0x1200 kernel/workqueue.c:2781
kthread+0x2cc/0x3b0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
</TASK>
```
If you have any questions, please contact us.
Reported by: Yue Sun <[email protected]>
Reported by: xingwei lee <[email protected]>
Best Regards,
Yue