===================================== [ BUG: bad unlock balance detected! ] 4.9.67-gf26d3c7 #106 Not tainted ------------------------------------- syz-executor2/15562 is trying to release lock ([ 93.045327] device gre0 entered promiscuous mode mrt_lock) at: but there are no more locks to release! other info that might help us debug this: 1 lock held by syz-executor2/15562: #0: (&p->lock){+.+.+.}, at: [] seq_read+0xdd/0x1290 fs/seq_file.c:178 stack backtrace: CPU: 1 PID: 15562 Comm: syz-executor2 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ccc8f8e8 ffffffff81d906e9 ffffffff849ae8f8 ffff8801c76a9800 ffffffff834dec54 ffffffff849ae8f8 ffff8801c76aa088 ffff8801ccc8f918 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 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=15589 comm=syz-executor7 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=202 sclass=netlink_route_socket pig=15589 comm=syz-executor7 device gre0 left promiscuous mode nla_parse: 7 callbacks suppressed netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. devpts: called with bogus options netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. device syz3 entered promiscuous mode IPVS: Creating netns size=2536 id=22 binder: 16019:16032 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 16019:16032 got transaction to invalid handle binder: 16019:16032 transaction failed 29201/-22, size 24-16 line 3007 IPVS: Creating netns size=2536 id=23 binder: 16019:16051 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 16019:16051 got transaction to invalid handle binder: 16019:16051 transaction failed 29201/-22, size 24-16 line 3007 netlink: 48 bytes leftover after parsing attributes in process `syz-executor7'. device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode binder: 16311:16313 ERROR: BC_REGISTER_LOOPER called without request device gre0 entered promiscuous mode binder: BINDER_SET_CONTEXT_MGR already set binder: 16311:16326 ERROR: BC_REGISTER_LOOPER called without request binder: 16311:16313 ioctl 40046207 0 returned -16 binder_alloc: 16311: binder_alloc_buf, no vma binder: 16311:16332 transaction failed 29189/-3, size 0-0 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 238, process died. netlink: 2 bytes leftover after parsing attributes in process `syz-executor0'. device gre0 entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor3'. binder: 16573:16574 BC_REQUEST_DEATH_NOTIFICATION death notification already set binder: 16573:16587 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 16573:16587 got transaction to invalid handle binder: 16573:16587 transaction failed 29201/-22, size 24-16 line 3007 binder: 16573:16591 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 16573:16587 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 16573:16587 unknown command 1986356271 binder: 16573:16587 ioctl c0306201 20003fd0 returned -22 binder: 16573:16591 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 16573:16591 Release 1 refcount change on invalid ref 0 ret -22 binder: 16573:16591 got transaction to invalid handle binder: 16573:16591 transaction failed 29201/-22, size 24-16 line 3007