syzbot


general protection fault in rhashtable_free_and_destroy

Status: auto-closed as invalid on 2021/03/29 10:57
Reported-by: syzbot+37024608d6b507c33ec4@syzkaller.appspotmail.com
First crash: 1465d, last: 1465d

Sample crash report:
RBP: 00007f7ec1783ca0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b
R13: 00007ffc061909df R14: 00007f7ec17849c0 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
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
CPU: 0 PID: 3417 Comm: syz-executor.2 Not tainted 4.19.160-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rhashtable_free_and_destroy+0x18b/0x970 lib/rhashtable.c:1151
Code: 0f 84 e5 05 00 00 48 89 5c 24 18 e8 2f 1b e6 fd 48 83 7c 24 08 00 0f 84 44 ff ff ff e8 1e 1b e6 fd 48 8b 44 24 18 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 03 0f 8e 2b 07 00 00 4c 8b 74 24 18
RSP: 0018:ffff88804f34f3d0 EFLAGS: 00010207
RAX: 0eae8e4d2ec5ee6c RBX: 0000000000000001 RCX: ffffc9000a057000
RDX: 0000000000040000 RSI: ffffffff837eb4d2 RDI: 0000000000000005
RBP: ffff8880a93cc000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880a93cc000 R14: dffffc0000000000 R15: dffffc0000000000
FS:  00007f7ec1784700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9793240be8 CR3: 00000000962b1000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 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:00007f7ec1783c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002ba80 RCX: 000000000045deb9
RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000000000003
RBP: 00007f7ec1783ca0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b
R13: 00007ffc061909df R14: 00007f7ec17849c0 R15: 000000000118bf2c
Modules linked in:
---[ end trace 14b29fe499170cde ]---
RIP: 0010:rhashtable_free_and_destroy+0x18b/0x970 lib/rhashtable.c:1151
Code: 0f 84 e5 05 00 00 48 89 5c 24 18 e8 2f 1b e6 fd 48 83 7c 24 08 00 0f 84 44 ff ff ff e8 1e 1b e6 fd 48 8b 44 24 18 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 03 0f 8e 2b 07 00 00 4c 8b 74 24 18
RSP: 0018:ffff88804f34f3d0 EFLAGS: 00010207
RAX: 0eae8e4d2ec5ee6c RBX: 0000000000000001 RCX: ffffc9000a057000
RDX: 0000000000040000 RSI: ffffffff837eb4d2 RDI: 0000000000000005
RBP: ffff8880a93cc000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880a93cc000 R14: dffffc0000000000 R15: dffffc0000000000
FS:  00007f7ec1784700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffafe89ddb8 CR3: 00000000962b1000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

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