===================================== [ BUG: bad unlock balance detected! ] 4.9.67-gf26d3c7 #106 Not tainted ------------------------------------- syz-executor2/27578 is trying to release lock ([ 144.349632] keychord: keycode 16224 out of range mrt_lock) at: but there are no more locks to release! other info that might help us debug this: 2 locks held by syz-executor2/27578: #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: 27578 Comm: syz-executor2 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d1e9f8e8 ffffffff81d906e9 ffffffff849ae8f8 ffff8801d1e90000 ffffffff834dec54 ffffffff849ae8f8 ffff8801d1e90888 ffff8801d1e9f918 ffffffff812353f4 dffffc0000000000[ 144.437868] binder: 27627:27628 ERROR: BC_REGISTER_LOOPER called without request ffffffff849ae8f8 00000000ffffffff [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 binder: 27627:27628 ioctl c018620b 20000fe8 returned -14 binder: 27627:27628 BC_FREE_BUFFER uffffffffffffffff no match binder: 27627:27628 got transaction with invalid offsets ptr binder: 27627:27628 transaction failed 29201/-14, size 72-8 line 3158 binder: unexpected work type, 4, not freed binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: 27627:27628 BC_FREE_BUFFER u0000000000000000 no match binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 418, process died. [] 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: 27627:27634 ERROR: BC_REGISTER_LOOPER called without request 9pnet_virtio: no channels available for device ./file0 binder: 27627:27634 ioctl c018620b 20000fe8 returned -14 nla_parse: 4 callbacks suppressed netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. binder: 27627:27628 BC_FREE_BUFFER uffffffffffffffff no match binder: 27627:27628 IncRefs 0 refcount change on invalid ref 1 ret -22 binder: 27627:27628 got transaction to invalid handle binder: 27627:27628 transaction failed 29201/-22, size 72-8 line 3007 9pnet_virtio: no channels available for device ./file0 binder: 27627:27653 BC_FREE_BUFFER u0000000000000000 no match binder: undelivered TRANSACTION_ERROR: 29201 binder: send failed reply for transaction 424 to 27627:27628 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189 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: 5 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor3'. IPVS: Creating netns size=2536 id=49 device gre0 entered promiscuous mode 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 left promiscuous mode device lo entered promiscuous mode device lo left promiscuous mode device eql entered promiscuous mode binder: 27848:27849 ioctl 2403 ffff returned -22 binder: 27848:27849 ioctl 8004e500 20005000 returned -22 binder: undelivered death notification, 0000000000000000 binder: 27848:27849 ioctl 2403 ffff returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 27848:27856 ioctl 40046207 0 returned -16 binder: 27848:27849 ioctl 8004e500 20005000 returned -22 binder: undelivered death notification, 0000000000000000 netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. tc_dump_action: action bad kind SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=28037 comm=syz-executor2 device lo entered promiscuous mode device lo left promiscuous mode device lo entered promiscuous mode device lo left promiscuous mode IPVS: Creating netns size=2536 id=50 IPVS: Creating netns size=2536 id=51 netlink: 16 bytes leftover after parsing attributes in process `syz-executor1'. program syz-executor5 is using a deprecated SCSI ioctl, please convert it to SG_IO netlink: 16 bytes leftover after parsing attributes in process `syz-executor1'. sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 program syz-executor5 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 device gre0 entered promiscuous mode binder: 28489:28492 ERROR: BC_REGISTER_LOOPER called without request binder: BINDER_SET_CONTEXT_MGR already set binder: 28489:28492 ioctl 40046207 0 returned -16 binder: 28489:28503 ERROR: BC_REGISTER_LOOPER called without request binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 432, process died. TCP: request_sock_TCPv6: Possible SYN flooding on port 20022. Sending cookies. Check SNMP counters. device syz0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode 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 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 binder: 28754:28757 ioctl 85 20416000 returned -22 binder: 28754:28757 IncRefs 0 refcount change on invalid ref 2 ret -22 binder: 28754:28757 Acquire 1 refcount change on invalid ref 4 ret -22 binder: 28754:28757 unknown command 0 binder: 28754:28757 ioctl c0306201 20000fd0 returned -22 binder: 28754:28772 ioctl 85 20416000 returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 28754:28772 ioctl 40046207 0 returned -16