BUG: sleeping function called from invalid context at net/core/sock.c:2761 in_atomic(): 1, irqs_disabled(): 0, pid: 1369, name: kworker/0:2 2 locks held by kworker/0:2/1369: #0: ((wq_completion)"%s"name){+.+.}, at: [] __write_once_size include/linux/compiler.h:207 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] set_work_data kernel/workqueue.c:618 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] set_work_pool_and_clear_pending kernel/workqueue.c:645 [inline] #0: ((wq_completion)"%s"name){+.+.}, at: [] process_one_work+0xad4/0x1be0 kernel/workqueue.c:2083 sctp: [Deprecated]: syz-executor0 (pid 3645) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead #1: ((work_completion)(&squeue->work)){+.+.}, at: [] process_one_work+0xb2f/0x1be0 kernel/workqueue.c:2087 CPU: 0 PID: 1369 Comm: kworker/0:2 Not tainted 4.14.0+ #193 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: pencrypt padata_serial_worker Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 ___might_sleep+0x2b2/0x470 kernel/sched/core.c:6060 __might_sleep+0x95/0x190 kernel/sched/core.c:6013 lock_sock_nested+0x37/0x110 net/core/sock.c:2761 lock_sock include/net/sock.h:1465 [inline] af_alg_async_cb+0x86/0x1a0 crypto/af_alg.c:1039 aead_request_complete include/crypto/internal/aead.h:75 [inline] pcrypt_aead_serial+0x75/0xa0 crypto/pcrypt.c:123 padata_serial_worker+0x476/0x750 kernel/padata.c:348 process_one_work+0xbfd/0x1be0 kernel/workqueue.c:2112 worker_thread+0x223/0x1990 kernel/workqueue.c:2246 kthread+0x37a/0x440 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:437 QAT: Invalid ioctl nla_parse: 2 callbacks suppressed netlink: 17 bytes leftover after parsing attributes in process `syz-executor7'. QAT: Invalid ioctl netlink: 17 bytes leftover after parsing attributes in process `syz-executor7'. picdev_read: 156 callbacks suppressed kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read RDS: rds_bind could not find a transport for 0.0.0.7, load rds_tcp or rds_rdma? kvm: pic: non byte read kvm: pic: non byte read RDS: rds_bind could not find a transport for 0.0.0.7, load rds_tcp or rds_rdma? QAT: Invalid ioctl QAT: Invalid ioctl loop_reread_partitions: partition scan of loop0 (-\t@r9hxGQ:[il L*@R-Tr-x) failed (rc=-13) QAT: Invalid ioctl QAT: Invalid ioctl device gre0 entered promiscuous mode sctp: [Deprecated]: syz-executor2 (pid 4032) Use of int in maxseg socket option. Use struct sctp_assoc_value instead netlink: 17 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 17 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl SELinux: unrecognized netlink message: protocol=0 nlmsg_type=255 sclass=netlink_route_socket pig=4269 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=255 sclass=netlink_route_socket pig=4269 comm=syz-executor5 netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. sctp: [Deprecated]: syz-executor6 (pid 4609) Use of int in max_burst socket option. Use struct sctp_assoc_value instead device lo left promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=27305 sclass=netlink_route_socket pig=4623 comm=syz-executor7 device lo entered promiscuous mode device lo left promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=27305 sclass=netlink_route_socket pig=4623 comm=syz-executor7 device eql entered promiscuous mode netlink: 2 bytes leftover after parsing attributes in process `syz-executor5'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=14917 sclass=netlink_route_socket pig=4680 comm=syz-executor3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=14917 sclass=netlink_route_socket pig=4680 comm=syz-executor3 netlink: 5 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 64 bytes leftover after parsing attributes in process `syz-executor4'. kauditd_printk_skb: 254 callbacks suppressed audit: type=1326 audit(1511607356.539:3751): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 netlink: 64 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor3'. audit: type=1326 audit(1511607356.567:3752): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=55 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511607356.567:3753): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511607356.568:3754): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511607356.581:3755): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=257 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511607356.581:3756): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511607356.581:3757): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511607356.584:3758): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=16 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511607356.584:3759): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511607356.585:3760): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=4764 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 netlink: 2 bytes leftover after parsing attributes in process `syz-executor3'. loop_reread_partitions: partition scan of loop0 () failed (rc=-13) loop_reread_partitions: partition scan of loop0 (2]fIB!S,D') failed (rc=-13) loop_reread_partitions: partition scan of loop0 () failed (rc=-13) WARNING: kernel stack regs at ffff8801cb367508 in syz-executor1:5035 has bad 'bp' value 0000000000000029 unwind stack type:0 next_sp: (null) mask:0x6 graph_idx:0 ffff8801db407648: ffff8801db4076d0 (0xffff8801db4076d0) ffff8801db407650: ffffffff8128b15e (__save_stack_trace+0x6e/0xd0) ffff8801db407658: 0000000000000000 ... ffff8801db407660: ffff8801cb360000 (0xffff8801cb360000) ffff8801db407668: ffff8801cb368000 (0xffff8801cb368000) ffff8801db407670: 0000000000000000 ... ffff8801db407678: 0000000000000006 (0x6) ffff8801db407680: ffff8801d30ba3c0 (0xffff8801d30ba3c0) ffff8801db407688: 0000010100000000 (0x10100000000) ffff8801db407690: 0000000000000000 ... ffff8801db407698: ffff8801db407648 (0xffff8801db407648) ffff8801db4076a0: ffffffff8134e7ff (__twofish_enc_blk_3way+0x39f/0x1b30) ffff8801db4076a8: ffff8801cb367508 (0xffff8801cb367508) ffff8801db4076b0: 0000000001000000 (0x1000000) ffff8801db4076b8: ffff8801963ed2e0 (0xffff8801963ed2e0) ffff8801db4076c0: ffff8801963ed410 (0xffff8801963ed410) ffff8801db4076c8: ffffffff81b40f60 (__d_free+0x20/0x30) ffff8801db4076d0: ffff8801db4076e0 (0xffff8801db4076e0) ffff8801db4076d8: ffffffff8128b1da (save_stack_trace+0x1a/0x20) ffff8801db4076e0: ffff8801db407910 (0xffff8801db407910) ffff8801db4076e8: ffffffff81a659d3 (save_stack+0x43/0xd0) ffff8801db4076f0: 000000400000000a (0x400000000a) ffff8801db4076f8: ffff8801db407708 (0xffff8801db407708) ffff8801db407700: 0000000000000000 ... ffff8801db407708: ffffffff81a659d3 (save_stack+0x43/0xd0) ffff8801db407710: ffffffff81a662e1 (kasan_slab_free+0x71/0xc0) ffff8801db407718: ffffffff81a63417 (kmem_cache_free+0x77/0x280) ffff8801db407720: ffffffff81b40f60 (__d_free+0x20/0x30) ffff8801db407728: ffffffff815db404 (rcu_process_callbacks+0xd74/0x17d0) ffff8801db407730: ffffffff85143f7d (__do_softirq+0x29d/0xbb2) ffff8801db407738: ffffffff814278c3 (irq_exit+0x1d3/0x210) ffff8801db407740: ffffffff851424fb (smp_apic_timer_interrupt+0x16b/0x700) ffff8801db407748: ffffffff8513e77d (apic_timer_interrupt+0x9d/0xb0) ffff8801db407750: ffffffff8134e7ff (__twofish_enc_blk_3way+0x39f/0x1b30) ffff8801db407758: dffffc0000000000 (0xdffffc0000000000) ffff8801db407760: ffffffff85f47e80 (rcu_bh_varname+0x60/0x60) ffff8801db407768: ffff8801db407788 (0xffff8801db407788) ffff8801db407770: ffffffff8155a87e (trace_hardirqs_on_caller+0x19e/0x5c0) ffff8801db407778: 0000000000000286 (0x286) ffff8801db407780: ffffffff85f47e80 (rcu_bh_varname+0x60/0x60) ffff8801db407788: ffff8801db407798 (0xffff8801db407798) ffff8801db407790: ffffffff8155acad (trace_hardirqs_on+0xd/0x10) ffff8801db407798: ffff8801db4077b8 (0xffff8801db4077b8) ffff8801db4077a0: 0000000000000286 (0x286) ffff8801db4077a8: 0000000000000002 (0x2) ffff8801db4077b0: ffffffff85f47ed0 (rcu_sched_state+0x50/0x1720) ffff8801db4077b8: 0000000000000000 ... ffff8801db4077c0: ffffffff815d1cd7 (rcu_report_qs_rnp+0x2f7/0x880) ffff8801db4077c8: ffff8801d30ba3c0 (0xffff8801d30ba3c0) ffff8801db4077d0: ffffed003a617588 (0xffffed003a617588) ffff8801db4077d8: 1ffff1003b680eff (0x1ffff1003b680eff) ffff8801db4077e0: ffffffff85f47e80 (rcu_bh_varname+0x60/0x60) ffff8801db4077e8: 0000000000000286 (0x286) ffff8801db4077f0: 0000000000012464 (0x12464) ffff8801db4077f8: 0000000000000000 ... ffff8801db407800: 0000000041b58ab3 (0x41b58ab3) ffff8801db407808: ffffffff85b0cf48 (regoff.32280+0x257cc8/0x267a50) ffff8801db407810: ffffffff815591b0 (print_usage_bug+0x3f0/0x3f0) ffff8801db407818: ffff8801d30ba3c0 (0xffff8801d30ba3c0) ffff8801db407820: ffffffff85f47e98 (rcu_sched_state+0x18/0x1720) ffff8801db407828: 0000000000000000 ... ffff8801db407830: 1ffff1003b680f16 (0x1ffff1003b680f16) ffff8801db407838: 0000000000000000 ... ffff8801db407840: 0000000000000002 (0x2) ffff8801db407848: 0000000000000000 ... ffff8801db407850: ffff8801db407978 (0xffff8801db407978) ffff8801db407858: ffffffff81562455 (lock_acquire+0x1d5/0x580) ffff8801db407860: 0000000000000000 ... ffff8801db407868: ffffffff815db4cc (rcu_process_callbacks+0xe3c/0x17d0) ffff8801db407870: 0000000000000000 ... ffff8801db407878: 0000000000000286 (0x286) ffff8801db407880: 0000000041b58ab3 (0x41b58ab3) ffff8801db407888: 1ffff1003b680f16 (0x1ffff1003b680f16) ffff8801db407890: dffffc0000000000 (0xdffffc0000000000) ffff8801db407898: 0000000000000286 (0x286) ffff8801db4078a0: 0000000081562280 (0x81562280) ffff8801db4078a8: ffffffff85f44620 (rcu_panic_block+0x40/0x40) ffff8801db4078b0: 0000000041b58ab3 (0x41b58ab3) ffff8801db4078b8: ffffffff85b0abe0 (regoff.32280+0x255960/0x267a50) ffff8801db4078c0: ffffffff81562280 (lock_release+0xda0/0xda0) ffff8801db4078c8: 0000000000000086 (0x86) ffff8801db4078d0: ffff8801d30bacb8 (0xffff8801d30bacb8) ffff8801db4078d8: ffff8801963ed2e0 (0xffff8801963ed2e0) ffff8801db4078e0: ffff8801d30ba3c0 (0xffff8801d30ba3c0) ffff8801db4078e8: ffff8801db407938 (0xffff8801db407938) ffff8801db4078f0: ffffffff8155b6a8 (debug_check_no_locks_freed+0x268/0x3d0) ffff8801db4078f8: dffffc0000000000 (0xdffffc0000000000) ffff8801db407900: ffff8801d30bac48 (0xffff8801d30bac48) ffff8801db407908: ffff8801db217600 (0xffff8801db217600) ffff8801db407910: ffff8801db407938 (0xffff8801db407938) ffff8801db407918: ffffffff81a662e1 (kasan_slab_free+0x71/0xc0) ffff8801db407920: ffff8801963ed2e0 (0xffff8801963ed2e0) ffff8801db407928: ffff8801db217600 (0xffff8801db217600) ffff8801db407930: 0000000000000286 (0x286) ffff8801db407938: ffff8801db407968 (0xffff8801db407968) ffff8801db407940: ffffffff81a63417 (kmem_cache_free+0x77/0x280) ffff8801db407948: ffff8801963ed400 (0xffff8801963ed400) ffff8801db407950: ffffffff81b40f40 (__d_free_external+0x60/0x60) ffff8801db407958: ffff8801963ed408 (0xffff8801963ed408) ffff8801db407960: dffffc0000000000 (0xdffffc0000000000) ffff8801db407968: ffff8801db407980 (0xffff8801db407980) ffff8801db407970: ffffffff81b40f60 (__d_free+0x20/0x30) ffff8801db407978: ffff8801963ed400 (0xffff8801963ed400) ffff8801db407980: ffff8801db407c80 (0xffff8801db407c80) ffff8801db407988: ffffffff815db404 (rcu_process_callbacks+0xd74/0x17d0) ffff8801db407990: ffff8801db407c28 (0xffff8801db407c28) ffff8801db407998: ffff8801db407c30 (0xffff8801db407c30) ffff8801db4079a0: ffff8801db4269c0 (0xffff8801db4269c0) ffff8801db4079a8: ffffffff85f47e80 (rcu_bh_varname+0x60/0x60) ffff8801db4079b0: ffffffff85ecb5c8 (pv_irq_ops+0x8/0x30) ffff8801db4079b8: ffff8801db426a70 (0xffff8801db426a70) ffff8801db4079c0: ffff8801db407a58 (0xffff8801db407a58) ffff8801db4079c8: ffffed003b680f4b (0xffffed003b680f4b) ffff8801db4079d0: ffffed003b680f85 (0xffffed003b680f85) ffff8801db4079d8: 000000000000000a (0xa) ffff8801db4079e0: 1ffff1003b680f3f (0x1ffff1003b680f3f) ffff8801db4079e8: ffff8801db4269f8 (0xffff8801db4269f8) ffff8801db4079f0: ffff8801db407c18 (0xffff8801db407c18) ffff8801db4079f8: 0000000041b58ab3 (0x41b58ab3) ffff8801db407a00: ffffffff85b27548 (K512_4+0x8a48/0xb97f0) ffff8801db407a08: ffffffff815da690 (note_gp_changes+0x650/0x650) ffff8801db407a10: 0000000000000000 ... ffff8801db407a18: ffff8801db41d690 (0xffff8801db41d690) ffff8801db407a20: ffff8801c6427e08 (0xffff8801c6427e08) ffff8801db407a28: ffff8801db407a78 (0xffff8801db407a78) ffff8801db407a30: ffffffff85101ab9 (timerqueue_add+0x1e9/0x280) ffff8801db407a38: ffff8801db41dc98 (0xffff8801db41dc98) ffff8801db407a40: ffff8801db41d690 (0xffff8801db41d690) ffff8801db407a48: 0000000000000000 ... ffff8801db407a50: 1ffff1003b680f56 (0x1ffff1003b680f56) ffff8801db407a58: ffff8801db407c10 (0xffff8801db407c10) ffff8801db407a60: ffff8801db407c38 (0xffff8801db407c38) ffff8801db407a68: ffffffff8154bb36 (perf_trace_lock+0xd6/0x900) ffff8801db407a70: 0000000000000001 (0x1) ffff8801db407a78: ffff8801db407b58 (0xffff8801db407b58) ffff8801db407a80: ffffffff816018b2 (enqueue_hrtimer+0x162/0x490) ffff8801db407a88: 1ffff1003b680f65 (0x1ffff1003b680f65) ffff8801db407a90: 0000000000000001 (0x1) ffff8801db407a98: ffff880100000001 (0xffff880100000001) ffff8801db407aa0: ffffffff8747fbc8 (tk_core+0x8/0x160) ffff8801db407aa8: ffff8801db407b48 (0xffff8801db407b48) ffff8801db407ab0: ffff8801db407af0 (0xffff8801db407af0) ffff8801db407ab8: ffffffff8154ec09 (find_held_lock+0x39/0x1d0) ffff8801db407ac0: 0000000000000000 ... ffff8801db407ac8: 1ffff1003b680f65 (0x1ffff1003b680f65) ffff8801db407ad0: ffff8801db407b48 (0xffff8801db407b48) ffff8801db407ad8: ffff8801db407c48 (0xffff8801db407c48) ffff8801db407ae0: 0000000041b58ab3 (0x41b58ab3)