===================================== [ BUG: bad unlock balance detected! ] 4.9.67-gf26d3c7 #106 Not tainted ------------------------------------- selinux_nlmsg_perm: 14 callbacks suppressed SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=14734 comm=syz-executor6 syz-executor4/14733 is trying to release lock ([ 103.084031] SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=14742 comm=syz-executor6 mrt_lock) at: but there are no more locks to release! other info that might help us debug this: 2 locks held by syz-executor4/14733: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0x9f/0xc0 fs/file.c:781 #1: (&p->lock){+.+.+.}, at: [] seq_read+0xdd/0x1290 fs/seq_file.c:178 stack backtrace: CPU: 0 PID: 14733 Comm: syz-executor4 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cc9df8e8 ffffffff81d906e9 ffffffff849ae8f8 ffff8801a71e3000 ffffffff834dec54 ffffffff849ae8f8 ffff8801a71e3888 ffff8801cc9df918 ffffffff812353f4 dffffc0000000000 ffffffff849ae8f8 00000000ffffffff Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] 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 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 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=16 sclass=netlink_audit_socket pig=14816 comm=syz-executor4 binder: 14814:14817 ioctl c018620b 20009fe8 returned -14 binder: 14814:14817 ERROR: BC_REGISTER_LOOPER called without request device gre0 entered promiscuous mode binder_alloc: 14814: binder_alloc_buf size 536919824 failed, no address space SELinux: unrecognized netlink message: protocol=9 nlmsg_type=16 sclass=netlink_audit_socket pig=14816 comm=syz-executor4 binder: 14814:14853 got reply transaction with no transaction stack binder: 14814:14853 transaction failed 29201/-71, size 0-0 line 2923 binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 14814:14835 transaction failed 29201/-28, size 0-536919821 line 3130 binder: 14814:14835 unknown command 0 binder: 14814:14835 ioctl c0306201 20008fd0 returned -22 nla_parse: 10 callbacks suppressed netlink: 5 bytes leftover after parsing attributes in process `syz-executor6'. binder: 14814:14835 got reply transaction with no transaction stack netlink: 5 bytes leftover after parsing attributes in process `syz-executor6'. binder_alloc: 14814: binder_alloc_buf, no vma binder: 14814:14817 transaction failed 29189/-3, size 0-536919821 line 3130 binder: 14814:14835 transaction failed 29201/-71, size 0-0 line 2923 IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready qtaguid: iface_stat: create6(lo): no inet dev IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready qtaguid: iface_stat: create6(lo): no inet dev IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready qtaguid: iface_stat: create6(lo): no inet dev netlink: 2 bytes leftover after parsing attributes in process `syz-executor7'. device lo entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor7'. device lo left promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor7'. device lo entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor7'. device lo left promiscuous mode device lo left promiscuous mode sock: sock_set_timeout: `syz-executor0' (pid 15283) tries to set negative timeout netlink: 3 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. sock: sock_set_timeout: `syz-executor0' (pid 15332) tries to set negative timeout device lo entered promiscuous mode device lo left promiscuous mode device lo entered promiscuous mode device lo left promiscuous mode SELinux: unrecognized netlink message: protocol=4 nlmsg_type=0 sclass=netlink_tcpdiag_socket pig=15404 comm=syz-executor7 keychord: invalid keycode count 0 IPVS: Creating netns size=2536 id=22 keychord: invalid keycode count 0 IPVS: Creating netns size=2536 id=23 qtaguid: iface_stat: create6(lo): no inet dev qtaguid: iface_stat: create6(lo): no inet dev device gre0 entered promiscuous mode binder: 15574:15576 ioctl 8924 20002000 returned -22 binder: 15574:15576 ERROR: BC_REGISTER_LOOPER called without request device gre0 entered promiscuous mode binder_alloc: 15574: binder_alloc_buf size 55535628152424 failed, no address space binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 15574:15589 transaction failed 29201/-28, size 68719476736-55466908675685 line 3130 FAULT_FLAG_ALLOW_RETRY missing 31 CPU: 1 PID: 15604 Comm: syz-executor1 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cfb27870 ffffffff81d906e9 ffff8801cfb27b50[ 107.524816] binder_alloc: binder_alloc_mmap_handler: 15574 20000000-20002000 already mapped failed -16 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=15609 comm=syz-executor2 binder: 15574:15589 ioctl 8924 20002000 returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 15574:15600 ioctl 40046207 0 returned -16 binder: 15574:15589 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 15574: binder_alloc_buf, no vma binder: 15574:15600 transaction failed 29189/-3, size 68719476736-55466908675685 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 0000000000000000 ffff8801a78f8110 ffff8801cfb27a40 ffff8801a78f8000 ffff8801cfb27a68 ffffffff8165e307 ffff8801cfb278a0 ffffffff811b890d 0000000006d84180 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 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 binder: 15674:15676 ioctl 40046205 0 returned -22 binder: 15674:15676 ERROR: BC_REGISTER_LOOPER called without request binder: 15674:15676 unknown command 1400526783 binder: 15674:15676 ioctl c0306201 20002fd0 returned -22 binder: 15674:15676 ioctl c018620b 20000fe8 returned -14 binder: 15674:15676 BC_FREE_BUFFER uffffffffffffffff no match binder: 15674:15676 BC_CLEAR_DEATH_NOTIFICATION death notification not active binder: 15674:15676 BC_REQUEST_DEATH_NOTIFICATION invalid ref 3 binder: 15674:15676 got reply transaction with no transaction stack binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 191, process died. binder: 15674:15692 BC_FREE_BUFFER u00000000ffffffff no match binder: 15674:15676 transaction failed 29201/-71, size 32-16 line 2923 binder: 15674:15692 ioctl 40046205 4 returned -22 binder: 15674:15692 ioctl 40046205 0 returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 15674:15696 ioctl 40046207 0 returned -16 binder: 15674:15692 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 15674: binder_alloc_buf, no vma binder: 15674:15696 transaction failed 29189/-3, size 0-0 line 3130 binder: 15674:15698 unknown command 1400526783 binder: 15674:15698 ioctl c0306201 20002fd0 returned -22 binder: 15674:15698 got reply transaction with no transaction stack binder: 15674:15698 transaction failed 29201/-71, size 24-8 line 2923 binder: 15674:15696 ioctl c018620b 20000fe8 returned -14 binder: 15674:15696 BC_FREE_BUFFER uffffffffffffffff no match binder: 15674:15696 IncRefs 0 refcount change on invalid ref 1 ret -22 binder: 15674:15696 got transaction to invalid handle binder: 15674:15696 transaction failed 29201/-22, size 72-8 line 3007 binder: 15674:15696 ioctl c0306201 20005fd0 returned -14 binder: undelivered TRANSACTION_ERROR: 29201 binder: 15674:15676 ioctl c0306201 20005fd0 returned -14 binder: unexpected work type, 4, not freed binder: undelivered TRANSACTION_COMPLETE binder: unexpected work type, 4, not freed binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered transaction 195, process died. binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 nla_parse: 14 callbacks suppressed netlink: 3 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor0'. 9pnet_virtio: no channels available for device ./file0 netlink: 2 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor6'. device gre0 entered promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 31 CPU: 1 PID: 15971 Comm: syz-executor1 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ccf5f870 ffffffff81d906e9 ffff8801ccf5fb50 0000000000000000 ffff8801a78f8890 ffff8801ccf5fa40 ffff8801a78f8780 ffff8801ccf5fa68 ffffffff8165e307 ffff8801ccf5f8a0 ffffffff811b890d 0000000006e6c440 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 netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=63367 sclass=netlink_route_socket pig=16117 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=63367 sclass=netlink_route_socket pig=16117 comm=syz-executor4 netlink: 2 bytes leftover after parsing attributes in process `syz-executor2'. device gre0 entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor2'. device gre0 entered promiscuous mode IPVS: Creating netns size=2536 id=24 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: 11 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor4'. IPv6: NLM_F_REPLACE set, but no existing node found! IPv6: NLM_F_REPLACE set, but no existing node found! device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode tc_dump_action: action bad kind binder: 16485:16496 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 16485: binder_alloc_buf, no vma binder: 16485:16517 transaction failed 29189/-3, size 0-0 line 3130 tc_dump_action: action bad kind binder: BINDER_SET_CONTEXT_MGR already set binder: 16485:16531 ioctl 40046207 0 returned -16 binder_alloc: 16485: binder_alloc_buf, no vma binder: 16485:16517 ERROR: BC_REGISTER_LOOPER called without request binder: 16485:16531 transaction failed 29189/-3, size 0-0 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 device gre0 left promiscuous mode device gre0 entered promiscuous mode device gre0 left promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 device gre0 entered promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 16659 Comm: syz-executor4 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d67af8e0 ffffffff81d906e9 ffff8801d67afbc0 0000000000000000 ffff8801a876ab90 ffff8801d67afab0 ffff8801a876aa80 ffff8801d67afad8 ffffffff8165e307 ffff8801db221ce8 ffff8801d67afa30 00000001a7e4e067 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 [] SyS_rt_tgsigqueueinfo+0x2c/0x40 kernel/signal.c:3008 [] entry_SYSCALL_64_fastpath+0x23/0xc6 device gre0 entered promiscuous mode device lo entered promiscuous mode CPU: 0 PID: 16675 Comm: syz-executor4 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c5c0f860 ffffffff81d906e9 ffff8801c5c0fb40 0000000000000000 ffff8801a876ab90 ffff8801c5c0fa30 ffff8801a876aa80 ffff8801c5c0fa58 ffffffff8165e307 0000000000000000 ffff8801c5c0f9b0 00000001a7e4e067 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 [] SyS_rt_sigtimedwait+0x2d/0x40 kernel/signal.c:2819 [] entry_SYSCALL_64_fastpath+0x23/0xc6 device lo left promiscuous mode device lo entered promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 16675 Comm: syz-executor4 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c5c0f860 ffffffff81d906e9 ffff8801c5c0fb40 0000000000000000 ffff8801a876ad10 ffff8801c5c0fa30 ffff8801a876ac00 ffff8801c5c0fa58 ffffffff8165e307 ffffffff811b6f31 ffff8801c5c0f9b0 00000001da0aa067 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