syzbot


general protection fault in mac80211_hwsim_tx_frame_nl

Status: auto-closed as invalid on 2021/10/06 20:43
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+3a2811a83af0f441ef5f@syzkaller.appspotmail.com
First crash: 1063d, last: 1052d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] general protection fault in mac80211_hwsim_tx_frame_nl 1 (2) 2021/06/02 16:03
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in mac80211_hwsim_tx_frame_nl 1 587d 587d 0/1 auto-obsoleted due to no activity on 2023/01/15 09:09
linux-4.19 general protection fault in mac80211_hwsim_tx_frame_nl (2) 1 443d 443d 0/1 upstream: reported on 2023/02/08 15:42

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 20826 Comm: kworker/u4:18 Not tainted 5.12.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy135 hw_scan_work
RIP: 0010:mac80211_hwsim_tx_frame_nl+0x3fd/0xdb0 drivers/net/wireless/mac80211_hwsim.c:1315
Code: 48 c1 ea 03 80 3c 02 00 0f 85 50 08 00 00 4c 8b ab 90 3c 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7d 04 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 09 84 d2 74 05 e8
RSP: 0018:ffffc90001e0fa90 EFLAGS: 00010247
RAX: dffffc0000000000 RBX: ffff88806d8eb1e0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff852894df RDI: 0000000000000004
RBP: ffff8880139efc80 R08: 0000000000000000 R09: ffff88802d5980ab
R10: ffffffff852894d1 R11: 0000000000000000 R12: ffffc90001e0fb18
R13: 0000000000000000 R14: ffff8880139efa00 R15: ffff88806d8e8d00
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000006431c000 CR4: 00000000001506f0
DR0: 0000000000000001 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 mac80211_hwsim_tx_frame+0x10d/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1773
 hw_scan_work+0x7be/0xc20 drivers/net/wireless/mac80211_hwsim.c:2331
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
---[ end trace 0e9fba91c7ac88af ]---
RIP: 0010:mac80211_hwsim_tx_frame_nl+0x3fd/0xdb0 drivers/net/wireless/mac80211_hwsim.c:1315
Code: 48 c1 ea 03 80 3c 02 00 0f 85 50 08 00 00 4c 8b ab 90 3c 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7d 04 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 09 84 d2 74 05 e8
RSP: 0018:ffffc90001e0fa90 EFLAGS: 00010247
RAX: dffffc0000000000 RBX: ffff88806d8eb1e0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff852894df RDI: 0000000000000004
RBP: ffff8880139efc80 R08: 0000000000000000 R09: ffff88802d5980ab
R10: ffffffff852894d1 R11: 0000000000000000 R12: ffffc90001e0fb18
R13: 0000000000000000 R14: ffff8880139efa00 R15: ffff88806d8e8d00
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000006431c000 CR4: 00000000001506f0
DR0: 0000000000000001 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/08 20:42 bpf-next cf68fa431d5d b718257f .config console log report info ci-upstream-bpf-next-kasan-gce general protection fault in mac80211_hwsim_tx_frame_nl
2021/06/01 12:46 bpf-next 05924717ac70 032639db .config console log report info ci-upstream-bpf-next-kasan-gce general protection fault in mac80211_hwsim_tx_frame_nl
2021/05/30 11:14 bpf-next e8e0f0f48478 325a8dab .config console log report info ci-upstream-bpf-next-kasan-gce general protection fault in mac80211_hwsim_tx_frame_nl
2021/05/28 20:50 bpf-next d6a6a55518c1 858ea628 .config console log report info ci-upstream-bpf-next-kasan-gce general protection fault in mac80211_hwsim_tx_frame_nl
* Struck through repros no longer work on HEAD.