bisecting fixing commit since a03957ab0fd5d7d03b512a72ab9106a1749f556e building syzkaller on 1bfa09b9672821334a7ed926244ebc39910b84f4 testing commit a03957ab0fd5d7d03b512a72ab9106a1749f556e with gcc (GCC) 8.1.0 kernel signature: ad16a6c63f3668dec72dd228ff0f5c081233022c4dbc5b79cdd0689cd7bd048f run #0: crashed: general protection fault in corrupted run #1: crashed: general protection fault in flex_array_get run #2: crashed: general protection fault in flex_array_get run #3: crashed: general protection fault in flex_array_get run #4: crashed: general protection fault in flex_array_get run #5: crashed: general protection fault in flex_array_get run #6: crashed: general protection fault in flex_array_get run #7: crashed: general protection fault in flex_array_get run #8: crashed: general protection fault in corrupted run #9: crashed: general protection fault in flex_array_get testing current HEAD 31acccdc877486a649a86d37725a15175fcd5ed6 testing commit 31acccdc877486a649a86d37725a15175fcd5ed6 with gcc (GCC) 8.1.0 kernel signature: 850d66e3d12715a9b5908ec19051270abe6a33648cbb865e5b50a1e34b0982c5 run #0: crashed: general protection fault in flex_array_get run #1: crashed: general protection fault in flex_array_get run #2: crashed: general protection fault in corrupted run #3: crashed: general protection fault in flex_array_get run #4: crashed: general protection fault in flex_array_get run #5: crashed: general protection fault in flex_array_get run #6: crashed: general protection fault in flex_array_get run #7: crashed: general protection fault in flex_array_get run #8: crashed: general protection fault in flex_array_get run #9: crashed: general protection fault in flex_array_get revisions tested: 2, total time: 24m9.407107704s (build: 16m52.188670792s, test: 6m18.90848423s) the crash still happens on HEAD commit msg: Linux 4.19.157 crash: general protection fault in flex_array_get R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9d2049d6d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7572 Comm: syz-executor.0 Not tainted 4.19.157-syzkaller #0 CPU: 0 PID: 7564 Comm: syz-executor.5 Not tainted 4.19.157-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: RIP: 0010:flex_array_get+0x23/0x240 lib/flex_array.c:320 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x177 lib/dump_stack.c:118 Code: 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 55 48 89 fa 48 89 e5 48 c1 ea 03 41 56 41 55 41 54 53 48 89 fb 48 83 ec 10 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 8d 01 00 00 44 8b 33 45 85 f6 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 RSP: 0018:ffff88807d3b75a8 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff110161cc756 __should_failslab+0xba/0xf0 mm/failslab.c:32 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88807d3b75d8 R08: ffff88807d3b7908 R09: ffffed10174c4732 should_failslab+0x9/0x14 mm/slab_common.c:1588 R10: ffffed10174c4732 R11: ffff8880ba623993 R12: ffff88809e9884c0 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node_trace+0x5a/0x740 mm/slab.c:3666 R13: ffff88807d342c04 R14: ffff8880a5264c00 R15: 1ffff11013d31181 __do_kmalloc_node mm/slab.c:3688 [inline] __kmalloc_node_track_caller+0x3c/0x70 mm/slab.c:3703 FS: 00007f66258d0700(0000) GS:ffff8880ba600000(0000) knlGS:0000000000000000 __kmalloc_reserve.isra.39+0x2c/0xc0 net/core/skbuff.c:137 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 __alloc_skb+0xd7/0x580 net/core/skbuff.c:205 CR2: 0000000000738020 CR3: 0000000095a66000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: alloc_skb include/linux/skbuff.h:995 [inline] _sctp_make_chunk+0x3f/0x260 net/sctp/sm_make_chunk.c:1411 sctp_make_control net/sctp/sm_make_chunk.c:1458 [inline] sctp_make_cookie_echo+0x85/0x160 net/sctp/sm_make_chunk.c:591 sctp_stream_out include/net/sctp/structs.h:1474 [inline] sctp_sched_dequeue_done+0x1d8/0x300 net/sctp/stream_sched.c:255 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1397 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x2929/0x4e50 net/sctp/sm_sideeffect.c:1170 __sctp_outq_teardown+0x660/0xc30 net/sctp/outqueue.c:268 sctp_outq_free+0x9/0x10 net/sctp/outqueue.c:292 sctp_association_free+0x1d5/0x711 net/sctp/associola.c:361 sctp_cmd_delete_tcb net/sctp/sm_sideeffect.c:944 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1332 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x989/0x4e50 net/sctp/sm_sideeffect.c:1170 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 sctp_primitive_SHUTDOWN+0x7c/0xc0 net/sctp/primitive.c:104 sctp_close+0x354/0x750 net/sctp/socket.c:1560 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 inet_release+0xb9/0x1b0 net/ipv4/af_inet.c:427 release_sock+0x4f/0x180 net/core/sock.c:2881 __sock_release+0xc7/0x2a0 net/socket.c:579 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 sock_close+0x10/0x20 net/socket.c:1140 __fput+0x24c/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x10e/0x190 kernel/task_work.c:113 get_signal+0x13ba/0x1a30 kernel/signal.c:2400 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 do_signal+0x87/0x1960 arch/x86/kernel/signal.c:821 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb7/0xf0 net/socket.c:632 exit_to_usermode_loop+0x114/0x200 arch/x86/entry/common.c:163 ___sys_sendmsg+0x649/0x950 net/socket.c:2115 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x419/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f66258cfc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 000000000001fff8 RBX: 00007f66258cfc90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f66258d06d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 Modules linked in: 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 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f13fc49dc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f13fc49dc90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f13fc49e6d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 CPU: 0 PID: 7575 Comm: syz-executor.1 Tainted: G D 4.19.157-syzkaller #0 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+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x56/0x730 mm/slab.c:3647 __alloc_skb+0xa7/0x580 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] sctp_packet_transmit+0x26b/0x3490 net/sctp/output.c:584 sctp_outq_flush_transports net/sctp/outqueue.c:1166 [inline] sctp_outq_flush+0x252/0x22f0 net/sctp/outqueue.c:1214 sctp_outq_uncork+0x49/0x60 net/sctp/outqueue.c:777 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1815 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x1056/0x4e50 net/sctp/sm_sideeffect.c:1170 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 release_sock+0x4f/0x180 net/core/sock.c:2881 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb7/0xf0 net/socket.c:632 ___sys_sendmsg+0x649/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f75a13c3c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f75a13c3c90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f75a13c46d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 CPU: 0 PID: 7576 Comm: syz-executor.3 Tainted: G D 4.19.157-syzkaller #0 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+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x47/0x730 mm/slab.c:3557 kmem_cache_zalloc include/linux/slab.h:699 [inline] sctp_chunkify+0x46/0x270 net/sctp/sm_make_chunk.c:1349 _sctp_make_chunk+0x128/0x260 net/sctp/sm_make_chunk.c:1422 sctp_make_control net/sctp/sm_make_chunk.c:1458 [inline] sctp_make_cookie_echo+0x85/0x160 net/sctp/sm_make_chunk.c:591 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1397 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x2929/0x4e50 net/sctp/sm_sideeffect.c:1170 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 release_sock+0x4f/0x180 net/core/sock.c:2881 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb7/0xf0 net/socket.c:632 ___sys_sendmsg+0x649/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f454c21bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f454c21bc90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f454c21c6d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 7590 Comm: syz-executor.4 Tainted: G D 4.19.157-syzkaller #0 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+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x56/0x730 mm/slab.c:3647 __alloc_skb+0xa7/0x580 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] sctp_packet_transmit+0x26b/0x3490 net/sctp/output.c:584 sctp_outq_flush_transports net/sctp/outqueue.c:1166 [inline] sctp_outq_flush+0x252/0x22f0 net/sctp/outqueue.c:1214 sctp_outq_uncork+0x49/0x60 net/sctp/outqueue.c:777 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1815 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x1056/0x4e50 net/sctp/sm_sideeffect.c:1170 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 release_sock+0x4f/0x180 net/core/sock.c:2881 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb7/0xf0 net/socket.c:632 ___sys_sendmsg+0x649/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f1e2ff38c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1e2ff38c90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1e2ff396d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 CPU: 0 PID: 7578 Comm: syz-executor.2 Tainted: G D 4.19.157-syzkaller #0 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+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc+0x70/0x770 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] kzalloc include/linux/slab.h:709 [inline] sctp_tsnmap_init+0x161/0x220 net/sctp/tsnmap.c:54 sctp_process_init+0x1bb0/0x2d50 net/sctp/sm_make_chunk.c:2449 sctp_cmd_process_init net/sctp/sm_sideeffect.c:682 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1391 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x9f6/0x4e50 net/sctp/sm_sideeffect.c:1170 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 release_sock+0x4f/0x180 net/core/sock.c:2881 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb7/0xf0 net/socket.c:632 ___sys_sendmsg+0x649/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9d2049cc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9d2049cc90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9d2049d6d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 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 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 7596 Comm: syz-executor.2 Tainted: G D 4.19.157-syzkaller #0 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+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x56/0x730 mm/slab.c:3647 __alloc_skb+0xa7/0x580 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] sctp_packet_transmit+0x26b/0x3490 net/sctp/output.c:584 sctp_outq_flush_transports net/sctp/outqueue.c:1166 [inline] sctp_outq_flush+0x252/0x22f0 net/sctp/outqueue.c:1214 sctp_outq_uncork+0x49/0x60 net/sctp/outqueue.c:777 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1815 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x1056/0x4e50 net/sctp/sm_sideeffect.c:1170 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 release_sock+0x4f/0x180 net/core/sock.c:2881 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb7/0xf0 net/socket.c:632 ___sys_sendmsg+0x649/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9d2049cc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9d2049cc90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9d2049d6d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 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: 7594 Comm: syz-executor.0 Tainted: G D 4.19.157-syzkaller #0 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+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x56/0x730 mm/slab.c:3647 __alloc_skb+0xa7/0x580 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] sctp_packet_transmit+0x26b/0x3490 net/sctp/output.c:584 sctp_outq_flush_transports net/sctp/outqueue.c:1166 [inline] sctp_outq_flush+0x252/0x22f0 net/sctp/outqueue.c:1214 sctp_outq_uncork+0x49/0x60 net/sctp/outqueue.c:777 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1815 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x1056/0x4e50 net/sctp/sm_sideeffect.c:1170 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 release_sock+0x4f/0x180 net/core/sock.c:2881 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb7/0xf0 net/socket.c:632 ___sys_sendmsg+0x649/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f13fc49dc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f13fc49dc90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f13fc49e6d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 CPU: 0 PID: 7602 Comm: syz-executor.3 Tainted: G D 4.19.157-syzkaller #0 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+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node_trace+0x5a/0x740 mm/slab.c:3666 __do_kmalloc_node mm/slab.c:3688 [inline] __kmalloc_node_track_caller+0x3c/0x70 mm/slab.c:3703 __kmalloc_reserve.isra.39+0x2c/0xc0 net/core/skbuff.c:137 __alloc_skb+0xd7/0x580 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:995 [inline] sctp_packet_transmit+0x26b/0x3490 net/sctp/output.c:584 sctp_packet_singleton net/sctp/outqueue.c:792 [inline] sctp_outq_flush_ctrl.constprop.12+0x5f7/0xcb0 net/sctp/outqueue.c:923 sctp_outq_flush+0xd0/0x22f0 net/sctp/outqueue.c:1205 sctp_outq_uncork+0x49/0x60 net/sctp/outqueue.c:777 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1328 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x3591/0x4e50 net/sctp/sm_sideeffect.c:1170 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 release_sock+0x4f/0x180 net/core/sock.c:2881 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb7/0xf0 net/socket.c:632 ___sys_sendmsg+0x649/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f454c21bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f454c21bc90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f454c21c6d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 CPU: 0 PID: 7601 Comm: syz-executor.1 Tainted: G D 4.19.157-syzkaller #0 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+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x56/0x730 mm/slab.c:3647 __alloc_skb+0xa7/0x580 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] _sctp_make_chunk+0x3f/0x260 net/sctp/sm_make_chunk.c:1411 sctp_make_control net/sctp/sm_make_chunk.c:1458 [inline] sctp_make_cookie_echo+0x85/0x160 net/sctp/sm_make_chunk.c:591 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1397 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x2929/0x4e50 net/sctp/sm_sideeffect.c:1170 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 release_sock+0x4f/0x180 net/core/sock.c:2881 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb7/0xf0 net/socket.c:632 ___sys_sendmsg+0x649/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458e29 Code: 2d b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 fb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f75a13c3c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f75a13c3c90 RCX: 0000000000458e29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f75a13c46d4 R13: 00000000004c6075 R14: 00000000004da858 R15: 0000000000000005 CPU: 0 PID: 7609 Comm: syz-executor.4 Tainted: G D 4.19.157-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ---[ end trace c5817148b82f4ffc ]--- Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 RIP: 0010:flex_array_get+0x23/0x240 lib/flex_array.c:320 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node_trace+0x5a/0x740 mm/slab.c:3666 __do_kmalloc_node mm/slab.c:3688 [inline] __kmalloc_node_track_caller+0x3c/0x70 mm/slab.c:3703 Code: 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 55 48 89 fa 48 89 e5 48 c1 ea 03 41 56 41 55 41 54 53 48 89 fb 48 83 ec 10 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 8d 01 00 00 44 8b 33 45 85 f6 __kmalloc_reserve.isra.39+0x2c/0xc0 net/core/skbuff.c:137 __alloc_skb+0xd7/0x580 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:995 [inline] _sctp_make_chunk+0x3f/0x260 net/sctp/sm_make_chunk.c:1411 sctp_make_control net/sctp/sm_make_chunk.c:1458 [inline] sctp_make_cookie_echo+0x85/0x160 net/sctp/sm_make_chunk.c:591 RSP: 0018:ffff88807d3b75a8 EFLAGS: 00010282 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1397 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x2929/0x4e50 net/sctp/sm_sideeffect.c:1170 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff110161cc756 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88807d3b75d8 R08: ffff88807d3b7908 R09: ffffed10174c4732 R10: ffffed10174c4732 R11: ffff8880ba623993 R12: ffff88809e9884c0 sctp_assoc_bh_rcv+0x27f/0x5c0 net/sctp/associola.c:1073 sctp_inq_push+0x1aa/0x240 net/sctp/inqueue.c:95 R13: ffff88807d342c04 R14: ffff8880a5264c00 R15: 1ffff11013d31181 sctp_backlog_rcv+0x1ab/0x13b0 net/sctp/input.c:356 FS: 00007f66258d0700(0000) GS:ffff8880ba700000(0000) knlGS:0000000000000000 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x10c/0x360 net/core/sock.c:2344 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 release_sock+0x4f/0x180 net/core/sock.c:2881 sctp_wait_for_connect+0x22c/0x4c0 net/sctp/socket.c:8634 CR2: 0000558354038c8f CR3: 0000000095a66000 CR4: 00000000001406e0 sctp_sendmsg_to_asoc+0x169a/0x1e10 net/sctp/socket.c:1989 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 sctp_sendmsg+0xd3f/0x1680 net/sctp/socket.c:2135 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 inet_sendmsg+0x10d/0x450 net/ipv4/af_inet.c:798