binder: 7372:7395 transaction failed 29189/-22, size 0-4294967296 line 2848 ====================================================== WARNING: possible circular locking dependency detected 4.16.0-rc4+ #341 Not tainted ------------------------------------------------------ binder: 7372:7395 transaction failed 29189/-22, size 0-4294967296 line 2848 syz-executor6/7387 is trying to acquire lock: (&mm->mmap_sem){++++}, at: [<00000000256701d3>] __might_fault+0xe0/0x1d0 mm/memory.c:4570 but task is already holding lock: (ashmem_mutex){+.+.}, at: [<00000000f6d3edf5>] ashmem_pin_unpin drivers/staging/android/ashmem.c:705 [inline] (ashmem_mutex){+.+.}, at: [<00000000f6d3edf5>] ashmem_ioctl+0x3db/0x11b0 drivers/staging/android/ashmem.c:782 which lock already depends on the new lock. binder: undelivered TRANSACTION_ERROR: 29189 the existing dependency chain (in reverse order) is: -> #1 (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 binder: undelivered TRANSACTION_ERROR: 29189 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 -> #0 (&mm->mmap_sem){++++}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:3920 __might_fault+0x13a/0x1d0 mm/memory.c:4571 _copy_from_user+0x2c/0x110 lib/usercopy.c:10 copy_from_user include/linux/uaccess.h:147 [inline] ashmem_pin_unpin drivers/staging/android/ashmem.c:710 [inline] ashmem_ioctl+0x438/0x11b0 drivers/staging/android/ashmem.c:782 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 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(ashmem_mutex); lock(&mm->mmap_sem); lock(ashmem_mutex); lock(&mm->mmap_sem); *** DEADLOCK *** 1 lock held by syz-executor6/7387: #0: (ashmem_mutex){+.+.}, at: [<00000000f6d3edf5>] ashmem_pin_unpin drivers/staging/android/ashmem.c:705 [inline] #0: (ashmem_mutex){+.+.}, at: [<00000000f6d3edf5>] ashmem_ioctl+0x3db/0x11b0 drivers/staging/android/ashmem.c:782 stack backtrace: CPU: 0 PID: 7387 Comm: syz-executor6 Not tainted 4.16.0-rc4+ #341 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 __might_fault+0x13a/0x1d0 mm/memory.c:4571 _copy_from_user+0x2c/0x110 lib/usercopy.c:10 copy_from_user include/linux/uaccess.h:147 [inline] ashmem_pin_unpin drivers/staging/android/ashmem.c:710 [inline] ashmem_ioctl+0x438/0x11b0 drivers/staging/android/ashmem.c:782 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:00007f45b5edac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f45b5edb6d4 RCX: 0000000000453e69 RDX: 0000000000000000 RSI: 0000000000007709 RDI: 0000000000000015 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000189 R14: 00000000006f2578 R15: 0000000000000000 audit: type=1400 audit(1520261330.550:46): avc: denied { add_name } for pid=7407 comm="syz-executor3" name="pfkey" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=dir permissive=1 binder: 7410:7418 transaction failed 29189/-22, size 0-4294967296 line 2848 audit: type=1400 audit(1520261330.551:47): avc: denied { create } for pid=7407 comm="syz-executor3" name="pfkey" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:insmod_t:s0 tclass=file permissive=1 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7433:7434 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7412:7419 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7438:7449 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7443:7461 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7480:7488 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7505:7515 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7530:7534 transaction failed 29189/-22, size 0-4294967296 line 2848 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=7543 comm=syz-executor0 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7555:7559 transaction failed 29189/-22, size 0-4294967296 line 2848 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=7566 comm=syz-executor0 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7586:7590 transaction failed 29189/-22, size 0-4294967296 line 2848 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=7594 comm=syz-executor0 binder: undelivered TRANSACTION_ERROR: 29189 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=7623 comm=syz-executor6 binder: 7629:7631 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7648:7649 transaction failed 29189/-22, size 0-4294967296 line 2848 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=7645 comm=syz-executor6 binder: undelivered TRANSACTION_ERROR: 29189 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=7659 comm=syz-executor6 binder: 7677:7685 unknown command 536883200 binder: 7677:7685 ioctl c0306201 2000afd0 returned -22 binder: 7695:7702 unknown command 536883200 binder: 7695:7702 ioctl c0306201 2000afd0 returned -22 binder: 7693:7712 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7726:7730 unknown command 536883200 binder: 7726:7730 ioctl c0306201 2000afd0 returned -22 binder: 7724:7735 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7751:7753 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7763:7768 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: 7755:7766 unknown command 536883200 binder: 7755:7766 ioctl c0306201 2000afd0 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7785:7787 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7793:7796 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: 7789:7801 transaction failed 29189/-22, size 32-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7822:7832 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: 7826:7831 unknown command 3145745 binder: 7826:7831 ioctl c0306201 2000afd0 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7851:7855 transaction failed 29189/-22, size 0-4294967296 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7859:7867 unknown command 3145745 binder: 7859:7867 ioctl c0306201 2000afd0 returned -22 binder: 7881:7887 unknown command 536883200 binder: 7886:7891 transaction failed 29189/-22, size 0-0 line 2848 binder: 7881:7887 ioctl c0306201 2000afd0 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7902:7906 transaction failed 29189/-22, size 0-0 line 2848 binder: 7905:7911 unknown command 536883200 binder: 7905:7911 ioctl c0306201 2000afd0 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7918:7931 unknown command 536883200 binder: 7922:7936 transaction failed 29189/-22, size 0-0 line 2848 binder: 7918:7931 ioctl c0306201 2000afd0 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7951:7959 transaction failed 29189/-22, size 32-0 line 2848 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 7960 Comm: syz-executor6 Not tainted 4.16.0-rc4+ #341 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] do_iter_readv_writev+0x55c/0x830 fs/read_write.c:653 do_iter_write+0x154/0x540 fs/read_write.c:932 vfs_writev+0x18a/0x340 fs/read_write.c:977 do_writev+0xfc/0x2a0 fs/read_write.c:1012 SYSC_writev fs/read_write.c:1085 [inline] SyS_writev+0x27/0x30 fs/read_write.c:1082 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007f45b5edac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f45b5edb6d4 RCX: 0000000000453e69 RDX: 0000000000000001 RSI: 0000000020fb5ff0 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 0000000000000674 R14: 00000000006f9b80 R15: 0000000000000000 CPU: 1 PID: 7961 Comm: syz-executor0 Not tainted 4.16.0-rc4+ #341 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 anon_vma_chain_alloc mm/rmap.c:128 [inline] __anon_vma_prepare+0xbc/0x6b0 mm/rmap.c:182 anon_vma_prepare include/linux/rmap.h:153 [inline] do_huge_pmd_anonymous_page+0x1049/0x19e0 mm/huge_memory.c:678 create_huge_pmd mm/memory.c:3870 [inline] __handle_mm_fault+0x178a/0x38c0 mm/memory.c:4074 handle_mm_fault+0x44a/0xb10 mm/memory.c:4140 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1422 do_page_fault+0xee/0x730 arch/x86/mm/fault.c:1497 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1151 RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 arch/x86/lib/copy_user_64.S:66 RSP: 0018:ffff8801b77576f0 EFLAGS: 00010202 RAX: ffffed0036eeaf52 RBX: 000000000000000a RCX: 0000000000000001 RDX: 0000000000000002 RSI: ffff8801b7757a80 RDI: 0000000020000180 RBP: ffff8801b7757720 R08: 0000000000000000 R09: ffffed0036eeaf52 R10: 0000000000000002 R11: ffffed0036eeaf51 R12: 0000000020000180 R13: ffff8801b7757a80 R14: 00007ffffffff000 R15: 000000002000018a copy_to_user include/linux/uaccess.h:155 [inline] semctl_main+0xa1f/0x2600 ipc/sem.c:1399 SYSC_semctl+0x22d/0x270 ipc/sem.c:1611 SyS_semctl+0x2c/0x40 ipc/sem.c:1579 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007f4263fdfc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000042 RAX: ffffffffffffffda RBX: 00007f4263fe06d4 RCX: 0000000000453e69 RDX: 000000000000000d RSI: 0000000000000000 RDI: 0000000000000000 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000180 R11: 0000000000000246 R12: 0000000000000013 R13: 000000000000049b R14: 00000000006f6f28 R15: 0000000000000000 binder: undelivered TRANSACTION_ERROR: 29189 binder: 7970:7977 transaction failed 29189/-22, size 0-0 line 2848 binder: 7974:7980 transaction failed 29189/-22, size 32-0 line 2848 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 binder: undelivered TRANSACTION_ERROR: 29189 CPU: 0 PID: 7984 Comm: syz-executor4 Not tainted 4.16.0-rc4+ #341 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 binder: undelivered TRANSACTION_ERROR: 29189 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] __do_kmalloc mm/slab.c:3703 [inline] __kmalloc+0x63/0x760 mm/slab.c:3714 kmalloc include/linux/slab.h:517 [inline] kzalloc include/linux/slab.h:701 [inline] find_alloc_undo ipc/sem.c:1828 [inline] do_semtimedop+0x2b1c/0x3f00 ipc/sem.c:1936 SYSC_semop ipc/sem.c:2153 [inline] SyS_semop+0x26/0x30 ipc/sem.c:2150 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007fe84ef94c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000041 RAX: ffffffffffffffda RBX: 00007fe84ef956d4 RCX: 0000000000453e69 RDX: 0000000000000001 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000013 R13: 00000000000004aa R14: 00000000006f7090 R15: 0000000000000000 binder: 7988:7993 unknown command 3145745 binder: 7986:7992 transaction failed 29189/-22, size 0-0 line 2848 binder: 7988:7993 ioctl c0306201 2000afd0 returned -22 audit: type=1400 audit(1520261333.981:48): avc: denied { setopt } for pid=7991 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=netlink_netfilter_socket permissive=1 binder: undelivered TRANSACTION_ERROR: 29189 binder: 8009:8018 transaction failed 29189/-22, size 0-0 line 2848 binder: 8013:8021 transaction failed 29189/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 8035:8038 transaction failed 29189/-22, size 0-0 line 2848 binder: 8043:8045 transaction failed 29189/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 8056:8064 transaction failed 29189/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 8076:8085 transaction failed 29189/-22, size 0-0 line 2848 binder: 8082:8089 transaction failed 29189/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 audit: type=1400 audit(1520261334.286:49): avc: denied { getopt } for pid=8094 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=netlink_netfilter_socket permissive=1 binder: 8097:8106 unknown command 3145745 binder: 8100:8107 transaction failed 29189/-22, size 0-0 line 2848 binder: 8097:8106 ioctl c0306201 2000afd0 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: 8120:8124 got transaction to invalid handle binder: 8120:8124 transaction failed 29201/-22, size 0-0 line 2848 binder: 8117:8127 unknown command 3145745 binder: 8117:8127 ioctl c0306201 2000afd0 returned -22 binder: undelivered TRANSACTION_ERROR: 29201 binder: 8141:8142 transaction failed 29189/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 8151:8156 unknown command 3145745 binder: 8155:8160 unknown command 3145745 binder: 8151:8156 ioctl c0306201 2000afd0 returned -22 binder: 8155:8160 ioctl c0306201 2000afd0 returned -22 binder: 8177:8182 unknown command 3145745 binder: 8177:8182 ioctl c0306201 2000afd0 returned -22 binder: 8178:8193 got transaction to invalid handle binder: 8178:8193 transaction failed 29201/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: 8198:8201 unknown command 4743953 binder: 8198:8201 ioctl c0306201 2000afd0 returned -22 binder: 8210:8221 got transaction to invalid handle binder: 8210:8221 transaction failed 29201/-22, size 0-0 line 2848 binder: 8217:8224 unknown command 3145745 binder: 8217:8224 ioctl c0306201 2000afd0 returned -22 audit: type=1400 audit(1520261334.752:50): avc: denied { bind } for pid=8223 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=netlink_netfilter_socket permissive=1 binder: undelivered TRANSACTION_ERROR: 29201 binder: 8248:8250 unknown command 4743953 binder: 8248:8250 ioctl c0306201 2000afd0 returned -22 binder: 8256:8265 unknown command 3145745 binder: 8256:8265 ioctl c0306201 2000afd0 returned -22 binder: 8270:8275 unknown command 4743953 audit: type=1400 audit(1520261334.872:51): avc: denied { create } for pid=8274 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=netlink_fib_lookup_socket permissive=1 binder: 8267:8280 transaction failed 29189/-22, size 0-0 line 2848 QAT: Invalid ioctl binder: 8270:8275 ioctl c0306201 2000afd0 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 QAT: Invalid ioctl binder: 8290:8300 transaction failed 29189/-22, size 0-0 line 2848 binder: 8295:8304 unknown command 4743953 binder: 8295:8304 ioctl c0306201 2000afd0 returned -22 binder: undelivered TRANSACTION_ERROR: 29189 binder: 8315:8318 got transaction to invalid handle binder: 8315:8318 transaction failed 29201/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 binder: 8332:8346 unknown command 4743953 binder: 8332:8346 ioctl c0306201 2000afd0 returned -22 binder: 8369:8373 transaction failed 29189/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=8436 comm=syz-executor7 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=8465 comm=syz-executor7 binder: 8490:8497 got transaction to invalid handle SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=8494 comm=syz-executor7 binder: 8490:8497 transaction failed 29201/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29201 audit: type=1400 audit(1520261335.514:52): avc: denied { map } for pid=8511 comm="syz-executor1" path="/selinux/checkreqprot" dev="selinuxfs" ino=15 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=file permissive=1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=770 sclass=netlink_audit_socket pig=8545 comm=syz-executor6 audit: type=1400 audit(1520261335.701:53): avc: denied { create } for pid=8582 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=netlink_rdma_socket permissive=1 audit: type=1400 audit(1520261335.702:54): avc: denied { write } for pid=8582 comm="syz-executor6" path="socket:[23369]" dev="sockfs" ino=23369 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_rdma_socket permissive=1 audit: type=1400 audit(1520261336.080:55): avc: denied { create } for pid=8759 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=netlink_connector_socket permissive=1 audit: type=1400 audit(1520261336.118:56): avc: denied { write } for pid=8759 comm="syz-executor6" path="socket:[23601]" dev="sockfs" ino=23601 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_connector_socket permissive=1 audit: type=1400 audit(1520261337.550:57): avc: denied { create } for pid=9356 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=netlink_iscsi_socket permissive=1 binder: 9581:9585 transaction failed 29189/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 9621:9627 transaction failed 29189/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 binder: 9691:9703 transaction failed 29189/-22, size 0-0 line 2848 binder: undelivered TRANSACTION_ERROR: 29189 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 9724 Comm: syz-executor2 Not tainted 4.16.0-rc4+ #341 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 anon_vma_chain_alloc mm/rmap.c:128 [inline] __anon_vma_prepare+0xbc/0x6b0 mm/rmap.c:182 anon_vma_prepare include/linux/rmap.h:153 [inline] do_huge_pmd_anonymous_page+0x1049/0x19e0 mm/huge_memory.c:678 create_huge_pmd mm/memory.c:3870 [inline] __handle_mm_fault+0x178a/0x38c0 mm/memory.c:4074 handle_mm_fault+0x44a/0xb10 mm/memory.c:4140 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1422 do_page_fault+0xee/0x730 arch/x86/mm/fault.c:1497 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1151 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:180 RSP: 0018:ffff8801afc3fc78 EFLAGS: 00010206 RAX: ffffed0035f87fae RBX: 0000000000000068 RCX: 0000000000000068 RDX: 0000000000000068 RSI: ffff8801afc3fd08 RDI: 0000000020000180 RBP: ffff8801afc3fca8 R08: ffffed0035f87fae R09: ffffed0035f87fae R10: 000000000000000d R11: ffffed0035f87fad R12: 0000000020000180 R13: ffff8801afc3fd08 R14: 00007ffffffff000 R15: 00000000200001e8 copy_to_user include/linux/uaccess.h:155 [inline] copy_semid_to_user.constprop.14+0x22/0x30 ipc/sem.c:1148 SYSC_semctl+0x1e0/0x270 ipc/sem.c:1602 SyS_semctl+0x2c/0x40 ipc/sem.c:1579 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007f62fab82c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000042 RAX: ffffffffffffffda RBX: 00007f62fab836d4 RCX: 0000000000453e69 RDX: 0000000000000012 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000180 R11: 0000000000000246 R12: 0000000000000013 R13: 00000000000004a5 R14: 00000000006f7018 R15: 0000000000000000 CPU: 0 PID: 9725 Comm: syz-executor7 Not tainted 4.16.0-rc4+ #341 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_trace+0x4b/0x740 mm/slab.c:3605 kmalloc include/linux/slab.h:512 [inline] bdi_split_work_to_wbs+0x589/0x11f0 fs/fs-writeback.c:831 sync_inodes_sb+0x2f2/0x420 fs/fs-writeback.c:2425 sync_inodes_one_sb+0x3b/0x50 fs/sync.c:74 iterate_supers+0x12e/0x250 fs/super.c:598 sys_sync+0xe4/0x1c0 fs/sync.c:113 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007f8377921c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f83779226d4 RCX: 0000000000453e69 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000013 R13: 0000000000000613 R14: 00000000006f9268 R15: 0000000000000000