INFO: task syz-executor069:23271 blocked for more than 140 seconds. Not tainted 4.20.0-rc3+ #120 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor069 D19848 23271 6158 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xfe/0x460 kernel/sched/core.c:3516 __lock_sock+0x1fb/0x350 net/core/sock.c:2252 lock_sock_nested+0xfe/0x120 net/core/sock.c:2774 lock_sock include/net/sock.h:1492 [inline] sctp_setsockopt+0x33a/0x6da0 net/sctp/socket.c:4318 sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2978 __sys_setsockopt+0x1ba/0x3c0 net/socket.c:1902 __do_sys_setsockopt net/socket.c:1913 [inline] __se_sys_setsockopt net/socket.c:1910 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1910 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x44b6f9 Code: e8 dc e6 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 6b cb fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6e8ad20ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00000000006ddc28 RCX: 000000000044b6f9 RDX: 0000000000000009 RSI: 0000000000000084 RDI: 0000000000000005 RBP: 00000000006ddc20 R08: 0000000000000098 R09: 0000000000000000 R10: 0000000020000140 R11: 0000000000000246 R12: 00000000006ddc2c R13: 00007fffa30f72ef R14: 00007f6e8ad219c0 R15: 00000000006ddd2c Showing all locks held in the system: 1 lock held by khungtaskd/1020: #0: 00000000506c0f7c (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/6005: #0: 000000001a95f2cf (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/6128: #0: 00000000d9ae19b5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001b710c07 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6129: #0: 0000000050a5c968 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000575a3977 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6130: #0: 000000002fcca61b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000f5a34ce0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6131: #0: 00000000f0405708 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000094446b79 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6132: #0: 00000000138eda1f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000063b5b17d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6133: #0: 000000002bb6e2eb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000c00b8d66 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6134: #0: 00000000bb0fbc88 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000c299b6cf (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 1 lock held by syz-executor069/23284: 1 lock held by syz-executor069/371: 1 lock held by syz-executor069/29815: #0: 00000000c951a309 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1126 [inline] #0: 00000000c951a309 (&rq->lock){-.-.}, at: __schedule+0x236/0x21d0 kernel/sched/core.c:3410 7 locks held by syz-executor069/29818: #0: 00000000c951a309 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1126 [inline] #0: 00000000c951a309 (&rq->lock){-.-.}, at: __schedule+0x236/0x21d0 kernel/sched/core.c:3410 #1: 00000000506c0f7c (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:418 [inline] #1: 00000000506c0f7c (rcu_read_lock){....}, at: update_curr+0x383/0xbd0 kernel/sched/fair.c:830 #2: 00000000c951a309 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1126 [inline] #2: 00000000c951a309 (&rq->lock){-.-.}, at: ttwu_queue kernel/sched/core.c:1845 [inline] #2: 00000000c951a309 (&rq->lock){-.-.}, at: try_to_wake_up+0x9f6/0x1490 kernel/sched/core.c:2057 #3: 00000000506c0f7c (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:418 [inline] #3: 00000000506c0f7c (rcu_read_lock){....}, at: update_curr+0x383/0xbd0 kernel/sched/fair.c:830 #4: 00000000248f5114 (pool_lock){-.-.}, at: __free_object+0x8b/0x340 lib/debugobjects.c:252 #5: 000000008bee05a6 (&(&list->lock)->rlock#6){..-.}, at: spin_lock include/linux/spinlock.h:329 [inline] #5: 000000008bee05a6 (&(&list->lock)->rlock#6){..-.}, at: rps_lock net/core/dev.c:220 [inline] #5: 000000008bee05a6 (&(&list->lock)->rlock#6){..-.}, at: enqueue_to_backlog+0x151/0xfa0 net/core/dev.c:4229 #6: 0000000010f995e9 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}, at: psi_enqueue kernel/sched/stats.h:82 [inline] #6: 0000000010f995e9 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}, at: enqueue_task kernel/sched/core.c:727 [inline] #6: 0000000010f995e9 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}, at: activate_task+0x1b4/0x470 kernel/sched/core.c:751 2 locks held by syz-executor069/29850: #0: 00000000e349be50 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1126 [inline] #0: 00000000e349be50 (&rq->lock){-.-.}, at: __schedule+0x236/0x21d0 kernel/sched/core.c:3410 #1: 00000000506c0f7c (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:418 [inline] #1: 00000000506c0f7c (rcu_read_lock){....}, at: update_curr+0x383/0xbd0 kernel/sched/fair.c:830 1 lock held by syz-executor069/29875: #0: 00000000e349be50 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1126 [inline] #0: 00000000e349be50 (&rq->lock){-.-.}, at: __schedule+0x236/0x21d0 kernel/sched/core.c:3410 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1020 Comm: khungtaskd Not tainted 4.20.0-rc3+ #120 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x244/0x39d lib/dump_stack.c:113 nmi_cpu_backtrace.cold.2+0x5c/0xa1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1e8/0x22a lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xb51/0x1060 kernel/hung_task.c:289 kthread+0x35a/0x440 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.024 msecs NMI backtrace for cpu 0 CPU: 0 PID: 371 Comm: syz-executor069 Not tainted 4.20.0-rc3+ #120 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__save_stack_trace+0x62/0xf0 arch/x86/kernel/stacktrace.c:43 Code: 00 00 00 0f b6 d1 e8 5d ff ff ff 49 8b 8d 98 00 00 00 48 8d 7d 80 4c 89 ea 4c 89 f6 e8 87 56 08 00 8b 55 80 85 d2 75 24 eb 30 <44> 89 e2 48 89 c6 48 89 df e8 30 ff ff ff 85 c0 75 1e 48 8d 7d 80 RSP: 0018:ffff8881b30a6d88 EFLAGS: 00000282 RAX: ffffffff81c29b7c RBX: ffff8881b30a6e28 RCX: 0000000000000000 RDX: 1ffff11036614dba RSI: ffff8881b30a7138 RDI: ffffffff81c29b7c RBP: ffff8881b30a6e08 R08: ffff8881b30a6dc0 R09: ffff8881c0c12580 R10: ffffed1036614dbb R11: ffff8881b30a6ddf R12: 0000000000000000 R13: 0000000000000000 R14: ffff8881c0c12580 R15: ffff88806efda7bf FS: 00007f6e8ad00700(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffa30f7380 CR3: 00000001d9384000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: save_stack_trace+0x1a/0x20 arch/x86/kernel/stacktrace.c:60 save_stack+0x43/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xc7/0xe0 mm/kasan/kasan.c:553 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:490 slab_post_alloc_hook mm/slab.h:444 [inline] slab_alloc_node mm/slab.c:3335 [inline] kmem_cache_alloc_node_trace+0x135/0x740 mm/slab.c:3661 __do_kmalloc_node mm/slab.c:3683 [inline] __kmalloc_node_track_caller+0x3c/0x70 mm/slab.c:3698 __kmalloc_reserve.isra.40+0x41/0xe0 net/core/skbuff.c:137 __alloc_skb+0x155/0x770 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:997 [inline] _sctp_make_chunk+0x58/0x280 net/sctp/sm_make_chunk.c:1402 sctp_make_data net/sctp/sm_make_chunk.c:1434 [inline] sctp_make_datafrag_empty+0x1d2/0x2e0 net/sctp/sm_make_chunk.c:748 sctp_datamsg_from_user+0x7ca/0x1310 net/sctp/chunk.c:275 sctp_sendmsg_to_asoc+0x5ca/0x1a20 net/sctp/socket.c:1941 sctp_sendmsg+0x13c2/0x1da0 net/sctp/socket.c:2113 inet_sendmsg+0x1a1/0x690 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xd5/0x120 net/socket.c:631 sock_write_iter+0x35e/0x5c0 net/socket.c:900 call_write_iter include/linux/fs.h:1857 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6b8/0x9f0 fs/read_write.c:487 vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x44b6f9 Code: e8 dc e6 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 6b cb fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6e8acffce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000006ddc38 RCX: 000000000044b6f9 RDX: 0000000000000044 RSI: 00000000200002c0 RDI: 0000000000000005 RBP: 00000000006ddc30 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006ddc3c R13: 00007fffa30f72ef R14: 00007f6e8ad009c0 R15: 00000000006ddd2c