===================================== [ BUG: bad unlock balance detected! ] 4.9.67-gf26d3c7 #106 Not tainted ------------------------------------- syz-executor0/10270 is trying to release lock (mrt_lock[ 62.106621] device gre0 entered promiscuous mode ) at: but there are no more locks to release! other info that might help us debug this: 1 lock held by syz-executor0/10270: #0: (&p->lock){+.+.+.}, at: [] seq_read+0xdd/0x1290 fs/seq_file.c:178 stack backtrace: CPU: 1 PID: 10270 Comm: syz-executor0 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c63478e8 ffffffff81d906e9 ffffffff849ae8f8 ffff8801d4811800 ffffffff834dec54 ffffffff849ae8f8 ffff8801d4812088 ffff8801c6347918 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 binder: 10319:10320 ERROR: BC_REGISTER_LOOPER called without request binder: 10319:10320 ioctl c0306201 20008fd0 returned -11 binder: BINDER_SET_CONTEXT_MGR already set binder: 10319:10320 ioctl 40046207 0 returned -16 binder: 10319:10336 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 10319: binder_alloc_buf, no vma binder: 10319:10340 transaction failed 29189/-3, size 0-0 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 10319:10320 transaction 96 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 96, target dead nla_parse: 2 callbacks suppressed netlink: 5 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. PF_BRIDGE: RTM_NEWNEIGH with unknown ifindex IPVS: Creating netns size=2536 id=15 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=257 sclass=netlink_xfrm_socket pig=10480 comm=syz-executor6 PF_BRIDGE: RTM_NEWNEIGH with unknown ifindex SELinux: unrecognized netlink message: protocol=6 nlmsg_type=257 sclass=netlink_xfrm_socket pig=10456 comm=syz-executor6 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 device lo entered promiscuous mode netlink: 7 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 7 bytes leftover after parsing attributes in process `syz-executor4'. device gre0 entered promiscuous mode loop: Write error at byte offset 0, length 512. blk_update_request: I/O error, dev loop4, sector 0 Buffer I/O error on dev loop4, logical block 0, lost async page write loop: Write error at byte offset 0, length 512. blk_update_request: I/O error, dev loop4, sector 0 Buffer I/O error on dev loop4, logical block 0, lost async page write netlink: 11 bytes leftover after parsing attributes in process `syz-executor6'. loop: Write error at byte offset 0, length 512. blk_update_request: I/O error, dev loop4, sector 0 Buffer I/O error on dev loop4, logical block 0, lost async page write 9pnet_virtio: no channels available for device H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H loop: Write error at byte offset 0, length 512. blk_update_request: I/O error, dev loop4, sector 0 Buffer I/O error on dev loop4, logical block 0, lost async page write netlink: 11 bytes leftover after parsing attributes in process `syz-executor6'. 9pnet_virtio: no channels available for device H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H¨H device gre0 entered promiscuous mode binder: 10954:10958 got transaction to invalid handle binder: 10954:10958 transaction failed 29201/-22, size 0-0 line 3007 binder: 10954:10965 got transaction to invalid handle binder: 10954:10965 transaction failed 29201/-22, size 0-0 line 3007 binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_ERROR: 29201 netlink: 11 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor3'. device gre0 entered promiscuous mode binder: 11094:11106 ERROR: BC_REGISTER_LOOPER called without request binder: 11094:11106 BC_FREE_BUFFER u0000000000000000 no match binder: 11094:11106 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 11094:11106 BC_ACQUIRE_DONE uffffffffffffffff no match binder: 11094:11106 got transaction with too large buffer binder: 11094:11106 transaction failed 29201/-22, size 40-8 line 3289 binder: 11094:11106 ioctl c0306201 20009fd0 returned -14 binder: 11094:11121 unknown command 0 binder: 11094:11121 ioctl c0306201 2000a000 returned -22 binder: 11094:11121 got reply transaction with no transaction stack binder: 11094:11121 transaction failed 29201/-71, size 32-8 line 2923 binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_ERROR: 29201 binder: 11094:11098 ERROR: BC_REGISTER_LOOPER called without request binder: 11094:11106 BC_FREE_BUFFER u0000000000000000 no match binder: 11094:11106 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 11094:11106 BC_ACQUIRE_DONE uffffffffffffffff no match binder_alloc: 11094: binder_alloc_buf, no vma binder: 11094:11106 transaction failed 29189/-3, size 40-8 line 3130 binder: 11094:11121 got reply transaction with no transaction stack binder: 11094:11121 transaction failed 29201/-71, size 32-8 line 2923 binder: 11094:11098 ioctl c0306201 2000a000 returned -14 binder: 11094:11106 ioctl c0306201 20009fd0 returned -14 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 IPVS: Creating netns size=2536 id=16 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 device gre0 entered promiscuous mode program syz-executor3 is using a deprecated SCSI ioctl, please convert it to SG_IO sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 program syz-executor3 is using a deprecated SCSI ioctl, please convert it to SG_IO sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 11403 Comm: syz-executor5 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c828f670 ffffffff81d906e9 ffff8801c828f950 0000000000000000 ffff8801a40beb90 ffff8801c828f840 ffff8801a40bea80 ffff8801c828f868 ffffffff8165e307 ffff8801db2214a0 ffff8801c828f7c0 00000001d8f5c067 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_pselect fs/select.c:688 [inline] [] SYSC_pselect6 fs/select.c:729 [inline] [] SyS_pselect6+0x2ae/0x550 fs/select.c:714 [] entry_SYSCALL_64_fastpath+0x23/0xc6 device eql entered promiscuous mode nla_parse: 10 callbacks suppressed netlink: 5 bytes leftover after parsing attributes in process `syz-executor4'. device gre0 entered promiscuous mode device eql entered promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 FAULT_FLAG_ALLOW_RETRY missing 20 CPU: 1 PID: 11792 Comm: syz-executor2 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a37172d8 ffffffff81d906e9 ffff8801a37175b8 0000000000000000 ffff8801c8fa0710 ffff8801a37174a8 ffff8801c8fa0600 ffff8801a37174d0 ffffffff8165e307 0000000000000000 ffff8801a3717428 00000001a83e0067 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 [] faultin_page mm/gup.c:386 [inline] [] __get_user_pages+0x39a/0x1010 mm/gup.c:585 [] __get_user_pages_locked mm/gup.c:797 [inline] [] __get_user_pages_unlocked mm/gup.c:872 [inline] [] get_user_pages_unlocked+0x1d3/0x370 mm/gup.c:900 [] get_user_pages_fast+0x11e/0x320 arch/x86/mm/gup.c:440 [] get_futex_key+0x20a/0x1050 kernel/futex.c:545 [] futex_requeue+0x240/0x15c0 kernel/futex.c:1746 [] do_futex+0x48f/0x15c0 kernel/futex.c:3242 [] SYSC_futex kernel/futex.c:3280 [inline] [] SyS_futex+0x226/0x2d0 kernel/futex.c:3248 [] entry_SYSCALL_64_fastpath+0x23/0xc6 netlink: 11 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor0'. CPU: 1 PID: 11808 Comm: syz-executor2 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a960f930 ffffffff81d906e9 ffff8801a960fc10 0000000000000000 ffff8801c8fa0710 ffff8801a960fb00 ffff8801c8fa0600 ffff8801a960fb28 ffffffff8165e307 ffff8801a960fac8 ffff8801a960fa80 00000001a83e0067 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 [] entry_SYSCALL_64_fastpath+0x23/0xc6 binder: 12000:12002 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 netlink: 1 bytes leftover after parsing attributes in process `syz-executor3'. binder_alloc: 12000: binder_alloc_buf, no vma binder: 12000:12011 transaction failed 29189/-3, size 0-0 line 3130 netlink: 1 bytes leftover after parsing attributes in process `syz-executor3'. binder: 12000:12011 ioctl 8904 20004ffc returned -22 binder: 12000:12011 ioctl c0306201 2000ffd0 returned -14 binder: 12000:12011 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder_alloc: 12000: binder_alloc_buf, no vma binder: 12000:12034 got reply transaction with no transaction stack binder: 12000:12034 transaction failed 29201/-71, size 32-8 line 2923 binder: 12000:12011 ioctl 8904 20004ffc returned -22 binder: 12000:12002 transaction failed 29189/-3, size 0-0 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201