Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cdf17740 ffffffff81d906e9 ffff8801cdf17a20 0000000000000000 ffff8801a5998710 ffff8801cdf17910 ffff8801a5998600 ffff8801cdf17938 ffffffff8165e307 0000000000003af1 ffff8801cdf388f0 ffff8801cdf388a0[ 99.033374] ===================================== [ BUG: bad unlock balance detected! ] 4.9.67-gf26d3c7 #106 Not tainted ------------------------------------- syz-executor5/14141 is trying to release lock ( mrt_lock) at: but there are no more locks to release! other info that might help us debug this: 1 lock held by syz-executor5/14141: #0: (&p->lock){+.+.+.}, at: [] seq_read+0xdd/0x1290 fs/seq_file.c:178 stack backtrace: Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa37/0x1300 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2747 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1406 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1469 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] do_fcntl fs/fcntl.c:274 [inline] [] SYSC_fcntl fs/fcntl.c:372 [inline] [] SyS_fcntl+0x8fd/0xc70 fs/fcntl.c:357 [] entry_SYSCALL_64_fastpath+0x23/0xc6 CPU: 0 PID: 14141 Comm: syz-executor5 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d595f8e8 ffffffff81d906e9 ffffffff849ae8f8 ffff8801d19eb000 ffffffff834dec54 ffffffff849ae8f8 ffff8801d19eb888 ffff8801d595f918 ffffffff812353f4 dffffc0000000000 ffffffff849ae8f8 00000000ffffffff Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 FAULT_FLAG_ALLOW_RETRY missing 30 [] print_unlock_imbalance_bug+0x174/0x1a0 kernel/locking/lockdep.c:3398 [] __lock_release kernel/locking/lockdep.c:3540 [inline] [] lock_release+0x6f8/0xb80 kernel/locking/lockdep.c:3775 [] __raw_read_unlock include/linux/rwlock_api_smp.h:225 [inline] [] _raw_read_unlock+0x1a/0x50 kernel/locking/spinlock.c:255 [] ipmr_mfc_seq_stop+0xe4/0x140 net/ipv6/ip6mr.c:553 [] seq_read+0xa83/0x1290 fs/seq_file.c:283 [] proc_reg_read+0xef/0x170 fs/proc/inode.c:202 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] entry_SYSCALL_64_fastpath+0x23/0xc6 CPU: 1 PID: 14050 Comm: syz-executor0 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d808f740 ffffffff81d906e9 ffff8801d808fa20 0000000000000000 ffff8801a5999a90 ffff8801d808f910 ffff8801a5999980 ffff8801d808f938 ffffffff8165e307 ffff8801d808f798 ffff8801d808f890 00000001d8e1e067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa37/0x1300 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2747 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1406 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1469 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] do_fcntl fs/fcntl.c:274 [inline] [] SYSC_fcntl fs/fcntl.c:372 [inline] [] SyS_fcntl+0x8fd/0xc70 fs/fcntl.c:357 [] entry_SYSCALL_64_fastpath+0x23/0xc6 device lo entered promiscuous mode device lo left promiscuous mode device lo entered promiscuous mode device lo left promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. device gre0 entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. device gre0 left promiscuous mode device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=14301 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=14301 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=14301 comm=syz-executor1 device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=4 nlmsg_type=0 sclass=netlink_tcpdiag_socket pig=14318 comm=syz-executor7 device gre0 left promiscuous mode device gre0 entered promiscuous mode binder: BINDER_SET_CONTEXT_MGR already set binder: 14325:14326 ioctl 40046207 0 returned -16 binder: 14325:14326 transaction failed 29201/-22, size 0--1556441380301985772 line 3130 binder: undelivered TRANSACTION_ERROR: 29201 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=14313 comm=syz-executor1 binder: BINDER_SET_CONTEXT_MGR already set binder: 14325:14332 ioctl 40046207 0 returned -16 binder: 14325:14326 transaction failed 29201/-22, size 0--1556441380301985772 line 3130 binder: undelivered TRANSACTION_ERROR: 29201 @: renamed from syz3 netlink: 5 bytes leftover after parsing attributes in process `syz-executor1'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=32512 sclass=netlink_route_socket pig=14413 comm=syz-executor1 netlink: 5 bytes leftover after parsing attributes in process `syz-executor1'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=32512 sclass=netlink_route_socket pig=14433 comm=syz-executor1 netlink: 17 bytes leftover after parsing attributes in process `syz-executor1'. device gre0 entered promiscuous mode netlink: 17 bytes leftover after parsing attributes in process `syz-executor1'. device gre0 entered promiscuous mode device gre0 entered promiscuous mode device syz1 entered promiscuous mode IPVS: length: 24 != 8 IPVS: length: 24 != 8 device lo entered promiscuous mode device lo left promiscuous mode device lo entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=14867 comm=syz-executor4 device gre0 entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor4'. device eql entered promiscuous mode binder: BINDER_SET_CONTEXT_MGR already set binder: 14943:14945 ioctl 40046207 0 returned -16 binder: binder_mmap: 14943 204c6000-204c7000 bad vm_flags failed -1 binder: BINDER_SET_CONTEXT_MGR already set binder: 14943:14945 ioctl 40046207 0 returned -16 binder_alloc: binder_alloc_mmap_handler: 14943 20000000-20002000 already mapped failed -16 binder_alloc: binder_alloc_mmap_handler: 14943 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 14943:14967 ioctl 40046207 0 returned -16 binder_alloc: 14943: binder_alloc_buf, no vma binder: 14943:14945 transaction failed 29189/-3, size 0-0 line 3130 binder: BINDER_SET_CONTEXT_MGR already set binder: 14943:14967 ioctl 40046207 0 returned -16 binder_alloc: 14943: binder_alloc_buf, no vma binder: 14943:14945 transaction failed 29189/-3, size 0-0 line 3130 binder: binder_mmap: 14943 204c6000-204c7000 bad vm_flags failed -1 binder: BINDER_SET_CONTEXT_MGR already set binder: 14943:14967 ioctl 40046207 0 returned -16 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered transaction 169, process died. binder: undelivered transaction 168, process died. binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_COMPLETE binder: 15036:15038 ioctl 40046205 0 returned -22 binder: 15036:15038 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 15036: binder_alloc_buf, no vma binder: 15036:15050 transaction failed 29189/-3, size 0-0 line 3130 binder: 15036:15050 BC_FREE_BUFFER u0000000000000000 no match binder: 15036:15050 ioctl 40046205 0 returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 15036:15074 ioctl 40046207 0 returned -16 binder: 15036:15050 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 15036: binder_alloc_buf, no vma binder: 15036:15073 transaction failed 29189/-3, size 0-0 line 3130 binder: 15036:15074 got reply transaction with no transaction stack binder: 15036:15074 transaction failed 29201/-71, size 24-8 line 2923 binder: 15036:15095 BC_FREE_BUFFER u0000000000000000 no match binder_alloc: 15036: binder_alloc_buf, no vma binder: 15036:15095 transaction failed 29189/-3, size 72-8 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: 15036:15095 BC_FREE_BUFFER u0000000000000000 no match FAULT_FLAG_ALLOW_RETRY missing 31 CPU: 0 PID: 15087 Comm: syz-executor2 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c78df870 ffffffff81d906e9 ffff8801c78dfb50 0000000000000000 ffff8801c658aa10 ffff8801c78dfa40 ffff8801c658a900 ffff8801c78dfa68 ffffffff8165e307 ffff8801c78df8a0 ffffffff811b890d 0000000006d616c0 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa37/0x1300 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2783 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1f82/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1406 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1469 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] SYSC_getrandom drivers/char/random.c:1899 [inline] [] SyS_getrandom+0x165/0x2a0 drivers/char/random.c:1880 [] entry_SYSCALL_64_fastpath+0x23/0xc6 binder: undelivered TRANSACTION_ERROR: 29201 binder: 15135:15136 not enough space to store 0 fds in buffer binder: 15135:15136 transaction failed 29201/-22, size 72-32 line 3272 binder_alloc: binder_alloc_mmap_handler: 15135 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 15135:15136 ioctl 40046207 0 returned -16 binder_alloc: 15135: binder_alloc_buf, no vma binder: 15135:15149 transaction failed 29189/-3, size 72-32 line 3130 IPVS: Creating netns size=2536 id=22 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 15220 Comm: syz-executor2 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a6d474e0 ffffffff81d906e9 ffff8801a6d477c0 0000000000000000 ffff8801c658b910 ffff8801a6d476b0 ffff8801c658b800 ffff8801a6d476d8 ffffffff8165e307 ffff880102408040 ffff8801a6d47630 00000001cb6ba067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa37/0x1300 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2747 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1406 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1469 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] generic_perform_write+0x1dc/0x500 mm/filemap.c:2731 [] __generic_file_write_iter+0x348/0x570 mm/filemap.c:2866 [] generic_file_write_iter+0x2d5/0x600 mm/filemap.c:2894 [] new_sync_write fs/read_write.c:499 [inline] [] __vfs_write+0x4bf/0x680 fs/read_write.c:512 [] vfs_write+0x189/0x530 fs/read_write.c:560 [] SYSC_write fs/read_write.c:607 [inline] [] SyS_write+0xd9/0x1b0 fs/read_write.c:599 [] entry_SYSCALL_64_fastpath+0x23/0xc6 pktgen: kernel_thread() failed for cpu 0 pktgen: Cannot create thread for cpu 0 (-4) pktgen: kernel_thread() failed for cpu 1 pktgen: Cannot create thread for cpu 1 (-4) pktgen: Initialization failed for all threads netlink: 5 bytes leftover after parsing attributes in process `syz-executor1'. IPv6: NLM_F_REPLACE set, but no existing node found! netlink: 5 bytes leftover after parsing attributes in process `syz-executor1'. IPv6: NLM_F_REPLACE set, but no existing node found! sock: sock_set_timeout: `syz-executor0' (pid 15291) tries to set negative timeout netlink: 73 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 73 bytes leftover after parsing attributes in process `syz-executor1'. sock: sock_set_timeout: `syz-executor0' (pid 15334) tries to set negative timeout IPVS: Creating netns size=2536 id=23 keychord: Insufficient bytes present for keycount 250 device gre0 entered promiscuous mode device gre0 entered promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 15680 Comm: syz-executor3 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a583f890 ffffffff81d906e9 ffff8801a583fb70 0000000000000000 ffff8801a5999c10 ffff8801a583fa60 ffff8801a5999b00 ffff8801a583fa88 ffffffff8165e307 ffff8801cebc3480 ffff8801a583f9e0 00000001a4045067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa37/0x1300 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2747 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1406 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1469 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] getname_flags+0x10e/0x580 fs/namei.c:148 [] getname+0x19/0x20 fs/namei.c:208 [] do_sys_open+0x21d/0x4c0 fs/open.c:1066 [] SYSC_openat fs/open.c:1099 [inline] [] SyS_openat+0x30/0x40 fs/open.c:1093 [] entry_SYSCALL_64_fastpath+0x23/0xc6 netlink: 5 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor3'. tc_dump_action: action bad kind netlink: 1 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor4'. selinux_nlmsg_perm: 3 callbacks suppressed SELinux: unrecognized netlink message: protocol=0 nlmsg_type=3 sclass=netlink_route_socket pig=15959 comm=syz-executor5 binder: 15988:15990 got transaction to invalid handle binder: 15988:15990 transaction failed 29201/-22, size 0-0 line 3007 binder: 15988:15990 got transaction with invalid handle, 0 binder: 15988:15990 transaction failed 29201/-22, size 24-16 line 3222 binder_alloc: binder_alloc_mmap_handler: 15988 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 15988:16004 got transaction to invalid handle binder: 15988:16004 transaction failed 29201/-22, size 0-0 line 3007 binder_alloc: 15988: binder_alloc_buf, no vma binder: 15988:16004 transaction failed 29189/-3, size 24-16 line 3130 binder: 15988:15990 ioctl 40046207 0 returned -16 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=3 sclass=netlink_route_socket pig=15959 comm=syz-executor5 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 binder: 16032:16035 ioctl 400445a0 20006000 returned -22 binder: 16032:16035 ioctl 5423 20003000 returned -22 binder: 16032:16035 got transaction with invalid offsets ptr binder: 16032:16035 transaction failed 29201/-14, size 0-4095 line 3158 netlink: 6 bytes leftover after parsing attributes in process `syz-executor7'. device lo entered promiscuous mode binder: undelivered TRANSACTION_ERROR: 29201 qtaguid: iface_stat: create(lo): no inet dev binder: 16053:16054 ERROR: BC_REGISTER_LOOPER called without request qtaguid: iface_stat: create6(lo): no inet dev IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready binder: BINDER_SET_CONTEXT_MGR already set binder: 16032:16035 ioctl 40046207 0 returned -16 binder_alloc: 16032: binder_alloc_buf, no vma binder: 16032:16047 transaction failed 29189/-3, size 0-4095 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: 16053:16054 ioctl 8904 20004ffc returned -22 binder: 16053:16054 ioctl c0306201 2000ffd0 returned -14 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 191, process died. binder: 16053:16054 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 16053: binder_alloc_buf, no vma binder: 16053:16054 transaction failed 29189/-3, size 0-0 line 3130 binder: 16053:16054 ioctl 8904 20004ffc returned -22 binder: undelivered TRANSACTION_ERROR: 29189 qtaguid: iface_stat: create6(lo): no inet dev device gre0 entered promiscuous mode device syz7 entered promiscuous mode netlink: 11 bytes leftover after parsing attributes in process `syz-executor0'. device syz5 entered promiscuous mode Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable tc_ctl_action: received NO action attribs tc_ctl_action: received NO action attribs SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=16380 comm=syz-executor4