binder: 12304:12310 ioctl 40046207 0 returned -16 binder: BINDER_SET_CONTEXT_MGR already set binder_alloc: 12301: binder_alloc_buf, no vma 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: 1 PID: 12319 Comm: syz-executor.1 Not tainted 5.0.0-rc7+ #85 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip6erspan_set_version+0x5c/0x350 net/ipv6/ip6_gre.c:1726 Code: 07 38 d0 7f 08 84 c0 0f 85 9f 02 00 00 49 8d bc 24 b0 00 00 00 c6 43 54 01 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 9a 02 00 00 4d 8b ac 24 b0 00 00 00 4d 85 ed 0f RSP: 0018:ffff888098207168 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888058cbeb58 RCX: ffffc90008070000 RDX: 0000000000000016 RSI: ffffffff86215234 RDI: 00000000000000b0 RBP: ffff888098207180 R08: 1ffff1100b197d6b R09: ffff888058cbeb58 kobject: 'loop3' (000000009e3dff9e): kobject_uevent_env R10: ffffed100b197d75 R11: ffff888058cbebaf R12: 0000000000000000 R13: ffff8880a546c080 R14: ffffffff86224150 R15: ffff888058cbeb58 FS: 00007f07fbf91700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe980807000 CR3: 00000000a46ba000 CR4: 00000000001406e0 binder: 12301:12305 ioctl 40046207 0 returned -16 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip6erspan_newlink+0x66/0x7b0 net/ipv6/ip6_gre.c:2210 kobject: 'loop3' (000000009e3dff9e): fill_kobj_path: path = '/devices/virtual/block/loop3' __rtnl_newlink+0x107b/0x16c0 net/core/rtnetlink.c:3182 binder: release 12301:12305 transaction 760 out, still active binder: undelivered TRANSACTION_COMPLETE rtnl_newlink+0x69/0xa0 net/core/rtnetlink.c:3240 binder: release 12301:12305 transaction 760 in, still active rtnetlink_rcv_msg+0x465/0xb00 net/core/rtnetlink.c:5130 netlink_rcv_skb+0x17a/0x460 net/netlink/af_netlink.c:2477 kobject: 'loop4' (000000006366fff6): kobject_uevent_env binder: send failed reply for transaction 760, target dead rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5148 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x536/0x720 net/netlink/af_netlink.c:1336 kobject: 'loop4' (000000006366fff6): fill_kobj_path: path = '/devices/virtual/block/loop4' netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:631 ___sys_sendmsg+0x806/0x930 net/socket.c:2114 __sys_sendmsg+0x105/0x1d0 net/socket.c:2152 __do_sys_sendmsg net/socket.c:2161 [inline] __se_sys_sendmsg net/socket.c:2159 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2159 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e29 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f07fbf90c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29 RDX: 0000000000000000 RSI: 0000000020001340 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f07fbf916d4 R13: 00000000004c54d4 R14: 00000000004d93b0 R15: 00000000ffffffff Modules linked in: kobject: 'loop5' (00000000a76c7745): kobject_uevent_env binder: 12324:12327 unknown command 1077961509 kobject: 'loop5' (00000000a76c7745): fill_kobj_path: path = '/devices/virtual/block/loop5' binder: 12324:12327 ioctl c0306201 20000600 returned -22 kobject: 'loop2' (000000000a6b4bc1): kobject_uevent_env kobject: 'loop2' (000000000a6b4bc1): fill_kobj_path: path = '/devices/virtual/block/loop2' binder_alloc_mmap_handler: 3 callbacks suppressed binder_alloc: binder_alloc_mmap_handler: 12324 20001000-20004000 already mapped failed -16 ---[ end trace 2f0b7e4c6870db4c ]--- binder: BINDER_SET_CONTEXT_MGR already set kobject: 'loop2' (000000000a6b4bc1): kobject_uevent_env RIP: 0010:ip6erspan_set_version+0x5c/0x350 net/ipv6/ip6_gre.c:1726 kobject: 'loop2' (000000000a6b4bc1): fill_kobj_path: path = '/devices/virtual/block/loop2' Code: 07 38 d0 7f 08 84 c0 0f 85 9f 02 00 00 49 8d bc 24 b0 00 00 00 c6 43 54 01 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 9a 02 00 00 4d 8b ac 24 b0 00 00 00 4d 85 ed 0f binder: 12324:12335 unknown command 1077961509 binder: 12324:12327 ioctl 40046207 0 returned -16 binder: 12324:12335 ioctl c0306201 20000600 returned -22 binder_alloc: 12324: binder_alloc_buf, no vma binder_alloc: binder_alloc_mmap_handler: 12304 20001000-20004000 already mapped failed -16 binder_transaction: 1 callbacks suppressed binder: 12324:12332 transaction failed 29189/-3, size 0-0 line 3035 binder: release 12324:12327 transaction 763 out, still active kobject: 'loop3' (000000009e3dff9e): kobject_uevent_env kobject: 'loop3' (000000009e3dff9e): fill_kobj_path: path = '/devices/virtual/block/loop3' RSP: 0018:ffff888098207168 EFLAGS: 00010202 binder: undelivered TRANSACTION_COMPLETE RAX: dffffc0000000000 RBX: ffff888058cbeb58 RCX: ffffc90008070000 binder: release 12324:12327 transaction 763 in, still active RDX: 0000000000000016 RSI: ffffffff86215234 RDI: 00000000000000b0 kobject: 'loop5' (00000000a76c7745): kobject_uevent_env binder: send failed reply for transaction 763, target dead RBP: ffff888098207180 R08: 1ffff1100b197d6b R09: ffff888058cbeb58 kobject: 'loop2' (000000000a6b4bc1): kobject_uevent_env kobject: 'loop5' (00000000a76c7745): fill_kobj_path: path = '/devices/virtual/block/loop5' R10: ffffed100b197d75 R11: ffff888058cbebaf R12: 0000000000000000 binder_release_work: 5 callbacks suppressed binder: undelivered TRANSACTION_ERROR: 29189 kobject: 'loop2' (000000000a6b4bc1): fill_kobj_path: path = '/devices/virtual/block/loop2' kobject: 'loop0' (00000000e358fc4f): kobject_uevent_env audit: type=1400 audit(1550973705.771:71): avc: denied { setattr } for pid=12353 comm="syz-executor.5" name="NETLINK" dev="sockfs" ino=158131 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 binder: 12357:12358 unknown command 1077961553 kobject: 'loop0' (00000000e358fc4f): fill_kobj_path: path = '/devices/virtual/block/loop0' binder: 12357:12358 ioctl c0306201 20000600 returned -22 binder_alloc: binder_alloc_mmap_handler: 12357 20001000-20004000 already mapped failed -16 kobject: 'loop4' (000000006366fff6): kobject_uevent_env R13: ffff8880a546c080 R14: ffffffff86224150 R15: ffff888058cbeb58 FS: 00007f07fbf91700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 kobject: 'loop4' (000000006366fff6): fill_kobj_path: path = '/devices/virtual/block/loop4' binder: BINDER_SET_CONTEXT_MGR already set CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 binder: 12357:12358 ioctl 40046207 0 returned -16 kobject: 'loop5' (00000000a76c7745): kobject_uevent_env CR2: 00000000004cddb0 CR3: 00000000a46ba000 CR4: 00000000001406f0 kobject: 'loop5' (00000000a76c7745): fill_kobj_path: path = '/devices/virtual/block/loop5' binder_alloc: 12357: binder_alloc_buf, no vma DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kobject: 'loop3' (000000009e3dff9e): kobject_uevent_env