syzbot
general protection fault in ieee80211_mesh_build_beacon
Status:
upstream: reported on 2026/09/12 23:46
Reported-by: syzbot+3dfe32ae382aa6f4f2b8@syzkaller.appspotmail.com
First crash: 7d04h, last: 7d04h
Sample crash report:
wlan0: failed to finalize CSA, disconnecting
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 4247 Comm: kworker/u4:6 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: phy17 ieee80211_csa_finalize_work
RIP: 0010:ieee80211_mesh_build_beacon+0x10a/0x1bf0 net/mac80211/mesh.c:826
Code: 0c bd 01 f8 89 c5 31 ff 89 c6 e8 41 d2 16 f8 85 ed 0f 84 9c 00 00 00 e8 d4 ce 16 f8 eb 05 e8 cd ce 16 f8 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 88 fc 5b f8 4c 89 7c 24 48 4d 8b 36
RSP: 0018:ffffc9000320faa0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff888028c39dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: dffffc0000000000 R09: 1ffffffff203de18
R10: dffffc0000000000 R11: fffffbfff203de19 R12: dffffc0000000000
R13: ffff8880612c9a08 R14: 0000000000000000 R15: ffff8880612ca528
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2bfa8f84c0 CR3: 00000000735f7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ieee80211_mesh_rebuild_beacon+0x8a/0x130 net/mac80211/mesh.c:1000
ieee80211_mesh_finish_csa+0xe6/0x1a0 net/mac80211/mesh.c:1390
ieee80211_set_after_csa_beacon net/mac80211/cfg.c:3196 [inline]
__ieee80211_csa_finalize net/mac80211/cfg.c:3245 [inline]
ieee80211_csa_finalize+0x4a5/0xb20 net/mac80211/cfg.c:3268
ieee80211_csa_finalize_work+0xf2/0x130 net/mac80211/cfg.c:3293
process_one_work+0x867/0xff0 kernel/workqueue.c:2310
worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
Modules linked in:
---[ end trace cf8ec8b4eec7b912 ]---
RIP: 0010:ieee80211_mesh_build_beacon+0x10a/0x1bf0 net/mac80211/mesh.c:826
Code: 0c bd 01 f8 89 c5 31 ff 89 c6 e8 41 d2 16 f8 85 ed 0f 84 9c 00 00 00 e8 d4 ce 16 f8 eb 05 e8 cd ce 16 f8 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 88 fc 5b f8 4c 89 7c 24 48 4d 8b 36
RSP: 0018:ffffc9000320faa0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff888028c39dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: dffffc0000000000 R09: 1ffffffff203de18
R10: dffffc0000000000 R11: fffffbfff203de19 R12: dffffc0000000000
R13: ffff8880612c9a08 R14: 0000000000000000 R15: ffff8880612ca528
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2bfa8f84c0 CR3: 00000000735f7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 0c bd or $0xbd,%al
2: 01 f8 add %edi,%eax
4: 89 c5 mov %eax,%ebp
6: 31 ff xor %edi,%edi
8: 89 c6 mov %eax,%esi
a: e8 41 d2 16 f8 call 0xf816d250
f: 85 ed test %ebp,%ebp
11: 0f 84 9c 00 00 00 je 0xb3
17: e8 d4 ce 16 f8 call 0xf816cef0
1c: eb 05 jmp 0x23
1e: e8 cd ce 16 f8 call 0xf816cef0
23: 4c 89 f0 mov %r14,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 4c 89 f7 mov %r14,%rdi
33: e8 88 fc 5b f8 call 0xf85bfcc0
38: 4c 89 7c 24 48 mov %r15,0x48(%rsp)
3d: 4d 8b 36 mov (%r14),%r14
* Struck through repros no longer work on HEAD.