Use struct sctp_sack_info instead ====================================================== WARNING: possible circular locking dependency detected 4.14.0-next-20171123+ #50 Not tainted ------------------------------------------------------ syz-executor0/17948 is trying to acquire lock: (console_lock){+.+.}, at: [] vcs_write+0x14d/0xca0 drivers/tty/vt/vc_screen.c:397 but task is already holding lock: (&pipe->mutex/1){+.+.}, at: [] pipe_lock_nested fs/pipe.c:67 [inline] (&pipe->mutex/1){+.+.}, at: [] pipe_lock+0x56/0x70 fs/pipe.c:75 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #3 (&pipe->mutex/1){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 __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 pipe_lock_nested fs/pipe.c:67 [inline] pipe_lock+0x56/0x70 fs/pipe.c:75 iter_file_splice_write+0x264/0xf30 fs/splice.c:699 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0x7d5/0x1630 fs/splice.c:1382 entry_SYSCALL_64_fastpath+0x1f/0x96 -> #2 (sb_writers){.+.+}: spin_lock include/linux/spinlock.h:315 [inline] devtmpfsd+0x224/0x4b0 drivers/base/devtmpfs.c:392 -> #1 ((completion)&req.done){+.+.}: lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 complete_acquire include/linux/completion.h:40 [inline] __wait_for_common kernel/sched/completion.c:109 [inline] wait_for_common kernel/sched/completion.c:123 [inline] wait_for_completion+0xcb/0x7b0 kernel/sched/completion.c:144 devtmpfs_create_node+0x32b/0x4a0 drivers/base/devtmpfs.c:115 device_add+0x120f/0x1640 drivers/base/core.c:1824 device_create_groups_vargs+0x1f3/0x250 drivers/base/core.c:2430 device_create_vargs drivers/base/core.c:2470 [inline] device_create+0xda/0x110 drivers/base/core.c:2506 vcs_make_sysfs+0x35/0x60 drivers/tty/vt/vc_screen.c:629 vc_allocate+0x4b7/0x6b0 drivers/tty/vt/vt.c:797 con_install+0x52/0x440 drivers/tty/vt/vt.c:2876 tty_driver_install_tty drivers/tty/tty_io.c:1215 [inline] tty_init_dev+0xf6/0x4a0 drivers/tty/tty_io.c:1315 tty_open_by_driver drivers/tty/tty_io.c:1942 [inline] tty_open+0x608/0xab0 drivers/tty/tty_io.c:1990 chrdev_open+0x257/0x730 fs/char_dev.c:417 do_dentry_open+0x682/0xd70 fs/open.c:752 vfs_open+0x107/0x230 fs/open.c:866 do_last fs/namei.c:3388 [inline] path_openat+0x1157/0x3530 fs/namei.c:3528 do_filp_open+0x25b/0x3b0 fs/namei.c:3563 do_sys_open+0x502/0x6d0 fs/open.c:1059 SYSC_open fs/open.c:1077 [inline] SyS_open+0x2d/0x40 fs/open.c:1072 entry_SYSCALL_64_fastpath+0x1f/0x96 -> #0 (console_lock){+.+.}: check_prevs_add kernel/locking/lockdep.c:2031 [inline] validate_chain kernel/locking/lockdep.c:2473 [inline] __lock_acquire+0x3498/0x47f0 kernel/locking/lockdep.c:3500 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 console_lock+0x4b/0x80 kernel/printk/printk.c:2047 vcs_write+0x14d/0xca0 drivers/tty/vt/vc_screen.c:397 __vfs_write+0xef/0x970 fs/read_write.c:480 __kernel_write+0xfe/0x350 fs/read_write.c:501 write_pipe_buf+0x175/0x220 fs/splice.c:797 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x328/0x730 fs/splice.c:626 splice_from_pipe+0x1e9/0x330 fs/splice.c:661 default_file_splice_write+0x40/0x90 fs/splice.c:809 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0x7d5/0x1630 fs/splice.c:1382 entry_SYSCALL_64_fastpath+0x1f/0x96 other info that might help us debug this: Chain exists of: console_lock --> sb_writers --> &pipe->mutex/1 Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&pipe->mutex/1); lock(sb_writers); lock(&pipe->mutex/1); lock(console_lock); *** DEADLOCK *** 1 lock held by syz-executor0/17948: #0: (&pipe->mutex/1){+.+.}, at: [] pipe_lock_nested fs/pipe.c:67 [inline] #0: (&pipe->mutex/1){+.+.}, at: [] pipe_lock+0x56/0x70 fs/pipe.c:75 stack backtrace: CPU: 0 PID: 17948 Comm: syz-executor0 Not tainted 4.14.0-next-20171123+ #50 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/0x257 lib/dump_stack.c:53 print_circular_bug+0x42d/0x610 kernel/locking/lockdep.c:1271 check_prev_add+0x666/0x15f0 kernel/locking/lockdep.c:1914 check_prevs_add kernel/locking/lockdep.c:2031 [inline] validate_chain kernel/locking/lockdep.c:2473 [inline] __lock_acquire+0x3498/0x47f0 kernel/locking/lockdep.c:3500 lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004 console_lock+0x4b/0x80 kernel/printk/printk.c:2047 vcs_write+0x14d/0xca0 drivers/tty/vt/vc_screen.c:397 __vfs_write+0xef/0x970 fs/read_write.c:480 __kernel_write+0xfe/0x350 fs/read_write.c:501 write_pipe_buf+0x175/0x220 fs/splice.c:797 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x328/0x730 fs/splice.c:626 splice_from_pipe+0x1e9/0x330 fs/splice.c:661 default_file_splice_write+0x40/0x90 fs/splice.c:809 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0x7d5/0x1630 fs/splice.c:1382 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007f53b582fbe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000013 RSI: 0000000000000000 RDI: 0000000000000014 RBP: 0000000000000086 R08: 00000000fffff5fc R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f2608 R13: 00000000ffffffff R14: 00007f53b58306d4 R15: 0000000000000000 sctp: [Deprecated]: syz-executor3 (pid 17943) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead do_dccp_getsockopt: sockopt(PACKET_SIZE) is deprecated: fix your app do_dccp_getsockopt: sockopt(PACKET_SIZE) is deprecated: fix your app device lo left promiscuous mode do_dccp_getsockopt: sockopt(PACKET_SIZE) is deprecated: fix your app APIC base relocation is unsupported by KVM do_dccp_getsockopt: sockopt(PACKET_SIZE) is deprecated: fix your app QAT: Invalid ioctl device gre0 entered promiscuous mode QAT: Invalid ioctl syz-executor6: vmalloc: allocation failure: 17179402552 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor6 cpuset=/ mems_allowed=0 CPU: 0 PID: 18318 Comm: syz-executor6 Not tainted 4.14.0-next-20171123+ #50 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/0x257 lib/dump_stack.c:53 warn_alloc+0x19a/0x2b0 mm/page_alloc.c:3294 __vmalloc_node_range+0x4f0/0x650 mm/vmalloc.c:1775 __vmalloc_node mm/vmalloc.c:1804 [inline] __vmalloc_node_flags_caller+0x50/0x60 mm/vmalloc.c:1826 kvmalloc_node+0x82/0xd0 mm/util.c:406 kvmalloc include/linux/mm.h:541 [inline] kvmalloc_array include/linux/mm.h:557 [inline] xt_alloc_entry_offsets+0x21/0x30 net/netfilter/x_tables.c:774 translate_table+0x235/0x1690 net/ipv6/netfilter/ip6_tables.c:704 do_replace net/ipv6/netfilter/ip6_tables.c:1167 [inline] do_ip6t_set_ctl+0x34b/0x5c0 net/ipv6/netfilter/ip6_tables.c:1693 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x115/0x150 net/ipv6/ipv6_sockglue.c:927 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2871 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1851 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1830 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007f725511cbe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000015 RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020001fde R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a6f7ff R14: 00007f725511d9c0 R15: 0000000000000000 warn_alloc_show_mem: 1 callbacks suppressed Mem-Info: active_anon:131580 inactive_anon:37 isolated_anon:0 active_file:3850 inactive_file:9056 isolated_file:0 unevictable:0 dirty:208 writeback:0 unstable:0 slab_reclaimable:7688 slab_unreclaimable:98947 mapped:22773 shmem:185 pagetables:907 bounce:0 free:1354237 free_pcp:518 free_cma:0 Node 0 active_anon:516084kB inactive_anon:148kB active_file:15400kB inactive_file:36224kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:91092kB dirty:832kB writeback:0kB shmem:740kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 51200kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no Node 0 DMA free:15908kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 2882 6395 6395 Node 0 DMA32 free:2953112kB min:30384kB low:37980kB high:45576kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3129332kB managed:2954000kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:884kB local_pcp:152kB free_cma:0kB lowmem_reserve[]: 0 0 3513 3513 Node 0 Normal free:2463228kB min:37032kB low:46288kB high:55544kB active_anon:511812kB inactive_anon:148kB active_file:15400kB inactive_file:36224kB unevictable:0kB writepending:832kB present:4718592kB managed:3597644kB mlocked:0kB kernel_stack:4224kB pagetables:3332kB bounce:0kB free_pcp:1252kB local_pcp:640kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 Node 0 DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15908kB Node 0 DMA32: 4*4kB (M) 1*8kB (M) 4*16kB (M) 2*32kB (M) 4*64kB (M) 2*128kB (M) 5*256kB (UM) 4*512kB (UM) 2*1024kB (UM) 3*2048kB (UM) 718*4096kB (M) = 2953112kB Node 0 Normal: 812*4kB (UME) 583*8kB (UME) 1511*16kB (UME) 752*32kB (UME) 1488*64kB (UME) 198*128kB (UME) 34*256kB (UM) 26*512kB (UME) 13*1024kB (UME) 5*2048kB (UM) 548*4096kB (UM) = 2466904kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 13089 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 324091 pages reserved syz-executor6: vmalloc: allocation failure: 17179402552 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor6 cpuset=/ mems_allowed=0 CPU: 1 PID: 18360 Comm: syz-executor6 Not tainted 4.14.0-next-20171123+ #50 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/0x257 lib/dump_stack.c:53 warn_alloc+0x19a/0x2b0 mm/page_alloc.c:3294 __vmalloc_node_range+0x4f0/0x650 mm/vmalloc.c:1775 __vmalloc_node mm/vmalloc.c:1804 [inline] __vmalloc_node_flags_caller+0x50/0x60 mm/vmalloc.c:1826 kvmalloc_node+0x82/0xd0 mm/util.c:406 kvmalloc include/linux/mm.h:541 [inline] kvmalloc_array include/linux/mm.h:557 [inline] xt_alloc_entry_offsets+0x21/0x30 net/netfilter/x_tables.c:774 translate_table+0x235/0x1690 net/ipv6/netfilter/ip6_tables.c:704 do_replace net/ipv6/netfilter/ip6_tables.c:1167 [inline] do_ip6t_set_ctl+0x34b/0x5c0 net/ipv6/netfilter/ip6_tables.c:1693 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x115/0x150 net/ipv6/ipv6_sockglue.c:927 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2871 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1851 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1830 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007f72550dabe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000758190 RCX: 0000000000452879 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000015 RBP: 000000000000054b R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020001fde R11: 0000000000000212 R12: 00000000006f4fa8 R13: 00000000ffffffff R14: 00007f72550db6d4 R15: 0000000000000002 nla_parse: 3 callbacks suppressed netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. kauditd_printk_skb: 585 callbacks suppressed audit: type=1326 audit(1511415867.277:1957): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511415867.277:1958): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=16 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511415867.277:1959): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511415867.277:1960): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=298 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511415867.277:1961): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511415867.277:1962): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=22 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511415867.277:1963): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511415867.277:1964): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=298 compat=0 ip=0x452879 code=0x7ffc0000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 1 CPU: 1 PID: 19002 Comm: syz-executor7 Not tainted 4.14.0-next-20171123+ #50 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/0x257 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:425 [inline] slab_alloc mm/slab.c:3372 [inline] __do_kmalloc mm/slab.c:3710 [inline] __kmalloc_track_caller+0x5f/0x760 mm/slab.c:3727 memdup_user+0x2c/0x90 mm/util.c:164 map_lookup_elem+0x28d/0xc20 kernel/bpf/syscall.c:549 SYSC_bpf kernel/bpf/syscall.c:1725 [inline] SyS_bpf+0x588/0x3ce0 kernel/bpf/syscall.c:1699 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007f9bcfacebe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000018 RSI: 0000000020fe5fe8 RDI: 0000000000000001 RBP: 00007f9bcfacea20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b757e R13: 00007f9bcfaceb58 R14: 00000000004b758e R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 19011 Comm: syz-executor7 Not tainted 4.14.0-next-20171123+ #50 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/0x257 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:425 [inline] slab_alloc mm/slab.c:3372 [inline] __do_kmalloc mm/slab.c:3710 [inline] __kmalloc+0x63/0x760 mm/slab.c:3721 kmalloc include/linux/slab.h:519 [inline] map_lookup_elem+0x69b/0xc20 kernel/bpf/syscall.c:565 SYSC_bpf kernel/bpf/syscall.c:1725 [inline] SyS_bpf+0x588/0x3ce0 kernel/bpf/syscall.c:1699 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007f9bcfacebe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000018 RSI: 0000000020fe5fe8 RDI: 0000000000000001 RBP: 00007f9bcfacea20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b757e R13: 00007f9bcfaceb58 R14: 00000000004b758e R15: 0000000000000000 TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 19213 Comm: syz-executor1 Not tainted 4.14.0-next-20171123+ #50 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/0x257 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:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3546 ptlock_alloc+0x24/0x70 mm/memory.c:4673 ptlock_init include/linux/mm.h:1790 [inline] pgtable_page_ctor include/linux/mm.h:1824 [inline] pte_alloc_one+0x59/0x100 arch/x86/mm/pgtable.c:32 do_huge_pmd_anonymous_page+0xc23/0x1b00 mm/huge_memory.c:689 create_huge_pmd mm/memory.c:3816 [inline] __handle_mm_fault+0x1b68/0x3dd0 mm/memory.c:4019 handle_mm_fault+0x38f/0x930 mm/memory.c:4085 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1429 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1504 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1088 RIP: 0033:0x401819 RSP: 002b:00007f0413a95b20 EFLAGS: 00010246 RAX: 0000000020000000 RBX: 0000000000000032 RCX: 0000000000000000 RDX: 22c070bd3dffa726 RSI: 0000000000000000 RDI: 00007f0413a96608 RBP: 0000000020839000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000032 R11: 0000000000000000 R12: 00000000006f53c8 R13: 0000000000000013 R14: 00007f0413a966d4 R15: ffffffffffffffff syz-executor1 invoked oom-killer: gfp_mask=0x0(), nodemask=(null), order=0, oom_score_adj=0 syz-executor1 cpuset=/ mems_allowed=0 CPU: 1 PID: 19213 Comm: syz-executor1 Not tainted 4.14.0-next-20171123+ #50 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/0x257 lib/dump_stack.c:53 dump_header+0x28c/0xe1e mm/oom_kill.c:437 oom_kill_process+0x8b9/0x1550 mm/oom_kill.c:863 out_of_memory+0x86d/0x1220 mm/oom_kill.c:1077 pagefault_out_of_memory+0x135/0x152 mm/oom_kill.c:1108 mm_fault_error+0xd6/0x2c0 arch/x86/mm/fault.c:1053 __do_page_fault+0xb4d/0xc90 arch/x86/mm/fault.c:1457 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1504 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1088 RIP: 0033:0x401819 RSP: 002b:00007f0413a95b20 EFLAGS: 00010246 RAX: 0000000020000000 RBX: 0000000000000032 RCX: 0000000000000000 RDX: 22c070bd3dffa726 RSI: 0000000000000000 RDI: 00007f0413a96608 RBP: 0000000020839000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000032 R11: 0000000000000000 R12: 00000000006f53c8 R13: 0000000000000013 R14: 00007f0413a966d4 R15: ffffffffffffffff Mem-Info: active_anon:131762 inactive_anon:40 isolated_anon:0 active_file:3864 inactive_file:9061 isolated_file:0 unevictable:0 dirty:58 writeback:0 unstable:0 slab_reclaimable:7665 slab_unreclaimable:94333 mapped:22739 shmem:377 pagetables:894 bounce:0 free:1358794 free_pcp:518 free_cma:0 Node 0 active_anon:527048kB inactive_anon:160kB active_file:15456kB inactive_file:36244kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:90956kB dirty:232kB writeback:0kB shmem:1508kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 49152kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no Node 0 DMA free:15908kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 2882 6395 6395 Node 0 DMA32 free:2953236kB min:30384kB low:37980kB high:45576kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3129332kB managed:2954000kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:756kB local_pcp:628kB free_cma:0kB lowmem_reserve[]: 0 0 3513 3513 Node 0 Normal free:2466032kB min:37032kB low:46288kB high:55544kB active_anon:527048kB inactive_anon:160kB active_file:15456kB inactive_file:36244kB unevictable:0kB writepending:232kB present:4718592kB managed:3597644kB mlocked:0kB kernel_stack:4192kB pagetables:3576kB bounce:0kB free_pcp:1316kB local_pcp:604kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 Node 0 DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15908kB Node 0 DMA32: 3*4kB (M) 1*8kB (M) 4*16kB (UM) 2*32kB (M) 4*64kB (UM) 3*128kB (M) 5*256kB (UM) 4*512kB (UM) 2*1024kB (UM) 3*2048kB (UM) 718*4096kB (M) = 2953236kB Node 0 Normal: 462*4kB (UME) 248*8kB (UME) 211*16kB (UME) 424*32kB (UME) 1527*64kB (UME) 422*128kB (UME) 103*256kB (UM) 36*512kB (UME) 14*1024kB (UME) 5*2048kB (UM) 543*4096kB (UM) = 2466024kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 13301 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 324091 pages reserved [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name [ 1558] 0 1558 5346 585 86016 0 -1000 udevd [ 1668] 0 1668 5345 534 81920 0 -1000 udevd [ 1669] 0 1669 5345 534 81920 0 -1000 udevd [ 2803] 0 2803 2493 797 57344 0 0 dhclient [ 2933] 0 2933 14257 1226 122880 0 0 rsyslogd [ 2968] 0 2968 4725 496 73728 0 0 cron [ 2994] 0 2994 12490 833 147456 0 -1000 sshd [ 3018] 0 3018 3694 471 77824 0 0 getty [ 3019] 0 3019 3694 466 77824 0 0 getty [ 3020] 0 3020 3694 446 73728 0 0 getty [ 3021] 0 3021 3694 470 77824 0 0 getty [ 3022] 0 3022 3694 469 77824 0 0 getty [ 3023] 0 3023 3694 469 77824 0 0 getty [ 3024] 0 3024 3649 441 69632 0 0 getty [ 3039] 0 3039 17821 1306 176128 0 0 sshd [ 3041] 0 3041 210008 121889 1413120 0 0 syz-fuzzer [ 3088] 0 3088 7361 230 73728 0 0 syz-executor3 [ 3091] 0 3091 7361 229 65536 0 0 syz-executor4 [ 3099] 0 3099 7361 229 65536 0 0 syz-executor2 [ 3107] 0 3107 5338 531 81920 0 -1000 udevd [ 3126] 0 3126 5315 524 81920 0 -1000 udevd [ 3130] 0 3130 5315 459 81920 0 -1000 udevd [ 3293] 0 3293 7361 2271 73728 0 0 syz-executor2 [ 3302] 0 3302 7361 2272 81920 0 0 syz-executor3 [ 3314] 0 3314 7361 2272 73728 0 0 syz-executor4 [ 4459] 0 4459 7361 229 65536 0 0 syz-executor7 [ 4563] 0 4563 7361 2273 73728 0 0 syz-executor7 [ 9940] 0 9940 7361 229 69632 0 0 syz-executor0 [10027] 0 10027 7361 2272 77824 0 0 syz-executor0 [16083] 0 16083 7361 231 69632 0 0 syz-executor1 [16202] 0 16202 7361 2270 77824 0 0 syz-executor1 [16635] 0 16635 7361 229 69632 0 0 syz-executor6 [16728] 0 16728 7361 2272 77824 0 0 syz-executor6 [18846] 0 18846 7361 231 69632 0 0 syz-executor5 [18919] 0 18919 7361 2252 77824 0 0 syz-executor5 [19164] 0 19153 10281 4822 102400 0 0 syz-executor5 [19206] 0 19206 11522 4639 94208 0 0 syz-executor2 [19212] 0 19212 11489 2590 81920 0 0 syz-executor1 Out of memory: Kill process 3041 (syz-fuzzer) score 72 or sacrifice child Killed process 16083 (syz-executor1) total-vm:29444kB, anon-rss:64kB, file-rss:860kB, shmem-rss:0kB TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. audit: type=1326 audit(1511415867.277:1965): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=202 compat=0 ip=0x452879 code=0x7ffc0000 audit: type=1326 audit(1511415867.277:1966): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=18952 comm="syz-executor5" exe="/root/syz-executor5" sig=0 arch=c000003e syscall=248 compat=0 ip=0x452879 code=0x7ffc0000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 19291 Comm: syz-executor1 Not tainted 4.14.0-next-20171123+ #50 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/0x257 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:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc+0x47/0x760 mm/slab.c:3546 ptlock_alloc+0x24/0x70 mm/memory.c:4673 ptlock_init include/linux/mm.h:1790 [inline] pgtable_page_ctor include/linux/mm.h:1824 [inline] pte_alloc_one+0x59/0x100 arch/x86/mm/pgtable.c:32 do_huge_pmd_anonymous_page+0xc23/0x1b00 mm/huge_memory.c:689 create_huge_pmd mm/memory.c:3816 [inline] __handle_mm_fault+0x1b68/0x3dd0 mm/memory.c:4019 handle_mm_fault+0x38f/0x930 mm/memory.c:4085 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1429 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1504 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1088 RIP: 0033:0x401819 RSP: 002b:00007f9c7bd3db20 EFLAGS: 00010246 RAX: 0000000020000000 RBX: 0000000000000032 RCX: 0000000000000000 RDX: 152b2c1a687abe55 RSI: 0000000000000000 RDI: 00007f9c7bd3e608 RBP: 0000000020839000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000032 R11: 0000000000000000 R12: 00000000006f53c8 R13: 0000000000000013 R14: 00007f9c7bd3e6d4 R15: ffffffffffffffff oom_reaper: reaped process 19291 (syz-executor1), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 19324 Comm: syz-executor0 Not tainted 4.14.0-next-20171123+ #50 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 TCP: request_sock_TCP: Possible SYN flooding on port 20024. Sending cookies. Check SNMP counters. Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 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:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3612 kmalloc include/linux/slab.h:514 [inline] kzalloc include/linux/slab.h:703 [inline] tcp_sendmsg_fastopen net/ipv4/tcp.c:1152 [inline] tcp_sendmsg_locked+0x2453/0x3b30 net/ipv4/tcp.c:1214 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1461 inet_sendmsg+0x11f/0x5e0 net/ipv4/af_inet.c:763 sock_sendmsg_nosec net/socket.c:632 [inline] sock_sendmsg+0xca/0x110 net/socket.c:642 SYSC_sendto+0x358/0x5a0 net/socket.c:1749 SyS_sendto+0x40/0x50 net/socket.c:1717 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007f53b582fbe8 EFLAGS: 00000212 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000000 RSI: 0000000020679ffe RDI: 0000000000000014 RBP: 00007f53b582fa20 R08: 0000000020bfa000 R09: 0000000000000010 R10: 0000000020000815 R11: 0000000000000212 R12: 00000000004b757e R13: 00007f53b582fb58 R14: 00000000004b758e R15: 0000000000000000 TCP: request_sock_TCP: Possible SYN flooding on port 20024. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20024. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20024. Sending cookies. Check SNMP counters. device lo entered promiscuous mode device lo left promiscuous mode TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. device lo entered promiscuous mode FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 19525 Comm: syz-executor6 Not tainted 4.14.0-next-20171123+ #50 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/0x257 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:425 [inline] slab_alloc mm/slab.c:3372 [inline] kmem_cache_alloc_trace+0x4b/0x750 mm/slab.c:3612 kmalloc include/linux/slab.h:514 [inline] kzalloc include/linux/slab.h:703 [inline] tcp_sendmsg_fastopen net/ipv4/tcp.c:1152 [inline] tcp_sendmsg_locked+0x2453/0x3b30 net/ipv4/tcp.c:1214 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1461 inet_sendmsg+0x11f/0x5e0 net/ipv4/af_inet.c:763 sock_sendmsg_nosec net/socket.c:632 [inline] sock_sendmsg+0xca/0x110 net/socket.c:642 SYSC_sendto+0x358/0x5a0 net/socket.c:1749 SyS_sendto+0x40/0x50 net/socket.c:1717 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007f725511cbe8 EFLAGS: 00000212 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000000 RSI: 0000000020679ffe RDI: 0000000000000014 RBP: 00007f725511ca20 R08: 0000000020bfa000 R09: 0000000000000010 R10: 0000000020000815 R11: 0000000000000212 R12: 00000000004b757e R13: 00007f725511cb58 R14: 00000000004b758e R15: 0000000000000000 TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20024. Sending cookies. Check SNMP counters. netlink: 1 bytes leftover after parsing attributes in process `syz-executor5'. TCP: request_sock_TCP: Possible SYN flooding on port 20024. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20000. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20024. Sending cookies. Check SNMP counters.