syzbot


general protection fault in get_work_pool

Status: auto-closed as invalid on 2021/03/07 04:54
Reported-by: syzbot+d44b41d5354c6eb3eb24@syzkaller.appspotmail.com
First crash: 1475d, last: 1475d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 general protection fault in get_work_pool C 5 2280d 2051d 0/2 public: reported C repro on 2019/04/11 08:44
android-414 general protection fault in get_work_pool 4 2100d 2048d 0/1 auto-closed as invalid on 2019/08/20 09:55
upstream general protection fault in get_work_pool net C done 24 2052d 2455d 13/28 fixed on 2019/11/03 21:23
linux-4.14 general protection fault in get_work_pool C done 1 1442d 1472d 1/1 fixed on 2021/01/09 22:02
upstream general protection fault in get_work_pool (2) kvm 5 156d 156d 0/28 closed as invalid on 2024/08/16 18:24
android-49 general protection fault in get_work_pool C 24 2140d 2049d 0/3 public: reported C repro on 2019/04/13 00:00

Sample crash report:
RBP: 00007efde29f3ca0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000c
R13: 00007ffd1e4bf5af R14: 00007efde29f49c0 R15: 000000000118bf2c
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 2131 Comm: syz-executor.4 Not tainted 4.19.155-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:get_work_pool+0xe5/0x1a0 kernel/workqueue.c:716
Code: e8 10 ff 25 00 4c 89 e0 5b 5d 41 5c c3 e8 03 ff 25 00 48 81 e3 00 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 9c 00 00 00 4c 8b 23 e8 d9 fe 25 00 5b 5d 4c 89
RSP: 0018:ffff88803987f270 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 5645440033706e00 RCX: ffffc9000e363000
RDX: 0ac8a880066e0dc0 RSI: ffffffff813ecf8d RDI: 0000000000000007
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000246 R14: ffffed10137488c8 R15: ffff888047dd6400
FS:  00007efde29f4700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000016a9e60 CR3: 0000000093044000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 try_to_grab_pending+0x10d/0x6f0 kernel/workqueue.c:1235
 __cancel_work_timer+0xa6/0x590 kernel/workqueue.c:2974
 rhashtable_free_and_destroy+0x2b/0x970 lib/rhashtable.c:1145
 mesh_table_free net/mac80211/mesh_pathtbl.c:72 [inline]
 mesh_pathtbl_init+0xd9/0x100 net/mac80211/mesh_pathtbl.c:798
 ieee80211_mesh_init_sdata+0x28e/0x550 net/mac80211/mesh.c:1461
 ieee80211_setup_sdata+0xcbb/0xf70 net/mac80211/iface.c:1459
 ieee80211_if_add+0xe19/0x17c0 net/mac80211/iface.c:1871
 ieee80211_add_iface+0x99/0x160 net/mac80211/cfg.c:125
 rdev_add_virtual_intf net/wireless/rdev-ops.h:45 [inline]
 nl80211_new_interface+0x531/0x1570 net/wireless/nl80211.c:3268
 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:632
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
 __sys_sendmsg net/socket.c:2153 [inline]
 __do_sys_sendmsg net/socket.c:2162 [inline]
 __se_sys_sendmsg net/socket.c:2160 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45deb9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007efde29f3c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002ba40 RCX: 000000000045deb9
RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000000000004
RBP: 00007efde29f3ca0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000c
R13: 00007ffd1e4bf5af R14: 00007efde29f49c0 R15: 000000000118bf2c
Modules linked in:
---[ end trace be23cf228a3051b1 ]---
RIP: 0010:get_work_pool+0xe5/0x1a0 kernel/workqueue.c:716
Code: e8 10 ff 25 00 4c 89 e0 5b 5d 41 5c c3 e8 03 ff 25 00 48 81 e3 00 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 9c 00 00 00 4c 8b 23 e8 d9 fe 25 00 5b 5d 4c 89
RSP: 0018:ffff88803987f270 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 5645440033706e00 RCX: ffffc9000e363000
RDX: 0ac8a880066e0dc0 RSI: ffffffff813ecf8d RDI: 0000000000000007
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000246 R14: ffffed10137488c8 R15: ffff888047dd6400
FS:  00007efde29f4700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000016a9e60 CR3: 0000000093044000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/07 04:54 linux-4.19.y b94de4d19498 cba33199 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.