ffffffff8165e497 0000000000007d81[ 83.716535] ===================================== [ BUG: bad unlock balance detected! ] 4.9.68-gfb66dc2 #107 Not tainted ------------------------------------- syz-executor6/10715 is trying to release lock ( mrt_lock) at: but there are no more locks to release! other info that might help us debug this: 2 locks held by syz-executor6/10715: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0x9f/0xc0 fs/file.c:781 (&p->lock){+.+.+.}, at: [] seq_read+0xdd/0x1290 fs/seq_file.c:178 stack backtrace: ffff8801ca1de8f0 ffff8801ca1de8a0 [] __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 CPU: 1 PID: 10715 Comm: syz-executor6 Not tainted 4.9.68-gfb66dc2 #107 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d6ae78e8 ffffffff81d90889 ffffffff849ae9f8 ffff8801cbff3000 ffffffff834dfc54 ffffffff849ae9f8 ffff8801cbff3888 ffff8801d6ae7918 ffffffff812353f4 dffffc0000000000 ffffffff849ae9f8 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: 0 PID: 10693 Comm: syz-executor1 Not tainted 4.9.68-gfb66dc2 #107 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c4e6f8d0 ffffffff81d90889 ffff8801c4e6fbb0 0000000000000000 ffff8801ce4c4a10 ffff8801c4e6faa0 ffff8801ce4c4900 ffff8801c4e6fac8 ffffffff8165e497 ffff8801c4e6f918 ffff8801c4e6fa20 00000001cb84f067 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 lo left promiscuous mode device lo entered promiscuous mode device lo left promiscuous mode mmap: syz-executor3 (10791): VmData 18427904 exceed data ulimit 2045. Update limits or use boot option ignore_rlimit_data. loop_reread_partitions: partition scan of loop0 (2°]€fI¸Òæ¶Ì”B±!S,›ùDÏ') failed (rc=-13) sock: sock_set_timeout: `syz-executor2' (pid 10830) tries to set negative timeout loop_reread_partitions: partition scan of loop0 () failed (rc=-13) sock: sock_set_timeout: `syz-executor2' (pid 10830) tries to set negative timeout SELinux: unrecognized netlink message: protocol=0 nlmsg_type=59136 sclass=netlink_route_socket pig=10919 comm=syz-executor5 sock: sock_set_timeout: `syz-executor2' (pid 10929) tries to set negative timeout sock: sock_set_timeout: `syz-executor7' (pid 10959) tries to set negative timeout SELinux: unrecognized netlink message: protocol=0 nlmsg_type=59136 sclass=netlink_route_socket pig=10956 comm=syz-executor5 binder: 10963:10964 BC_FREE_BUFFER u0000000000000000 no match binder: 10963:10985 BC_FREE_BUFFER u0000000000000000 no match sock: sock_set_timeout: `syz-executor2' (pid 10945) tries to set negative timeout sock: sock_set_timeout: `syz-executor7' (pid 10959) tries to set negative timeout binder: 11031:11032 ERROR: BC_REGISTER_LOOPER called without request binder: 11031:11040 transaction failed 29189/-22, size 0-0 line 3007 binder: 11031:11040 BC_ACQUIRE_DONE node 83 has no pending acquire request binder: 11031:11040 got reply transaction with no transaction stack binder: 11031:11040 transaction failed 29201/-71, size 48-40 line 2923 binder: 11031:11040 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 11031: binder_alloc_buf, no vma binder: 11031:11032 transaction failed 29189/-3, size 0-0 line 3130 binder: BINDER_SET_CONTEXT_MGR already set binder: 11031:11040 ioctl 40046207 0 returned -16 binder: 11031:11054 BC_ACQUIRE_DONE u0000000000000000 no match binder: 11031:11054 got reply transaction with no transaction stack binder: 11031:11054 transaction failed 29201/-71, size 48-40 line 2923 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 11115:11119 ERROR: BC_REGISTER_LOOPER called without request binder: 11115:11128 transaction failed 29189/-22, size 0-0 line 3007 device lo left promiscuous mode binder: 11115:11128 BC_ACQUIRE_DONE node 90 has no pending acquire request binder: 11115:11128 got reply transaction with no transaction stack binder: 11115:11128 transaction failed 29201/-71, size 48-40 line 2923 binder: 11115:11128 ioctl c0306201 20000000 returned -14 binder: 11115:11133 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 11115: binder_alloc_buf, no vma binder: 11115:11119 transaction failed 29189/-3, size 0-0 line 3130 binder: BINDER_SET_CONTEXT_MGR already set binder: 11115:11119 ioctl 40046207 0 returned -16 binder: 11115:11133 BC_ACQUIRE_DONE u0000000000000000 no match binder: 11115:11133 got reply transaction with no transaction stack binder: 11115:11133 transaction failed 29201/-71, size 48-40 line 2923 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 11262:11264 ioctl 40046205 0 returned -22 binder: 11262:11264 ERROR: BC_REGISTER_LOOPER called without request binder: 11262:11264 got transaction to invalid handle binder: 11262:11264 transaction failed 29201/-22, size 0-8 line 3007 binder: 11262:11264 BC_FREE_BUFFER u0000000000000000 no match binder: 11262:11264 got transaction with invalid data ptr binder: 11262:11264 transaction failed 29201/-14, size 72-8 line 3149 binder: undelivered TRANSACTION_COMPLETE binder: 11262:11264 ioctl 40046205 6 returned -22 binder: undelivered transaction 99, process died. binder: 11262:11284 ioctl 40046205 0 returned -22 binder: 11262:11264 ERROR: BC_REGISTER_LOOPER called without request binder: 11262:11264 got transaction to invalid handle binder: 11262:11264 transaction failed 29201/-22, size 0-8 line 3007 binder: 11262:11264 ioctl c0306201 2000afd0 returned -14 binder: 11262:11284 BC_FREE_BUFFER u0000000000000000 no match binder: 11262:11284 IncRefs 0 refcount change on invalid ref 1 ret -22 binder: 11262:11284 got transaction to invalid handle binder: 11262:11284 transaction failed 29201/-22, size 72-8 line 3007 binder: 11262:11284 ioctl c0306201 20005fd0 returned -14 binder: release 11262:11284 transaction 105 out, still active binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: send failed reply for transaction 105, target dead SELinux: unrecognized netlink message: protocol=0 nlmsg_type=769 sclass=netlink_route_socket pig=11334 comm=syz-executor3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=769 sclass=netlink_route_socket pig=11342 comm=syz-executor3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=23 sclass=netlink_route_socket pig=11384 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=23 sclass=netlink_route_socket pig=11384 comm=syz-executor2 netlink: 9 bytes leftover after parsing attributes in process `syz-executor5'. A link change request failed with some changes committed already. Interface lo may have been left with an inconsistent configuration, please check. netlink: 9 bytes leftover after parsing attributes in process `syz-executor5'. A link change request failed with some changes committed already. Interface lo may have been left with an inconsistent configuration, please check. SELinux: unrecognized netlink message: protocol=6 nlmsg_type=0 sclass=netlink_xfrm_socket pig=11456 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=0 sclass=netlink_xfrm_socket pig=11456 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=769 sclass=netlink_audit_socket pig=11876 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=769 sclass=netlink_tcpdiag_socket pig=12499 comm=syz-executor5 selinux_nlmsg_perm: 1 callbacks suppressed SELinux: unrecognized netlink message: protocol=4 nlmsg_type=23 sclass=netlink_tcpdiag_socket pig=12774 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=23 sclass=netlink_tcpdiag_socket pig=12774 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=6925 sclass=netlink_xfrm_socket pig=12837 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=769 sclass=netlink_route_socket pig=12951 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=8 sclass=netlink_xfrm_socket pig=12959 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=8 sclass=netlink_xfrm_socket pig=12959 comm=syz-executor2 audit: type=1400 audit(1513012536.090:49): avc: denied { create } for pid=13098 comm="syz-executor2" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_crypto_socket permissive=1