syzbot


WARNING in ieee80211_rx_list

Status: upstream: reported syz repro on 2024/04/06 19:04
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b13b7b0674e2cf37597e@syzkaller.appspotmail.com
First crash: 24d, last: 24d
Bug presence (2)
Date Name Commit Repro Result
2024/04/06 linux-5.15.y (ToT) 9465fef4ae35 C [report] WARNING in ieee80211_rx_list
2024/04/06 upstream (ToT) f2f80ac80987 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ieee80211_rx_list wireless C inconclusive error 3477 1d02h 1315d 0/26 upstream: reported C repro on 2020/09/24 09:26

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4085 at net/mac80211/rx.c:4907 ieee80211_rx_list+0x171c/0x21d8 net/mac80211/rx.c:4907
Modules linked in:
CPU: 1 PID: 4085 Comm: kworker/1:6 Not tainted 5.15.153-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: wg-crypt-wg0 wg_packet_encrypt_worker
pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ieee80211_rx_list+0x171c/0x21d8 net/mac80211/rx.c:4907
lr : ieee80211_rx_list+0x171c/0x21d8 net/mac80211/rx.c:4907
sp : ffff80001d3e7040
x29: ffff80001d3e7220 x28: ffff0000ca1f4350 x27: ffff0000d6970dc0
x26: 1fffe0001943e86a x25: dfff800000000000 x24: dfff800000000000
x23: ffff0000d6973328 x22: ffff0000ca1f4280 x21: ffff0000d6970e00
x20: ffff80001d3e72a0 x19: 0000000000000000 x18: 0000000000000101
x17: 0000000000000000 x16: ffff8000084c2918 x15: 0000000000000002
x14: 1ffff0000292206a x13: dfff800000000000 x12: ffff700003a7ce18
x11: 0000000000000101 x10: 0000000000000000 x9 : ffff0000c12451c0
x8 : ffff800011373fd4 x7 : ffff800011380904 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80001d3e72a0
x2 : ffff0000ca1f4280 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 ieee80211_rx_list+0x171c/0x21d8 net/mac80211/rx.c:4907
 ieee80211_rx_napi+0x164/0x34c net/mac80211/rx.c:5005
 ieee80211_rx include/net/mac80211.h:4571 [inline]
 ieee80211_tasklet_handler+0xf0/0x190 net/mac80211/main.c:235
 tasklet_action_common+0x364/0x404
 tasklet_action+0x60/0x84 kernel/softirq.c:805
 __do_softirq+0x344/0xdb0 kernel/softirq.c:558
 do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
 do_softirq+0xf8/0x1ac kernel/softirq.c:459
 __local_bh_enable_ip+0x298/0x470 kernel/softirq.c:383
 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline]
 _raw_spin_unlock_bh+0xf8/0x180 kernel/locking/spinlock.c:210
 spin_unlock_bh include/linux/spinlock.h:408 [inline]
 ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline]
 wg_packet_encrypt_worker+0x23c/0x1180 drivers/net/wireguard/send.c:293
 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310
 worker_thread+0x910/0x1034 kernel/workqueue.c:2457
 kthread+0x37c/0x45c kernel/kthread.c:319
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
irq event stamp: 1718807
hardirqs last  enabled at (1718806): [<ffff800011a52840>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last  enabled at (1718806): [<ffff800011a52840>] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194
hardirqs last disabled at (1718807): [<ffff800011978940>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (1718780): [<ffff80000c8103f8>] spin_unlock_bh include/linux/spinlock.h:408 [inline]
softirqs last  enabled at (1718780): [<ffff80000c8103f8>] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline]
softirqs last  enabled at (1718780): [<ffff80000c8103f8>] wg_packet_encrypt_worker+0x23c/0x1180 drivers/net/wireguard/send.c:293
softirqs last disabled at (1718781): [<ffff8000081b6054>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (1718781): [<ffff8000081b6054>] do_softirq+0xf8/0x1ac kernel/softirq.c:459
---[ end trace cf4dbebb5824a529 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/06 19:03 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_rx_list
* Struck through repros no longer work on HEAD.