===================================== sg_write: data in/out 327644/32 bytes for SCSI command 0x4-- guessing data in; program syz-executor4 not setting count and/or reply_len properly [ BUG: bad unlock balance detected! ] 4.9.67-gf26d3c7 #106 Not tainted ------------------------------------- syz-executor2/17341 is trying to release lock ([ 104.952708] 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/17341: #0: (&p->lock){+.+.+.}, at: [] seq_read+0xdd/0x1290 fs/seq_file.c:178 stack backtrace: CPU: 1 PID: 17341 Comm: syz-executor2 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c88ff8e8 ffffffff81d906e9 ffffffff849ae8f8 ffff8801d5a28000 ffffffff834dec54 ffffffff849ae8f8 ffff8801d5a28888 ffff8801c88ff918 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 gre0 entered promiscuous mode binder: 17461:17462 ioctl 40046205 5 returned -22 device gre0 entered promiscuous mode binder: 17461:17470 ioctl 40046205 5 returned -22 IPVS: Creating netns size=2536 id=23 binder: 17496:17503 ERROR: BC_REGISTER_LOOPER called without request binder: 17496:17518 BC_DEAD_BINDER_DONE 0000000000000000 not found binder: 17496:17518 got reply transaction with no transaction stack binder: 17496:17518 transaction failed 29201/-71, size 48-16 line 2923 binder: 17524:17526 ioctl 40046205 5 returned -22 binder: 17496:17503 ERROR: BC_REGISTER_LOOPER called without request binder: 17496:17518 BC_DEAD_BINDER_DONE 0000000000000000 not found binder: 17496:17518 got reply transaction with no transaction stack binder: 17496:17518 transaction failed 29201/-71, size 48-16 line 2923 loop_reread_partitions: partition scan of loop0 (2°]€fI¸Òæ¶Ì”B±!S,›ùDÏ') failed (rc=-13) device gre0 entered promiscuous mode binder: 17524:17536 ioctl 40046205 5 returned -22 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 IPVS: Creating netns size=2536 id=24 binder: 17574:17575 ERROR: BC_REGISTER_LOOPER called without request binder: 17574:17575 ioctl c0306201 20008fd0 returned -11 binder: BINDER_SET_CONTEXT_MGR already set binder: 17574:17575 ioctl 40046207 0 returned -16 binder: 17574:17596 ERROR: BC_REGISTER_LOOPER called without request binder: send failed reply for transaction 170 to 17574:17575 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189 IPVS: Creating netns size=2536 id=25 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 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1 sclass=netlink_route_socket pig=17678 comm=syz-executor1 device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1 sclass=netlink_route_socket pig=17690 comm=syz-executor1 netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=5 sclass=netlink_route_socket pig=17766 comm=syz-executor0 device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=17766 comm=syz-executor0 device lo entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=5 sclass=netlink_route_socket pig=17781 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=17815 comm=syz-executor0 FAULT_FLAG_ALLOW_RETRY missing 30 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 17865 Comm: syz-executor0 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a32c7840 ffffffff81d906e9 ffff8801a32c7b20 0000000000000000 ffff8801a6694d10 ffff8801a32c7a10 ffff8801a6694c00 ffff8801a32c7a38 ffffffff8165e307 0000000000000000 ffff8801a32c7990 00000001d8f17067 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 [] SYSC_fsetxattr fs/xattr.c:504 [inline] [] SyS_fsetxattr+0x130/0x190 fs/xattr.c:493 [] entry_SYSCALL_64_fastpath+0x23/0xc6 binder: 17920:17921 ERROR: BC_REGISTER_LOOPER called without request binder: 17920:17921 ioctl c0306201 20008fd0 returned -11 binder: BINDER_SET_CONTEXT_MGR already set binder: 17920:17921 ioctl 40046207 0 returned -16 binder: 17920:17927 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 17920: binder_alloc_buf, no vma binder: 17920:17921 transaction failed 29189/-3, size 0-0 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: send failed reply for transaction 172 to 17920:17921 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189 CPU: 1 PID: 17853 Comm: syz-executor0 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a288f740 ffffffff81d906e9 ffff8801a288fa20 0000000000000000 ffff8801a6694d10 ffff8801a288f910 ffff8801a6694c00 ffff8801a288f938 ffffffff8165e307 ffff8801a288f798 ffff8801a288f890 00000001d8f17067 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 FAULT_FLAG_ALLOW_RETRY missing 30 [] do_fcntl fs/fcntl.c:274 [inline] [] SYSC_fcntl fs/fcntl.c:372 [inline] [] SyS_fcntl+0x8fd/0xc70 fs/fcntl.c:357 [] entry_SYSCALL_64_fastpath+0x23/0xc6 CPU: 0 PID: 17842 Comm: syz-executor0 Not tainted 4.9.67-gf26d3c7 #106 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cb5ff820 ffffffff81d906e9 ffff8801cb5ffb00 0000000000000000 ffff8801a6694d10 ffff8801cb5ff9f0 ffff8801a6694c00 ffff8801cb5ffa18 ffffffff8165e307 ffffffff00000002 ffff880100000064 0000002200004400 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 [] getname_flags+0x10e/0x580 fs/namei.c:148 [] getname+0x19/0x20 fs/namei.c:208 [] SYSC_mq_open ipc/mqueue.c:787 [inline] [] SyS_mq_open+0x22b/0x940 ipc/mqueue.c:769 [] entry_SYSCALL_64_fastpath+0x23/0xc6 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=18 sclass=netlink_audit_socket pig=17953 comm=syz-executor0 binder: 17938:17945 ERROR: BC_REGISTER_LOOPER called without request binder: 17938:17945 ioctl c0306201 20008fd0 returned -11 binder: BINDER_SET_CONTEXT_MGR already set binder: 17938:17945 ioctl 40046207 0 returned -16 binder: 17938:17955 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 17938: binder_alloc_buf, no vma binder: 17938:17945 transaction failed 29189/-3, size 0-0 line 3130 binder: undelivered TRANSACTION_ERROR: 29189 binder: send failed reply for transaction 175 to 17938:17945 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189 device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=9 nlmsg_type=18 sclass=netlink_audit_socket pig=17959 comm=syz-executor0