===================================== [ BUG: bad unlock balance detected! ] 4.9.67-gf26d3c7 #106 Not tainted ------------------------------------- syz-executor6/22647 is trying to release lock ([ 125.584045] device gre0 entered promiscuous mode 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/22647: #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: 1 PID: 22647 Comm: syz-executor6 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c7d4f8e8 ffffffff81d906e9 ffffffff849ae8f8 ffff8801ca839800 ffffffff834dec54 ffffffff849ae8f8 ffff8801ca83a088 ffff8801c7d4f918 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=22698 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22698 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22698 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22698 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22698 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22698 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22698 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22698 comm=syz-executor0 IPVS: Creating netns size=2536 id=36 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22698 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=22698 comm=syz-executor0 IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready 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 netlink: 73 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 73 bytes leftover after parsing attributes in process `syz-executor2'. device gre0 entered promiscuous mode device gre0 entered promiscuous mode sock: process `syz-executor4' is using obsolete setsockopt SO_BSDCOMPAT netlink: 5 bytes leftover after parsing attributes in process `syz-executor6'. IPv6: NLM_F_REPLACE set, but no existing node found! netlink: 5 bytes leftover after parsing attributes in process `syz-executor6'. IPv6: NLM_F_REPLACE set, but no existing node found! binder: 23173:23175 got transaction with invalid offset (0, min 0 max 0) or object. binder: 23173:23175 transaction failed 29201/-22, size 0-8 line 3193 binder: 23173:23175 got transaction with invalid handle, 0 binder: 23173:23175 transaction failed 29201/-22, size 24-16 line 3222 binder: 23173:23175 ioctl 4b60 20c9f000 returned -22 binder_alloc: binder_alloc_mmap_handler: 23173 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 23173:23175 ioctl 40046207 0 returned -16 binder_alloc: 23173: binder_alloc_buf, no vma binder: 23173:23190 transaction failed 29189/-3, size 0-8 line 3130 binder_alloc: 23173: binder_alloc_buf, no vma binder: 23173:23190 transaction failed 29189/-3, size 24-16 line 3130 binder: 23173:23190 ioctl 4b60 20c9f000 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 loop_reread_partitions: partition scan of loop0 (-\t@r9hxGQ:[il L*@R-Tr-x) failed (rc=-13) keychord: invalid keycode count 0 keychord: invalid keycode count 0 device gre0 entered promiscuous mode sg_write: data in/out 901092476/192 bytes for SCSI command 0x1b-- guessing data in; program syz-executor4 not setting count and/or reply_len properly binder: 23368:23382 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 23368:23382 got transaction to invalid handle binder: 23368:23382 transaction failed 29201/-22, size 24-16 line 3007 nla_parse: 2 callbacks suppressed netlink: 73 bytes leftover after parsing attributes in process `syz-executor1'. device syz5 entered promiscuous mode IPVS: Creating netns size=2536 id=37 netlink: 73 bytes leftover after parsing attributes in process `syz-executor1'. 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 TCP: request_sock_TCPv6: Possible SYN flooding on port 20006. Sending cookies. Check SNMP counters. binder: 23577:23578 ERROR: BC_REGISTER_LOOPER called without request binder: 23577:23578 BC_REQUEST_DEATH_NOTIFICATION invalid ref 3 binder: 23577:23578 DecRefs 0 refcount change on invalid ref 1 ret -22 binder: 23577:23578 BC_REQUEST_DEATH_NOTIFICATION invalid ref 2 binder: 23577:23578 got transaction with unaligned buffers size, 58534 binder: 23577:23578 transaction failed 29201/-22, size 0-40 line 3175 binder: BINDER_SET_CONTEXT_MGR already set binder: 23577:23581 ioctl 40046207 0 returned -16 binder: 23577:23581 ERROR: BC_REGISTER_LOOPER called without request binder: 23577:23581 BC_REQUEST_DEATH_NOTIFICATION invalid ref 3 binder: 23577:23581 DecRefs 0 refcount change on invalid ref 1 ret -22 binder: 23577:23581 BC_REQUEST_DEATH_NOTIFICATION invalid ref 2 binder_alloc: 23577: binder_alloc_buf, no vma binder: 23577:23578 ioctl c0306201 2000f000 returned -14 binder: 23577:23581 transaction failed 29189/-3, size 0-40 line 3130