syzbot


general protection fault in tipc_sk_lookup

Status: auto-closed as invalid on 2020/08/10 05:04
Reported-by: syzbot+48071b17b7a36afcfda5@syzkaller.appspotmail.com
First crash: 816d, last: 816d

Sample crash report:
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
Modules linked in:
CPU: 0 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
audit: type=1804 audit(1586667781.652:5568): pid=16520 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="invalid_pcr" cause="open_writers" comm="syz-executor.2" name="/root/syzkaller-testdir634984123/syzkaller.1sE3Ym/268/bus" dev="sda1" ino=16471 res=1
Workqueue: netns cleanup_net
task: ffff8880a9a1e5c0 task.stack: ffff8880a9a28000
RIP: 0010:rht_key_hashfn include/linux/rhashtable.h:259 [inline]
RIP: 0010:__rhashtable_lookup include/linux/rhashtable.h:614 [inline]
RIP: 0010:rhashtable_lookup include/linux/rhashtable.h:650 [inline]
RIP: 0010:rhashtable_lookup_fast include/linux/rhashtable.h:676 [inline]
RIP: 0010:tipc_sk_lookup+0x292/0x920 net/tipc/socket.c:2287
RSP: 0000:ffff8880a9a2f660 EFLAGS: 00010206
RAX: 00eeeeeee0eeeef0 RBX: 000000000000003e RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87d84360 RDI: 0777777707777783
RBP: ffff888000100ec0 R08: 0000000000000000 R09: 0000000000020012
netlink: 80 bytes leftover after parsing attributes in process `syz-executor.4'.
R10: ffff8880a9a1ef08 R11: ffff8880a9a1e5c0 R12: 0777777707777777
R13: dffffc0000000000 R14: 1ffff11015345ed2 R15: ffff888000101fbe
FS:  0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c44ad33c38 CR3: 000000004b45a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tipc_sk_rcv+0x240/0x1650 net/tipc/socket.c:1829
 tipc_node_xmit+0x229/0x2b0 net/tipc/node.c:1189
 tipc_node_xmit_skb+0xe1/0x130 net/tipc/node.c:1238
 __tipc_shutdown+0x759/0x9b0 net/tipc/socket.c:523
 tipc_shutdown+0x62/0x300 net/tipc/socket.c:2128
 tipc_close_conn net/tipc/server.c:210 [inline]
 tipc_close_conn+0x193/0x210 net/tipc/server.c:195
 tipc_server_stop+0x91/0x171 net/tipc/server.c:630
 tipc_topsrv_stop net/tipc/subscr.c:390 [inline]
 tipc_topsrv_exit_net+0x168/0x28a net/tipc/subscr.c:402
 ops_exit_list.isra.0+0x9d/0x140 net/core/net_namespace.c:142
 cleanup_net+0x3bb/0x820 net/core/net_namespace.c:484
 process_one_work+0x813/0x1540 kernel/workqueue.c:2116
 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 00 49 bd 00 00 00 00 00 fc ff df 4c 89 f8 48 c1 e8 03 4c 01 e8 48 89 44 24 20 e8 8a ca 4b fb 49 8d 7c 24 0c 48 89 f8 48 c1 e8 03 <42> 0f b6 14 28 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 
RIP: rht_key_hashfn include/linux/rhashtable.h:259 [inline] RSP: ffff8880a9a2f660
RIP: __rhashtable_lookup include/linux/rhashtable.h:614 [inline] RSP: ffff8880a9a2f660
RIP: rhashtable_lookup include/linux/rhashtable.h:650 [inline] RSP: ffff8880a9a2f660
RIP: rhashtable_lookup_fast include/linux/rhashtable.h:676 [inline] RSP: ffff8880a9a2f660
RIP: tipc_sk_lookup+0x292/0x920 net/tipc/socket.c:2287 RSP: ffff8880a9a2f660
jfs: Unrecognized mount option "appraise" or missing value
ieee80211 phy6: Selected rate control algorithm 'minstrel_ht'
audit: type=1804 audit(1586667781.662:5569): pid=16515 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="invalid_pcr" cause="ToMToU" comm="syz-executor.2" name="/root/syzkaller-testdir634984123/syzkaller.1sE3Ym/268/bus" dev="sda1" ino=16471 res=1
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=5 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
audit: type=1804 audit(1586667782.392:5570): pid=16540 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="invalid_pcr" cause="open_writers" comm="syz-executor.2" name="/root/syzkaller-testdir634984123/syzkaller.1sE3Ym/269/cgroup.controllers" dev="sda1" ino=16417 res=1
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
ieee80211 phy6: hwaddr 02:00:00:00:06:00 registered
netlink: 80 bytes leftover after parsing attributes in process `syz-executor.4'.
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
ieee80211 phy7: Selected rate control algorithm 'minstrel_ht'
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
ieee80211 phy7: hwaddr 02:00:00:00:07:00 registered
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
audit: type=1804 audit(1586667782.921:5571): pid=16573 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="invalid_pcr" cause="ToMToU" comm="syz-executor.2" name="/root/syzkaller-testdir634984123/syzkaller.1sE3Ym/269/cgroup.controllers" dev="sda1" ino=16417 res=1
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16540 comm=syz-executor.2
---[ end trace 9c106f191da4cb86 ]---

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/04/12 05:03 linux-4.14.y 4520f06b03ae a8c6a3f8 .config log report