===================================== [ BUG: bad unlock balance detected! ] 4.9.67-gf26d3c7 #106 Not tainted ------------------------------------- syz-executor1/13498 is trying to release lock (mrt_lock[ 513.676297] device gre0 entered promiscuous mode ) at: but there are no more locks to release! other info that might help us debug this: 2 locks held by syz-executor1/13498: #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: 13498 Comm: syz-executor1 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c63bf8e8 ffffffff81d906e9 ffffffff849ae8f8 ffff8801d92e0000 ffffffff834dec54 ffffffff849ae8f8 ffff8801d92e0888 ffff8801c63bf918 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 device eql entered promiscuous mode binder: 13638:13641 parent offset not aligned correctly. binder: 13638:13641 transaction failed 29201/-22, size 72-32 line 3272 device gre0 entered promiscuous mode binder: BINDER_SET_CONTEXT_MGR already set binder: 13638:13646 ioctl 40046207 0 returned -16 binder_alloc: 13638: binder_alloc_buf, no vma binder: 13638:13641 transaction failed 29189/-3, size 72-32 line 3130 program syz-executor2 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 netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. program syz-executor2 is using a deprecated SCSI ioctl, please convert it to SG_IO netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 sd 0:0:1:0: [sg0] tag#126 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#126 CDB: Test Unit Ready sd 0:0:1:0: [sg0] tag#126 CDB[00]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#126 CDB[10]: 00 00 00 00 10 27 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#126 CDB[20]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#126 CDB[30]: 00 00 00 00 00 00 00 00 00 00 00 00 FAULT_FLAG_ALLOW_RETRY missing 30 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 13717 Comm: syz-executor5 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d8baf8a0 ffffffff81d906e9 ffff8801d8bafb80 0000000000000000 ffff8801c6e0ed10 ffff8801d8bafa70 ffff8801c6e0ec00 ffff8801d8bafa98 ffffffff8165e307 ffff8801d1d36000 ffff8801d8baf9f0 00000001ca730067 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 device gre0 entered promiscuous mode netlink: 11 bytes leftover after parsing attributes in process `syz-executor2'. CPU: 1 PID: 13722 Comm: syz-executor5 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ca0e79a0 ffffffff81d906e9 ffff8801ca0e7c80 0000000000000000 ffff8801c6e0ed10 ffff8801ca0e7b70 ffff8801c6e0ec00 ffff8801ca0e7b98 ffffffff8165e307 0000000000000282 ffff8801ca0e7af0 00000001ca730067 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: 13897:13898 ioctl 40046205 0 returned -22 binder: 13897:13898 ERROR: BC_REGISTER_LOOPER called without request IPVS: Creating netns size=2536 id=75 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 binder: 13897:13909 got transaction to invalid handle binder: 13898 RLIMIT_NICE not set binder: 13897:13909 transaction failed 29201/-22, size 0-8 line 3007 binder: 13897:13898 BC_FREE_BUFFER u0000000000000000 no match IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready qtaguid: iface_stat: create6(lo): no inet dev binder: 13897:13898 got transaction with fd, -1, but target does not allow fds binder: 13897:13898 transaction failed 29201/-1, size 72-8 line 3235 binder: 13897:13898 ioctl c0306201 20005fd0 returned -14 binder: unexpected work type, 4, not freed binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: 13897:13898 BC_FREE_BUFFER u00000000ffffffff no match binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered transaction 638, process died. binder: 13897:13898 ioctl 40046205 6 returned -22 binder: 13897:13898 ioctl 40046205 0 returned -22 binder: 13897:13909 ERROR: BC_REGISTER_LOOPER called without request binder: 13897:13909 got transaction to invalid handle binder: 13897:13909 transaction failed 29201/-22, size 0-8 line 3007 binder: 13897:13909 got reply transaction with no transaction stack binder: 13897:13909 transaction failed 29201/-71, size 24-8 line 2923 binder: 13897:13953 BC_FREE_BUFFER u0000000000000000 no match binder: 13897:13953 IncRefs 0 refcount change on invalid ref 1 ret -22 binder: 13897:13953 got transaction to invalid handle binder: 13897:13953 transaction failed 29201/-22, size 72-8 line 3007 binder: 13897:13953 ioctl c0306201 20005fd0 returned -14 binder: undelivered TRANSACTION_ERROR: 29201 binder: 13897:13953 BC_FREE_BUFFER u0000000000000000 no match binder: undelivered TRANSACTION_ERROR: 29201 binder: send failed reply for transaction 644 to 13897:13953 binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189 binder: 14010:14011 got transaction with invalid offset (0, min 0 max 0) or object. binder: 14010:14011 transaction failed 29201/-22, size 0-8 line 3193 binder: 14010:14011 got transaction with invalid handle, 0 binder: 14010:14011 transaction failed 29201/-22, size 24-16 line 3222 binder_alloc: binder_alloc_mmap_handler: 14010 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 14010:14011 ioctl 40046207 0 returned -16 binder_alloc: 14010: binder_alloc_buf, no vma binder: 14010:14024 transaction failed 29189/-3, size 0-8 line 3130 binder_alloc: 14010: binder_alloc_buf, no vma binder: 14010:14024 transaction failed 29189/-3, size 24-16 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 devpts: called with bogus options devpts: called with bogus options binder_alloc: binder_alloc_mmap_handler: 14085 20000000-20002000 already mapped failed -16