BUG: using __this_cpu_add() in preemptible [00000000] code: syz-executor0/10018 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 CPU: 1 PID: 10018 Comm: syz-executor0 Not tainted 4.4.113-g962d1f3 #2 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 eb5d314c801bc31d ffff8801d8487800 ffffffff81d028ed 0000000000000001 ffffffff839fe3a0 ffffffff83cef6a0 ffff8800bad42f80 0000000000000003 ffff8801d8487840 ffffffff81d62834 ffffffff810002b8 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] check_preemption_disabled+0x1d4/0x200 lib/smp_processor_id.c:46 [] ? 0xffffffff810002b8 [] __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 [] tcp_try_coalesce+0x249/0x4d0 net/ipv4/tcp_input.c:4278 [] tcp_queue_rcv+0x127/0x720 net/ipv4/tcp_input.c:4485 [] tcp_send_rcvq+0x39b/0x450 net/ipv4/tcp_input.c:4531 [] tcp_sendmsg+0x1e8f/0x2b10 net/ipv4/tcp.c:1134 [] inet_sendmsg+0x2bc/0x4c0 net/ipv4/af_inet.c:755 [] sock_sendmsg_nosec net/socket.c:625 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:635 [] SYSC_sendto+0x2c8/0x340 net/socket.c:1665 [] SyS_sendto+0x40/0x50 net/socket.c:1633 [] entry_SYSCALL_64_fastpath+0x1c/0x98 audit: type=1326 audit(1517383920.289:53): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=10075 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453299 code=0x0 audit: type=1326 audit(1517383920.359:54): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=10075 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453299 code=0x0 TCP: request_sock_TCPv6: Possible SYN flooding on port 20022. Sending cookies. Check SNMP counters. TCP: request_sock_TCPv6: Possible SYN flooding on port 20022. Sending cookies. Check SNMP counters. netlink: 9 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 9 bytes leftover after parsing attributes in process `syz-executor5'. device syz1 entered promiscuous mode device syz1 left promiscuous mode audit: type=1400 audit(1517383922.369:55): avc: denied { getopt } for pid=10481 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=netlink_connector_socket permissive=1 audit: type=1400 audit(1517383922.749:56): avc: denied { setopt } for pid=10580 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=netlink_generic_socket permissive=1 netlink: 28 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor2'. audit: type=1400 audit(1517383923.529:57): avc: denied { ioctl } for pid=10721 comm="syz-executor7" path="socket:[19025]" dev="sockfs" ino=19025 ioctlcmd=4b46 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 Empty option to dns_resolver key Empty option to dns_resolver key binder: 10912:10925 ERROR: BC_REGISTER_LOOPER called after BC_ENTER_LOOPER binder: 10912:10945 ERROR: BC_REGISTER_LOOPER called after BC_ENTER_LOOPER device syz4 entered promiscuous mode device syz4 left promiscuous mode : renamed from gre0 capability: warning: `syz-executor0' uses deprecated v2 capabilities in a way that may be insecure netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. audit: type=1400 audit(1517383926.469:58): avc: denied { getopt } for pid=11454 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 netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. binder: 11508:11516 BC_FREE_BUFFER uffffffffffffffff no match binder: 11508:11516 Acquire 1 refcount change on invalid ref 3 ret -22 binder: 11508:11516 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 11508:11516 unknown command 0 binder: 11508:11516 ioctl c0306201 20531000 returned -22 binder: 11508:11529 BC_FREE_BUFFER uffffffffffffffff no match binder: 11508:11529 Acquire 1 refcount change on invalid ref 3 ret -22 binder: 11508:11529 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 11538 Comm: syz-executor6 Not tainted 4.4.113-g962d1f3 #2 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 1debbb9da8cd56c0 ffff8801d7aff6d0 ffffffff81d028ed ffff8800aa0e8180 1ffff1003af5fee7 ffff8801d7aff858 0000000000000000 0000000000000000 ffff8801d7aff880 ffffffff81605ec5 ffffffff81236530 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] handle_userfault+0x715/0xf50 fs/userfaultfd.c:316 [] do_anonymous_page mm/memory.c:2731 [inline] [] handle_pte_fault mm/memory.c:3295 [inline] [] __handle_mm_fault mm/memory.c:3426 [inline] [] handle_mm_fault+0x2938/0x3190 mm/memory.c:3455 [] __do_page_fault+0x35b/0xa00 arch/x86/mm/fault.c:1245 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1308 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1033 [] vfs_ioctl fs/ioctl.c:43 [inline] [] do_vfs_ioctl+0x7aa/0xee0 fs/ioctl.c:607 [] SYSC_ioctl fs/ioctl.c:622 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:613 [] entry_SYSCALL_64_fastpath+0x1c/0x98 binder: 11508:11529 BC_REQUEST_DEATH_NOTIFICATION invalid ref 2 binder: 11508:11529 BC_CLEAR_DEATH_NOTIFICATION invalid ref 2 audit: type=1400 audit(1517383927.009:59): avc: denied { write } for pid=11544 comm="syz-executor1" path="socket:[21074]" dev="sockfs" ino=21074 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 binder: 11547:11554 got transaction to invalid handle binder: 11547:11554 transaction failed 29201/-22, size 80-8 line 3005 binder: 11547:11554 ioctl c0305302 20145000 returned -22 binder: 11547:11554 ioctl 4028641b 20573000 returned -22 binder_alloc: binder_alloc_mmap_handler: 11547 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 11547:11554 ioctl 40046207 0 returned -16 binder: 11547:11554 got transaction to invalid handle binder: 11547:11554 transaction failed 29201/-22, size 80-8 line 3005 binder: 11547:11554 ioctl c0305302 20145000 returned -22 binder: 11547:11560 got transaction to invalid handle binder: 11547:11560 transaction failed 29201/-22, size 0-0 line 3005 audit: type=1400 audit(1517383927.069:60): avc: denied { getopt } for pid=11544 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 binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_ERROR: 29201 audit: type=1400 audit(1517383927.339:61): avc: denied { dyntransition } for pid=11610 comm="syz-executor6" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0,c1 tclass=process permissive=1 keychord: Insufficient bytes present for keycount 56 keychord: Insufficient bytes present for keycount 56 audit: type=1400 audit(1517383928.289:62): avc: denied { shutdown } for pid=11727 comm="syz-executor0" 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 sd 0:0:1:0: [sg0] tag#350 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#350 CDB: Test Unit Ready sd 0:0:1:0: [sg0] tag#350 CDB[00]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#350 CDB[10]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#350 CDB[20]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#350 CDB[30]: 00 00 00 netlink: 7 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 7 bytes leftover after parsing attributes in process `syz-executor1'. sd 0:0:1:0: [sg0] tag#350 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#350 CDB: Test Unit Ready sd 0:0:1:0: [sg0] tag#350 CDB[00]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#350 CDB[10]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#350 CDB[20]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sd 0:0:1:0: [sg0] tag#350 CDB[30]: 00 00 00 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=7519 sclass=netlink_xfrm_socket SELinux: unrecognized netlink message: protocol=6 nlmsg_type=7519 sclass=netlink_xfrm_socket SELinux: policydb magic number 0x300 does not match expected magic number 0xf97cff8c SELinux: policydb magic number 0x300 does not match expected magic number 0xf97cff8c audit: type=1326 audit(1517383929.259:63): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=11951 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453299 code=0x0 audit: type=1326 audit(1517383929.349:64): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=11951 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453299 code=0x0 netlink: 44 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 44 bytes leftover after parsing attributes in process `syz-executor3'. audit: type=1400 audit(1517383929.889:65): avc: denied { attach_queue } for pid=12109 comm="syz-executor4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=tun_socket permissive=1