QAT: Invalid ioctl QAT: Invalid ioctl audit: type=1400 audit(1520653782.526:44): avc: denied { setopt } for pid=6595 comm="syz-executor7" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=socket permissive=1 ====================================================== WARNING: possible circular locking dependency detected 4.16.0-rc4+ #347 Not tainted ------------------------------------------------------ syz-executor3/6624 is trying to acquire lock: (&sb->s_type->i_mutex_key#11){++++}, at: [<0000000051dde5a6>] inode_lock include/linux/fs.h:713 [inline] (&sb->s_type->i_mutex_key#11){++++}, at: [<0000000051dde5a6>] shmem_file_llseek+0xef/0x240 mm/shmem.c:2579 but task is already holding lock: (ashmem_mutex){+.+.}, at: [<000000000926854c>] ashmem_llseek+0x56/0x1f0 drivers/staging/android/ashmem.c:326 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (ashmem_mutex){+.+.}: __mutex_lock_common kernel/locking/mutex.c:756 [inline] __mutex_lock+0x16f/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 ashmem_mmap+0x53/0x410 drivers/staging/android/ashmem.c:362 call_mmap include/linux/fs.h:1786 [inline] mmap_region+0xa99/0x15a0 mm/mmap.c:1705 do_mmap+0x6c0/0xe00 mm/mmap.c:1483 do_mmap_pgoff include/linux/mm.h:2223 [inline] vm_mmap_pgoff+0x1de/0x280 mm/util.c:355 SYSC_mmap_pgoff mm/mmap.c:1533 [inline] SyS_mmap_pgoff+0x462/0x5f0 mm/mmap.c:1491 SYSC_mmap arch/x86/kernel/sys_x86_64.c:100 [inline] SyS_mmap+0x16/0x20 arch/x86/kernel/sys_x86_64.c:91 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 -> #1 (&mm->mmap_sem){++++}: __might_fault+0x13a/0x1d0 mm/memory.c:4571 _copy_to_user+0x2c/0xc0 lib/usercopy.c:25 copy_to_user include/linux/uaccess.h:155 [inline] filldir+0x1a7/0x320 fs/readdir.c:196 dir_emit_dot include/linux/fs.h:3370 [inline] dir_emit_dots include/linux/fs.h:3381 [inline] dcache_readdir+0x12d/0x5e0 fs/libfs.c:192 iterate_dir+0x1ca/0x530 fs/readdir.c:51 SYSC_getdents fs/readdir.c:231 [inline] SyS_getdents+0x225/0x450 fs/readdir.c:212 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 -> #0 (&sb->s_type->i_mutex_key#11){++++}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:3920 down_write+0x87/0x120 kernel/locking/rwsem.c:70 inode_lock include/linux/fs.h:713 [inline] shmem_file_llseek+0xef/0x240 mm/shmem.c:2579 vfs_llseek+0xa2/0xd0 fs/read_write.c:300 ashmem_llseek+0xe7/0x1f0 drivers/staging/android/ashmem.c:338 vfs_llseek fs/read_write.c:300 [inline] SYSC_lseek fs/read_write.c:313 [inline] SyS_lseek+0xeb/0x170 fs/read_write.c:304 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 other info that might help us debug this: Chain exists of: &sb->s_type->i_mutex_key#11 --> &mm->mmap_sem --> ashmem_mutex Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(ashmem_mutex); lock(&mm->mmap_sem); lock(ashmem_mutex); lock(&sb->s_type->i_mutex_key#11); *** DEADLOCK *** 1 lock held by syz-executor3/6624: #0: (ashmem_mutex){+.+.}, at: [<000000000926854c>] ashmem_llseek+0x56/0x1f0 drivers/staging/android/ashmem.c:326 stack backtrace: CPU: 0 PID: 6624 Comm: syz-executor3 Not tainted 4.16.0-rc4+ #347 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 print_circular_bug.isra.38+0x2cd/0x2dc kernel/locking/lockdep.c:1223 check_prev_add kernel/locking/lockdep.c:1863 [inline] check_prevs_add kernel/locking/lockdep.c:1976 [inline] validate_chain kernel/locking/lockdep.c:2417 [inline] __lock_acquire+0x30a8/0x3e00 kernel/locking/lockdep.c:3431 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:3920 down_write+0x87/0x120 kernel/locking/rwsem.c:70 inode_lock include/linux/fs.h:713 [inline] shmem_file_llseek+0xef/0x240 mm/shmem.c:2579 vfs_llseek+0xa2/0xd0 fs/read_write.c:300 ashmem_llseek+0xe7/0x1f0 drivers/staging/android/ashmem.c:338 vfs_llseek fs/read_write.c:300 [inline] SYSC_lseek fs/read_write.c:313 [inline] SyS_lseek+0xeb/0x170 fs/read_write.c:304 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007feb7eda9c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000008 RAX: ffffffffffffffda RBX: 00007feb7edaa6d4 RCX: 0000000000453e69 RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000014 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000003da R14: 00000000006f5d10 R15: 0000000000000000 binder: 6660:6661 ERROR: BC_REGISTER_LOOPER called without request binder: 6660:6661 ERROR: BC_REGISTER_LOOPER called without request binder: 6660:6661 got transaction to invalid handle binder: 6660:6661 transaction failed 29201/-22, size 24-8 line 2848 binder: BINDER_SET_CONTEXT_MGR already set audit: type=1400 audit(1520653783.227:45): avc: denied { call } for pid=6660 comm="syz-executor6" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 binder: 6673 RLIMIT_NICE not set binder: 6658:6666 ioctl 40046207 0 returned -16 binder: 6658:6673 ioctl c0306201 2000afd0 returned -14 binder: BINDER_SET_CONTEXT_MGR already set binder: 6660:6667 ioctl 40046207 0 returned -16 binder: 6660:6667 ERROR: BC_REGISTER_LOOPER called without request binder: 6660:6667 ERROR: BC_REGISTER_LOOPER called without request binder: 6660:6667 got transaction to invalid handle binder: 6660:6667 transaction failed 29201/-22, size 24-8 line 2848 binder_alloc: binder_alloc_mmap_handler: 6658 20000000-20002000 already mapped failed -16 binder: undelivered TRANSACTION_ERROR: 29201 binder: BINDER_SET_CONTEXT_MGR already set binder: 6658:6666 ioctl 40046207 0 returned -16 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 6660:6667 transaction 4 out, still active binder: undelivered TRANSACTION_COMPLETE binder: 6658:6673 unknown command 0 binder: send failed reply for transaction 4, target dead binder: 6699:6700 ERROR: BC_REGISTER_LOOPER called without request binder: 6699:6700 ERROR: BC_REGISTER_LOOPER called without request binder: 6699:6700 got transaction to invalid handle binder: 6658:6698 ioctl c0306201 2000afd0 returned -14 binder: 6699:6700 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: 6658:6673 ioctl c0306201 2000a000 returned -22 binder: 6704:6706 ERROR: BC_REGISTER_LOOPER called without request binder: 6704:6706 ERROR: BC_REGISTER_LOOPER called without request binder: 6704:6706 got transaction to invalid handle binder: 6704:6706 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: BINDER_SET_CONTEXT_MGR already set binder: 6715:6721 ERROR: BC_REGISTER_LOOPER called without request binder: 6715:6721 ERROR: BC_REGISTER_LOOPER called without request binder: 6711:6718 ioctl 40046207 0 returned -16 binder: 6715:6721 got transaction to invalid handle binder: 6715:6721 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: 6718 RLIMIT_NICE not set binder: 6711:6732 ioctl c0306201 2000afd0 returned -14 binder: 6747:6753 ERROR: BC_REGISTER_LOOPER called without request binder: 6747:6753 ERROR: BC_REGISTER_LOOPER called without request binder: 6747:6753 got transaction to invalid handle binder: 6747:6753 transaction failed 29201/-22, size 24-8 line 2848 binder: 6747:6761 got reply transaction with bad transaction stack, transaction 14 has target 6747:0 binder: 6747:6761 transaction failed 29201/-71, size 0-0 line 2778 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 6747:6761 transaction 14 out, still active binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: send failed reply for transaction 14, target dead binder: 6785:6786 ERROR: BC_REGISTER_LOOPER called without request binder: 6785:6786 ERROR: BC_REGISTER_LOOPER called without request binder: 6785:6786 got transaction to invalid handle binder: 6785:6786 transaction failed 29201/-22, size 24-8 line 2848 audit: type=1400 audit(1520653783.875:46): avc: denied { ipc_lock } for pid=6796 comm="syz-executor6" capability=14 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 6785:6791 transaction 18 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 18, target dead QAT: Invalid ioctl binder: 6812:6822 ERROR: BC_REGISTER_LOOPER called without request binder: 6812:6822 ERROR: BC_REGISTER_LOOPER called without request binder: 6812:6822 got transaction to invalid handle binder: 6812:6822 transaction failed 29201/-22, size 24-8 line 2848 QAT: Invalid ioctl binder: undelivered TRANSACTION_ERROR: 29201 audit: type=1400 audit(1520653784.083:47): avc: denied { map } for pid=6840 comm="syz-executor4" path="/dev/sg0" dev="devtmpfs" ino=9502 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:scsi_generic_device_t:s0 tclass=chr_file permissive=1 binder: 6841:6847 ERROR: BC_REGISTER_LOOPER called without request binder: 6841:6847 ERROR: BC_REGISTER_LOOPER called without request binder: 6841:6847 got transaction to invalid handle binder: 6841:6847 transaction failed 29201/-22, size 24-8 line 2848 capability: warning: `syz-executor1' uses 32-bit capabilities (legacy support in use) binder: undelivered TRANSACTION_ERROR: 29201 binder: 6860:6871 ERROR: BC_REGISTER_LOOPER called without request binder: 6860:6871 ERROR: BC_REGISTER_LOOPER called without request binder: 6860:6871 got transaction to invalid handle binder: 6860:6871 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 kernel msg: ebtables bug: please report to author: Wrong len argument binder: 6892:6901 ERROR: BC_REGISTER_LOOPER called without request binder: 6892:6901 ERROR: BC_REGISTER_LOOPER called without request binder: 6892:6901 got transaction to invalid handle binder: 6892:6901 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: 6922:6926 ERROR: BC_REGISTER_LOOPER called without request binder: 6922:6926 ERROR: BC_REGISTER_LOOPER called without request binder: 6922:6926 got transaction to invalid handle binder: 6922:6926 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: 6947:6953 ERROR: BC_REGISTER_LOOPER called without request binder: 6947:6953 ERROR: BC_REGISTER_LOOPER called without request binder: 6947:6953 got transaction to invalid handle binder: 6947:6953 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: 6962:6967 ERROR: BC_REGISTER_LOOPER called without request binder: 6962:6967 ERROR: BC_REGISTER_LOOPER called without request binder: 6962:6967 got transaction to invalid handle binder: 6962:6967 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 audit: type=1400 audit(1520653784.703:48): avc: denied { map } for pid=6958 comm="syz-executor6" path="/dev/dsp" dev="devtmpfs" ino=9569 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sound_device_t:s0 tclass=chr_file permissive=1 binder: 7008:7011 ERROR: BC_REGISTER_LOOPER called without request binder: 7008:7011 got transaction to invalid handle binder: 7008:7011 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: 7023:7035 got transaction to invalid handle binder: 7023:7035 transaction failed 29201/-22, size 24-8 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: 7050:7054 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 7050:7054 Release 1 refcount change on invalid ref 3 ret -22 binder: 7050:7054 DecRefs 0 refcount change on invalid ref 1 ret -22 binder: 7050:7054 BC_CLEAR_DEATH_NOTIFICATION invalid ref 1 binder: 7050:7054 BC_INCREFS_DONE u0000000000000000 no match binder: 7054 RLIMIT_NICE not set binder: 7071:7080 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 7071:7080 Release 1 refcount change on invalid ref 3 ret -22 binder: 7071:7080 DecRefs 0 refcount change on invalid ref 1 ret -22 binder: 7071:7080 BC_CLEAR_DEATH_NOTIFICATION invalid ref 1 binder: 7071:7080 BC_INCREFS_DONE u0000000000000000 no match binder: 7094:7103 Release 1 refcount change on invalid ref 3 ret -22 binder: 7094:7103 DecRefs 0 refcount change on invalid ref 1 ret -22 binder: 7094:7103 BC_CLEAR_DEATH_NOTIFICATION invalid ref 1 binder: 7094:7103 BC_INCREFS_DONE u0000000000000000 no match binder: 7120:7126 DecRefs 0 refcount change on invalid ref 1 ret -22 binder: 7120:7126 BC_CLEAR_DEATH_NOTIFICATION invalid ref 1 binder: 7120:7126 BC_INCREFS_DONE u0000000000000000 no match binder: 7147:7157 BC_CLEAR_DEATH_NOTIFICATION invalid ref 1 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 binder: 7147:7157 BC_INCREFS_DONE u0000000000000000 no match CPU: 0 PID: 7155 Comm: syz-executor3 Not tainted 4.16.0-rc4+ #347 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc_node mm/slab.c:3286 [inline] kmem_cache_alloc_node+0x56/0x760 mm/slab.c:3629 __alloc_skb+0xf1/0x780 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:983 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1180 [inline] netlink_sendmsg+0xa86/0xe60 net/netlink/af_netlink.c:1872 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 sock_write_iter+0x31a/0x5d0 net/socket.c:909 call_write_iter include/linux/fs.h:1781 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x684/0x970 fs/read_write.c:482 vfs_write+0x189/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xef/0x220 fs/read_write.c:581 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007feb7eda9c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007feb7edaa6d4 RCX: 0000000000453e69 RDX: 0000000000000013 RSI: 0000000020cc2fed RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 000000000000066e R14: 00000000006f9af0 R15: 0000000000000000 binder: 7166:7168 BC_CLEAR_DEATH_NOTIFICATION invalid ref 1 binder: 7166:7168 BC_INCREFS_DONE u0000000000000000 no match FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 7176 Comm: syz-executor3 Not tainted 4.16.0-rc4+ #347 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc_node mm/slab.c:3286 [inline] kmem_cache_alloc_node_trace+0x5a/0x760 mm/slab.c:3648 __do_kmalloc_node mm/slab.c:3668 [inline] __kmalloc_node_track_caller+0x33/0x70 mm/slab.c:3683 __kmalloc_reserve.isra.39+0x41/0xd0 net/core/skbuff.c:137 __alloc_skb+0x13b/0x780 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:983 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1180 [inline] netlink_sendmsg+0xa86/0xe60 net/netlink/af_netlink.c:1872 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 sock_write_iter+0x31a/0x5d0 net/socket.c:909 call_write_iter include/linux/fs.h:1781 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x684/0x970 fs/read_write.c:482 vfs_write+0x189/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xef/0x220 fs/read_write.c:581 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007feb7eda9c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007feb7edaa6d4 RCX: 0000000000453e69 RDX: 0000000000000013 RSI: 0000000020cc2fed RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 000000000000066e R14: 00000000006f9af0 R15: 0000000000000001 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 7187 Comm: syz-executor3 Not tainted 4.16.0-rc4+ #347 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc_node mm/slab.c:3286 [inline] kmem_cache_alloc_node+0x56/0x760 mm/slab.c:3629 __alloc_skb+0xf1/0x780 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:983 [inline] netlink_dump+0x545/0xcf0 net/netlink/af_netlink.c:2203 __netlink_dump_start+0x4ec/0x710 net/netlink/af_netlink.c:2319 netlink_dump_start include/linux/netlink.h:214 [inline] rtnetlink_rcv_msg+0x7f0/0xb10 net/core/rtnetlink.c:4598 netlink_rcv_skb+0x14b/0x380 net/netlink/af_netlink.c:2444 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:4653 netlink_unicast_kernel net/netlink/af_netlink.c:1308 [inline] netlink_unicast+0x4c4/0x6b0 net/netlink/af_netlink.c:1334 netlink_sendmsg+0xa4a/0xe60 net/netlink/af_netlink.c:1897 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 sock_write_iter+0x31a/0x5d0 net/socket.c:909 call_write_iter include/linux/fs.h:1781 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x684/0x970 fs/read_write.c:482 vfs_write+0x189/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xef/0x220 fs/read_write.c:581 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007feb7eda9c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007feb7edaa6d4 RCX: 0000000000453e69 RDX: 0000000000000013 RSI: 0000000020cc2fed RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 000000000000066e R14: 00000000006f9af0 R15: 0000000000000002 binder: 7188:7191 BC_CLEAR_DEATH_NOTIFICATION invalid ref 1 binder: 7188:7191 BC_INCREFS_DONE u0000000000000000 no match FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 7219 Comm: syz-executor3 Not tainted 4.16.0-rc4+ #347 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 binder: 7236:7238 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7236:7238 BC_INCREFS_DONE u0000000000000000 no match binder: 7240:7241 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7240:7241 BC_INCREFS_DONE u0000000000000000 no match should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc_node mm/slab.c:3286 [inline] kmem_cache_alloc_node_trace+0x5a/0x760 mm/slab.c:3648 __do_kmalloc_node mm/slab.c:3668 [inline] __kmalloc_node_track_caller+0x33/0x70 mm/slab.c:3683 __kmalloc_reserve.isra.39+0x41/0xd0 net/core/skbuff.c:137 __alloc_skb+0x13b/0x780 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:983 [inline] netlink_dump+0x545/0xcf0 net/netlink/af_netlink.c:2203 __netlink_dump_start+0x4ec/0x710 net/netlink/af_netlink.c:2319 netlink_dump_start include/linux/netlink.h:214 [inline] rtnetlink_rcv_msg+0x7f0/0xb10 net/core/rtnetlink.c:4598 netlink_rcv_skb+0x14b/0x380 net/netlink/af_netlink.c:2444 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:4653 netlink_unicast_kernel net/netlink/af_netlink.c:1308 [inline] netlink_unicast+0x4c4/0x6b0 net/netlink/af_netlink.c:1334 netlink_sendmsg+0xa4a/0xe60 net/netlink/af_netlink.c:1897 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 sock_write_iter+0x31a/0x5d0 net/socket.c:909 call_write_iter include/linux/fs.h:1781 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x684/0x970 fs/read_write.c:482 vfs_write+0x189/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xef/0x220 fs/read_write.c:581 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007feb7eda9c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007feb7edaa6d4 RCX: 0000000000453e69 RDX: 0000000000000013 RSI: 0000000020cc2fed RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 000000000000066e R14: 00000000006f9af0 R15: 0000000000000003 binder: 7246:7256 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7246:7256 BC_INCREFS_DONE u0000000000000000 no match binder: 7268:7271 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7268:7271 BC_INCREFS_DONE u0000000000000000 no match binder: 7273:7276 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7273:7276 BC_INCREFS_DONE u0000000000000000 no match binder: 7284:7286 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7293:7299 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=53759 sclass=netlink_route_socket pig=7304 comm=syz-executor3 binder: 7311:7315 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=53759 sclass=netlink_route_socket pig=7319 comm=syz-executor3 binder: 7323:7324 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7335:7339 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7352:7355 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7361:7365 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7378:7384 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7393:7396 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7403:7410 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7420:7429 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7420:7429 BC_INCREFS_DONE u0000000000000000 no match FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 7472 Comm: syz-executor0 Not tainted 4.16.0-rc4+ #347 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc mm/slab.c:3365 [inline] kmem_cache_alloc_trace+0x4b/0x740 mm/slab.c:3605 kmalloc include/linux/slab.h:512 [inline] kzalloc include/linux/slab.h:701 [inline] binder_get_thread+0x1cf/0x870 drivers/android/binder.c:4285 binder_ioctl+0x20c/0x1417 drivers/android/binder.c:4583 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007fa576064c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa5760656d4 RCX: 0000000000453e69 RDX: 0000000020000100 RSI: 00000000c0306201 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 0000000000000194 R14: 00000000006f2680 R15: 0000000000000000 CPU: 1 PID: 7482 Comm: syz-executor6 Not tainted 4.16.0-rc4+ #347 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 binder: 7471:7472 ioctl c0306201 20000100 returned -12 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc_node mm/slab.c:3286 [inline] kmem_cache_alloc_node+0x56/0x760 mm/slab.c:3629 __alloc_skb+0xf1/0x780 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:983 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1180 [inline] netlink_sendmsg+0xa86/0xe60 net/netlink/af_netlink.c:1872 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 sock_write_iter+0x31a/0x5d0 net/socket.c:909 call_write_iter include/linux/fs.h:1781 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x684/0x970 fs/read_write.c:482 vfs_write+0x189/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xef/0x220 fs/read_write.c:581 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007f3e920a9c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3e920aa6d4 RCX: 0000000000453e69 RDX: 0000000000000013 RSI: 0000000020000080 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 000000000000066e R14: 00000000006f9af0 R15: 0000000000000000 binder: 7488:7501 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7513:7518 unknown command -2113117425 binder: 7513:7518 ioctl c0306201 20000100 returned -22 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 binder: 7530:7532 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 CPU: 0 PID: 7535 Comm: syz-executor7 Not tainted 4.16.0-rc4+ #347 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc mm/slab.c:3365 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3539 getname_flags+0xcb/0x580 fs/namei.c:138 getname+0x19/0x20 fs/namei.c:209 do_sys_open+0x2e7/0x6d0 fs/open.c:1053 SYSC_openat fs/open.c:1086 [inline] SyS_openat+0x30/0x40 fs/open.c:1080 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007f0fea588c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f0fea5896d4 RCX: 0000000000453e69 RDX: 0000000000004002 RSI: 000000002083bff0 RDI: ffffffffffffff9c RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000013 R13: 000000000000043b R14: 00000000006f6628 R15: 0000000000000000 binder: 7542:7543 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 7542:7543 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 7555 Comm: syz-executor7 Not tainted 4.16.0-rc4+ #347 binder: 7561:7563 unknown command 1171007338 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 binder: 7561:7563 ioctl c0306201 20000100 returned -22 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:2959 [inline] prepare_alloc_pages mm/page_alloc.c:4198 [inline] __alloc_pages_nodemask+0x327/0xdd0 mm/page_alloc.c:4237 __alloc_pages include/linux/gfp.h:456 [inline] __alloc_pages_node include/linux/gfp.h:469 [inline] kmem_getpages mm/slab.c:1410 [inline] cache_grow_begin+0x72/0x640 mm/slab.c:2665 cache_alloc_refill mm/slab.c:3032 [inline] ____cache_alloc mm/slab.c:3114 [inline] __do_cache_alloc mm/slab.c:3336 [inline] slab_alloc mm/slab.c:3371 [inline] kmem_cache_alloc+0x400/0x760 mm/slab.c:3539 getname_flags+0xcb/0x580 fs/namei.c:138 getname+0x19/0x20 fs/namei.c:209 do_sys_open+0x2e7/0x6d0 fs/open.c:1053 SYSC_openat fs/open.c:1086 [inline] SyS_openat+0x30/0x40 fs/open.c:1080 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007f0fea588c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f0fea5896d4 RCX: 0000000000453e69 RDX: 0000000000004002 RSI: 000000002083bff0 RDI: ffffffffffffff9c RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000013 R13: 000000000000043b R14: 00000000006f6628 R15: 0000000000000001 binder: 7567:7579 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 7580 Comm: syz-executor7 Not tainted 4.16.0-rc4+ #347 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 binder: 7567:7579 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 fail_dump lib/fault-inject.c:51 [inline] should_fail+0x8c0/0xa40 lib/fault-inject.c:149 binder: 7594:7596 unknown command 811791 binder: 7594:7596 ioctl c0306201 20000100 returned -22 binder: 7594:7596 unknown command 811791 binder: 7594:7596 ioctl c0306201 20000100 returned -22 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc mm/slab.c:3365 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3539 kmem_cache_zalloc include/linux/slab.h:691 [inline] get_empty_filp+0xfb/0x4f0 fs/file_table.c:122 path_openat+0xed/0x3530 fs/namei.c:3495 do_filp_open+0x25b/0x3b0 fs/namei.c:3553 do_sys_open+0x502/0x6d0 fs/open.c:1059 SYSC_openat fs/open.c:1086 [inline] SyS_openat+0x30/0x40 fs/open.c:1080 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007f0fea588c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f0fea5896d4 RCX: 0000000000453e69 RDX: 0000000000004002 RSI: 000000002083bff0 RDI: ffffffffffffff9c RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000013 R13: 000000000000043b R14: 00000000006f6628 R15: 0000000000000002