SELinux: unrecognized netlink message: protocol=0 nlmsg_type=34745 sclass=netlink_route_socket pig=8667 comm=syz-executor0 ===================================== [ BUG: bad unlock balance detected! ] SELinux: unrecognized netlink message: protocol=0 nlmsg_type=17428 sclass=netlink_route_socket pig=8696 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=34745 sclass=netlink_route_socket pig=8667 comm=syz-executor0 4.9.69-g3f1d77c #108 Not tainted ------------------------------------- syz-executor7/8678 is trying to release lock ([ 48.329118] SELinux: unrecognized netlink message: protocol=0 nlmsg_type=17428 sclass=netlink_route_socket pig=8704 comm=syz-executor2 mrt_lock) at: but there are no more locks to release! other info that might help us debug this: 2 locks held by syz-executor7/8678: #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: 8678 Comm: syz-executor7 Not tainted 4.9.69-g3f1d77c #108 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801aa5078e8 ffffffff81d90a29 ffffffff849ae9f8 ffff8801a49ac800 ffffffff834dfd74 ffffffff849ae9f8 ffff8801a49ad088 ffff8801aa507918 ffffffff81235404 dffffc0000000000 ffffffff849ae9f8 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 lo entered promiscuous mode device syz6 entered promiscuous mode binder: 8894:8897 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 8894:8897 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 8894:8900 BC_DEAD_BINDER_DONE 0000000000000000 not found binder: undelivered death notification, 0000000000000000 binder: BINDER_SET_CONTEXT_MGR already set binder: 8921:8927 ioctl 40046207 0 returned -16 IPVS: Creating netns size=2536 id=11 IPVS: Creating netns size=2536 id=12 nla_parse: 11 callbacks suppressed netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. program syz-executor4 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 audit: type=1400 audit(1513477182.625:48): avc: denied { dyntransition } for pid=9045 comm="syz-executor7" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=process permissive=1 netlink: 1 bytes leftover after parsing attributes in process `syz-executor0'. program syz-executor4 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 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 netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. 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 netlink: 1 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. device gre0 entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. device gre0 left promiscuous mode device gre0 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=17428 sclass=netlink_route_socket pig=9414 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=17428 sclass=netlink_route_socket pig=9423 comm=syz-executor4 netlink: 25 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 25 bytes leftover after parsing attributes in process `syz-executor6'. loop: Write error at byte offset 0, length 512. blk_update_request: 7 callbacks suppressed blk_update_request: I/O error, dev loop4, sector 0 buffer_io_error: 7 callbacks suppressed Buffer I/O error on dev loop4, logical block 0, lost async page write VFS: Dirty inode writeback failed for block device loop4 (err=-5). loop: Write error at byte offset 0, length 512. blk_update_request: I/O error, dev loop4, sector 0 Buffer I/O error on dev loop4, logical block 0, lost async page write VFS: Dirty inode writeback failed for block device loop4 (err=-5). device gre0 entered promiscuous mode device gre0 entered promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 9631 Comm: syz-executor5 Not tainted 4.9.69-g3f1d77c #108 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a7e2f960 ffffffff81d90a29 ffff8801a7e2fc40 0000000000000000 ffff8801a777a110 ffff8801a7e2fb30 ffff8801a777a000 ffff8801a7e2fb58 ffffffff8165e557 ffff8801a7e2f980 ffff8801a7e2fab0 00000001c6c4a067 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 audit: type=1400 audit(1513477185.945:49): avc: denied { write } for pid=9686 comm="syz-executor1" path="socket:[18279]" dev="sockfs" ino=18279 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_fib_lookup_socket permissive=1 audit: type=1400 audit(1513477186.005:50): avc: denied { read } for pid=9686 comm="syz-executor1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_fib_lookup_socket permissive=1 keychord: unsupported version 257 keychord: unsupported version 257 audit: type=1400 audit(1513477186.175:51): avc: denied { setopt } for pid=9778 comm="syz-executor1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 left promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode