syzbot


WARNING in rhashtable_free_and_destroy

Status: upstream: reported C repro on 2020/10/25 18:22
Reported-by: syzbot+5ea8a75fa398f831d5bf@syzkaller.appspotmail.com
First crash: 1517d, last: 1185d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in rhashtable_free_and_destroy wireless C error 3 1479d 1571d 19/28 fixed on 2021/03/10 01:48
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2021/10/23 09:12 14m bisect fix linux-4.19.y error job log
2021/09/22 17:05 26m bisect fix linux-4.19.y OK (0) job log log
2021/08/23 14:52 28m bisect fix linux-4.19.y OK (0) job log log
2021/07/24 13:57 26m bisect fix linux-4.19.y OK (0) job log log
2021/06/24 13:17 26m bisect fix linux-4.19.y OK (0) job log log
2021/05/25 10:07 28m bisect fix linux-4.19.y OK (0) job log log
2021/04/25 09:02 34m bisect fix linux-4.19.y OK (0) job log log
2021/03/26 02:47 22m bisect fix linux-4.19.y OK (0) job log log
2021/02/24 01:48 28m bisect fix linux-4.19.y OK (0) job log log
2021/01/23 20:52 26m bisect fix linux-4.19.y OK (0) job log log
2020/12/24 20:28 23m bisect fix linux-4.19.y OK (0) job log log
2020/11/24 20:00 28m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000000000003
RBP: 0000000000000005 R08: 0000000000000002 R09: 0000000000003231
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000004030e0 R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8167 at kernel/workqueue.c:2919 __flush_work.cold+0x29/0x33 kernel/workqueue.c:2919
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8167 Comm: syz-executor539 Not tainted 4.19.152-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2fe lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x61 kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:__flush_work.cold+0x29/0x33 kernel/workqueue.c:2919
Code: ce e8 9e c7 24 00 48 c7 c7 c0 3c 69 88 e8 a1 c1 0f 00 0f 0b e9 85 24 ff ff e8 86 c7 24 00 48 c7 c7 c0 3c 69 88 e8 89 c1 0f 00 <0f> 0b 45 31 f6 e9 6a 24 ff ff e8 6b c7 24 00 48 c7 c7 c0 3c 69 88
RSP: 0018:ffff88809d517150 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff8880aa1fe840 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814fd8d1 RDI: ffffed1013aa2e1c
RBP: ffff88809d5172c0 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001
R13: 1ffff11013aa2e5b R14: 0000000000000001 R15: ffff8880af8702c0
 __cancel_work_timer+0x412/0x590 kernel/workqueue.c:3015
 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:3265
 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:0x4424d9
Code: e8 4c b0 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 eb 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd8989b488 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffd8989b490 RCX: 00000000004424d9
RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000000000003
RBP: 0000000000000005 R08: 0000000000000002 R09: 0000000000003231
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000004030e0 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/25 18:21 linux-4.19.y ad326970d25c a1839e81 .config console log report syz C ci2-linux-4-19
* Struck through repros no longer work on HEAD.