lowmemorykiller: Killing 'syz-executor.1' (12662) (tgid 12662), adj 1000, to free 35956kB on behalf of 'kswapd0' (33) because cache 54376kB is below limit 65536kB for oom_score_adj 12 Free memory is -11956kB above reserved ================================= [ INFO: inconsistent lock state ] 4.9.194+ #0 Not tainted --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. kswapd0/33 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<00000000e64c5296>] get_cmdline+0xa3/0x2d0 mm/util.c:641 mark_held_locks+0xb1/0x100 kernel/locking/lockdep.c:2660 __lockdep_trace_alloc kernel/locking/lockdep.c:2882 [inline] lockdep_trace_alloc+0x18c/0x2b0 kernel/locking/lockdep.c:2897 __alloc_pages_nodemask+0x143/0x1a80 mm/page_alloc.c:3803 __alloc_pages include/linux/gfp.h:433 [inline] __alloc_pages_node include/linux/gfp.h:446 [inline] alloc_pages_node include/linux/gfp.h:460 [inline] pmd_alloc_one arch/x86/include/asm/pgalloc.h:88 [inline] __pmd_alloc+0x4a/0x330 mm/memory.c:3742 pmd_alloc include/linux/mm.h:1625 [inline] alloc_new_pmd mm/mremap.c:64 [inline] move_page_tables+0xadb/0xd60 mm/mremap.c:212 shift_arg_pages+0x1ae/0x470 fs/exec.c:642 setup_arg_pages+0x60d/0x7c0 fs/exec.c:754 load_elf_binary+0xa84/0x4a90 fs/binfmt_elf.c:860 search_binary_handler fs/exec.c:1621 [inline] search_binary_handler+0x14f/0x700 fs/exec.c:1599 exec_binprm fs/exec.c:1663 [inline] do_execveat_common.isra.0+0xf81/0x1db0 fs/exec.c:1785 do_execve+0x3a/0x50 fs/exec.c:1829 run_init_process+0x33/0x37 init/main.c:904 try_to_run_init_process+0x18/0x48 init/main.c:913 kernel_init+0xf2/0x163 init/main.c:984 ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 irq event stamp: 99873 hardirqs last enabled at (99873): [<0000000048a15caf>] vprintk_emit+0x25c/0x6f0 kernel/printk/printk.c:1897 hardirqs last disabled at (99872): [<00000000f5bf8cc7>] vprintk_emit+0x6d/0x6f0 kernel/printk/printk.c:1801 softirqs last enabled at (94386): [<00000000f66af1a7>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (94371): [<0000000005f17c42>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (94371): [<0000000005f17c42>] irq_exit+0x119/0x160 kernel/softirq.c:409 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&mm->mmap_sem); lock(&mm->mmap_sem); *** DEADLOCK *** 1 lock held by kswapd0/33: #0: (shrinker_rwsem){++++..}, at: [<0000000004cf0265>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 stack backtrace: CPU: 1 PID: 33 Comm: kswapd0 Not tainted 4.9.194+ #0 ffff8801d8417420 ffffffff81b67001 00000000000000f0 ffff8801d995af80 ffffffff83cb0990 ffff8801d995b878 ffffffff84252000 ffff8801d8417498 ffffffff81408710 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<000000002de42a97>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002de42a97>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000a349f3b1>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<00000000a349f3b1>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<00000000ce3e4e76>] valid_state kernel/locking/lockdep.c:2400 [inline] [<00000000ce3e4e76>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<00000000ce3e4e76>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<000000003df5030c>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<000000003df5030c>] __lock_acquire+0x5be/0x4390 kernel/locking/lockdep.c:3302 [<000000005f77b243>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<00000000cf3a2aa9>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<00000000e64c5296>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<0000000042e6d0f1>] handle_lmk_event+0x169/0x920 drivers/staging/android/lowmemorykiller.c:116 [<00000000b49da5f0>] lowmem_scan+0x6f3/0xb70 drivers/staging/android/lowmemorykiller.c:354 [<00000000df60eeb2>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000df60eeb2>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000afd01468>] shrink_slab mm/vmscan.c:466 [inline] [<00000000afd01468>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<0000000025e12c71>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<0000000025e12c71>] balance_pgdat mm/vmscan.c:3329 [inline] [<0000000025e12c71>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<000000008bca3dc6>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000c2d88d3a>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 lowmemorykiller: Killing 'syz-executor.1' (10430) (tgid 10430), adj 1000, to free 35992kB on behalf of 'syz-executor.3' (14466) because cache 54376kB is below limit 65536kB for oom_score_adj 12 Free memory is -12960kB above reserved lowmemorykiller: Killing 'syz-executor.0' (12932) (tgid 12932), adj 1000, to free 35912kB on behalf of 'syz-executor.3' (14466) because cache 53476kB is below limit 65536kB for oom_score_adj 12 Free memory is -13304kB above reserved lowmemorykiller: Killing 'syz-executor.0' (12961) (tgid 12961), adj 1000, to free 35912kB on behalf of 'syz-executor.3' (14466) because cache 51676kB is below limit 65536kB for oom_score_adj 12 Free memory is -13284kB above reserved lowmemorykiller: Killing 'syz-executor.5' (11990) (tgid 11990), adj 1000, to free 35892kB on behalf of 'syz-executor.3' (14466) because cache 50976kB is below limit 65536kB for oom_score_adj 12 Free memory is -13216kB above reserved lowmemorykiller: Killing 'syz-executor.5' (12884) (tgid 12884), adj 1000, to free 35892kB on behalf of 'syz-executor.3' (14466) because cache 44176kB is below limit 65536kB for oom_score_adj 12 Free memory is -12824kB above reserved lowmemorykiller: Killing 'syz-executor.5' (13462) (tgid 13462), adj 1000, to free 35888kB on behalf of 'syz-executor.3' (14466) because cache 43176kB is below limit 65536kB for oom_score_adj 12 Free memory is -13044kB above reserved lowmemorykiller: Killing 'syz-executor.3' (14461) (tgid 14459), adj 1000, to free 35888kB on behalf of 'syz-executor.3' (14466) because cache 41576kB is below limit 65536kB for oom_score_adj 12 Free memory is -13168kB above reserved oom_reaper: reaped process 14466 (syz-executor.3), now anon-rss:0kB, file-rss:16kB, shmem-rss:0kB syz-executor.3: vmalloc: allocation failure, allocated 3175903232 of 4294975488 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 14466 Comm: syz-executor.3 Not tainted 4.9.194+ #0 ffff8801a4befa08 ffffffff81b67001 1ffff1003497df43 dffffc0000000000 ffffffff82aab480 0000000000000000 0000000000400000 ffff8801a4befb30 ffffffff815080fc 0000000041b58ab3 ffffffff82e3bc80 ffffffff81431d00 Call Trace: [<000000002de42a97>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002de42a97>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<000000001687e510>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000009d99e20b>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000009d99e20b>] __vmalloc_node_range+0x404/0x610 mm/vmalloc.c:1706 [<000000008317cd00>] __vmalloc_node mm/vmalloc.c:1755 [inline] [<000000008317cd00>] __vmalloc_node_flags mm/vmalloc.c:1769 [inline] [<000000008317cd00>] vmalloc+0x5c/0x70 mm/vmalloc.c:1784 [<00000000d6b1edc4>] xt_alloc_table_info+0xc8/0x100 net/netfilter/x_tables.c:997 [<00000000c24689c0>] do_replace net/ipv6/netfilter/ip6_tables.c:1175 [inline] [<00000000c24689c0>] do_ip6t_set_ctl+0x231/0x480 net/ipv6/netfilter/ip6_tables.c:1712 [<000000001d69cf5e>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000001d69cf5e>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<00000000ae24f17d>] ipv6_setsockopt net/ipv6/ipv6_sockglue.c:922 [inline] [<00000000ae24f17d>] ipv6_setsockopt+0x10b/0x140 net/ipv6/ipv6_sockglue.c:906 [<000000004d2ee6fc>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<000000004d2ee6fc>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<000000007605306d>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<000000005ec89e5c>] SYSC_setsockopt net/socket.c:1786 [inline] [<000000005ec89e5c>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<0000000028a91a68>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000a6e6cfac>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:80700 inactive_anon:119 isolated_anon:0 active_file:17 inactive_file:8 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:5763 slab_unreclaimable:61360 mapped:52226 shmem:179 pagetables:1184 bounce:0 free:0 free_pcp:361 free_cma:0 Node 0 active_anon:322800kB inactive_anon:476kB active_file:68kB inactive_file:32kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:208904kB dirty:0kB writeback:0kB shmem:716kB writeback_tmp:0kB unstable:0kB pages_scanned:3 all_unreclaimable? no DMA32 free:12kB min:4696kB low:7712kB high:10728kB active_anon:936kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020092kB mlocked:0kB slab_reclaimable:8kB slab_unreclaimable:816kB kernel_stack:64kB pagetables:184kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:0kB min:5580kB low:9168kB high:12756kB active_anon:321864kB inactive_anon:476kB active_file:68kB inactive_file:32kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:23044kB slab_unreclaimable:244624kB kernel_stack:5504kB pagetables:4552kB bounce:0kB free_pcp:1444kB local_pcp:716kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313627 pages reserved lowmemorykiller: Killing 'syz-executor.5' (13830) (tgid 13830), adj 1000, to free 34988kB on behalf of 'syz-fuzzer' (27460) because cache 100kB is below limit 6144kB for oom_score_adj 0 Free memory is -37504kB above reserved syz-fuzzer invoked oom-killer: gfp_mask=0x24200ca(GFP_HIGHUSER_MOVABLE), nodemask=0, order=0, oom_score_adj=0 CPU: 1 PID: 27460 Comm: syz-fuzzer Not tainted 4.9.194+ #0 ffff8801ca0af6f0 ffffffff81b67001 ffff8801ca0afa48 ffffffff833f1c30 0000000000000000 ffff8801ca0afa60 0000000000000000 ffff8801ca0af770 ffffffff81506e44 0000000000000000 0000000000000000 ffffffff8282ac45 Call Trace: [<000000002de42a97>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002de42a97>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b1ff8532>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<000000001c0ae835>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000007013d86a>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000007013d86a>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<00000000e75be984>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<00000000e75be984>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<00000000e75be984>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<0000000081edc42a>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000081edc42a>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000081edc42a>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000081edc42a>] __page_cache_alloc include/linux/pagemap.h:208 [inline] [<0000000081edc42a>] pagecache_get_page+0x248/0x740 mm/filemap.c:1367 [<00000000ef505c90>] filemap_fault+0xb1f/0x1360 mm/filemap.c:2331 [<000000006cdc4a07>] ext4_filemap_fault+0x72/0xa0 fs/ext4/inode.c:5854 [<000000001a779063>] __do_fault+0x2a8/0x6c0 mm/memory.c:2855 [<0000000081b6074b>] do_read_fault mm/memory.c:3202 [inline] [<0000000081b6074b>] do_fault mm/memory.c:3338 [inline] [<0000000081b6074b>] handle_pte_fault mm/memory.c:3547 [inline] [<0000000081b6074b>] __handle_mm_fault mm/memory.c:3634 [inline] [<0000000081b6074b>] handle_mm_fault+0x11bc/0x2420 mm/memory.c:3671 [<0000000092cc8d82>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1401 [<000000001cbd8054>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1464 [<000000008ee935ad>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:956 Mem-Info: active_anon:80675 inactive_anon:119 isolated_anon:0 active_file:17 inactive_file:8 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:5763 slab_unreclaimable:61360 mapped:52226 shmem:179 pagetables:1147 bounce:0 free:72 free_pcp:340 free_cma:0 Node 0 active_anon:322700kB inactive_anon:476kB active_file:68kB inactive_file:32kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:208904kB dirty:0kB writeback:0kB shmem:716kB writeback_tmp:0kB unstable:0kB pages_scanned:3 all_unreclaimable? no DMA32 free:12kB min:4696kB low:7712kB high:10728kB active_anon:936kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020092kB mlocked:0kB slab_reclaimable:8kB slab_unreclaimable:816kB kernel_stack:64kB pagetables:184kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:276kB min:5580kB low:9168kB high:12756kB active_anon:321764kB inactive_anon:476kB active_file:68kB inactive_file:32kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:23044kB slab_unreclaimable:244624kB kernel_stack:5504kB pagetables:4404kB bounce:0kB free_pcp:1360kB local_pcp:632kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313627 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5365 169 15 3 0 -1000 udevd [ 1763] 0 1763 2492 573 8 3 0 0 dhclient [ 1896] 0 1896 14297 174 23 3 0 0 rsyslogd [ 1942] 0 1942 4724 51 15 3 0 0 cron [ 1969] 0 1969 3768 72 11 3 0 0 mcstransd [ 1971] 0 1971 12926 1231 29 3 0 0 restorecond [ 1997] 0 1997 12489 153 29 3 0 -1000 sshd [ 2029] 0 2029 3648 38 13 3 0 0 getty [ 2037] 0 2037 17820 197 41 3 0 0 sshd [ 2039] 0 2039 155234 75435 267 5 0 0 syz-fuzzer [ 7980] 0 7980 18114 16 23 3 0 0 syz-executor.1 [ 7981] 0 7981 18113 8732 24 4 0 0 syz-executor.1 [ 8136] 0 8136 18180 8712 27 3 0 1000 syz-executor.1 [ 8138] 0 8138 18213 8714 27 3 0 1000 syz-executor.1 [ 9260] 0 9260 18146 8713 25 3 0 1000 syz-executor.1 [ 9267] 0 9267 18212 8718 25 3 0 1000 syz-executor.1 [10072] 0 10072 18114 15 23 3 0 0 syz-executor.2 [10073] 0 10073 18113 8731 24 4 0 0 syz-executor.2 [10843] 0 10843 18212 8718 25 3 0 1000 syz-executor.1 [10872] 0 10872 18278 8722 25 3 0 1000 syz-executor.1 [11164] 0 11164 18114 15 23 3 0 0 syz-executor.5 [11165] 0 11165 18113 8730 24 4 0 0 syz-executor.5 [12310] 0 12310 18146 8712 25 3 0 1000 syz-executor.1 [12469] 0 12469 18146 8711 24 3 0 1000 syz-executor.1 [12522] 0 12522 18212 8717 25 3 0 1000 syz-executor.1 [12698] 0 12698 18114 15 23 3 0 0 syz-executor.0 [12699] 0 12699 18113 8730 24 4 0 0 syz-executor.0 [12901] 0 12901 5364 171 14 3 0 -1000 udevd [13022] 0 13022 5364 171 14 3 0 -1000 udevd [13309] 0 13309 18146 8710 25 3 0 1000 syz-executor.0 [13335] 0 13335 18212 8717 26 3 0 1000 syz-executor.0 [13604] 0 13604 18245 9992 29 4 0 0 syz-executor.0 [13728] 0 13728 18278 8752 27 4 0 0 syz-executor.0 [14156] 0 14156 18114 16 23 3 0 0 syz-executor.3 [14157] 0 14157 18113 8730 24 4 0 0 syz-executor.3 [14461] 0 14459 18245 4 26 4 0 1000 syz-executor.3 [14476] 0 14462 18212 8746 26 4 0 1000 syz-executor.5 [14499] 0 14499 18114 15 23 3 0 0 syz-executor.4 [14500] 0 14500 18114 8497 23 3 0 0 syz-executor.4 Out of memory: Kill process 12310 (syz-executor.1) score 1005 or sacrifice child Killed process 12310 (syz-executor.1) total-vm:72584kB, anon-rss:160kB, file-rss:34688kB, shmem-rss:0kB syz-executor.1 invoked oom-killer: gfp_mask=0x2400840(GFP_NOFS|__GFP_NOFAIL), nodemask=0, order=0, oom_score_adj=1000 CPU: 0 PID: 12310 Comm: syz-executor.1 Not tainted 4.9.194+ #0 ffff8801a5726e78 ffffffff81b67001 ffff8801a57271d0 ffffffff833f1c30 00000000000003e8 ffff8801a57271e8 0000000000000000 ffff8801a5726ef8 ffffffff81506e44 0000000000000000 00000000000003e8 ffffffff8282ac45 Call Trace: [<000000002de42a97>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002de42a97>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b1ff8532>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<000000001c0ae835>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000007013d86a>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000007013d86a>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<0000000034a81837>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<0000000034a81837>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<0000000034a81837>] __alloc_pages_nodemask+0x151e/0x1a80 mm/page_alloc.c:3861 [<0000000081edc42a>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000081edc42a>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000081edc42a>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000081edc42a>] __page_cache_alloc include/linux/pagemap.h:208 [inline] [<0000000081edc42a>] pagecache_get_page+0x248/0x740 mm/filemap.c:1367 [<00000000ea21992d>] find_or_create_page include/linux/pagemap.h:310 [inline] [<00000000ea21992d>] ext4_mb_load_buddy_gfp+0x90a/0x1100 fs/ext4/mballoc.c:1172 [<000000005bd844b4>] ext4_free_blocks+0x827/0x23d0 fs/ext4/mballoc.c:4834 [<0000000089f9413e>] ext4_remove_blocks fs/ext4/extents.c:2585 [inline] [<0000000089f9413e>] ext4_ext_rm_leaf fs/ext4/extents.c:2741 [inline] [<0000000089f9413e>] ext4_ext_remove_space+0x21cd/0x3a90 fs/ext4/extents.c:2974 [<00000000c73d3be6>] ext4_ext_truncate+0x17e/0x280 fs/ext4/extents.c:4677 [<0000000033b7ab3a>] ext4_truncate+0x526/0x1300 fs/ext4/inode.c:4243 [<00000000e1441d86>] ext4_evict_inode+0xc50/0x1270 fs/ext4/inode.c:265 [<00000000001348b0>] evict+0x2e9/0x630 fs/inode.c:553 [<00000000ab6e53fa>] iput_final fs/inode.c:1516 [inline] [<00000000ab6e53fa>] iput fs/inode.c:1543 [inline] [<00000000ab6e53fa>] iput+0x370/0x900 fs/inode.c:1528 [<0000000065d10845>] dentry_unlink_inode+0x277/0x330 fs/dcache.c:369 [<000000006b288299>] __dentry_kill+0x333/0x580 fs/dcache.c:571 [<00000000d0d54090>] dentry_kill fs/dcache.c:612 [inline] [<00000000d0d54090>] dput.part.0+0x509/0x7c0 fs/dcache.c:829 [<000000000ef53537>] dput+0x20/0x30 fs/dcache.c:791 [<00000000595fa49a>] path_put+0x31/0x70 fs/namei.c:519 [<0000000006ae69b1>] free_fs_struct+0x25/0x70 fs/fs_struct.c:90 [<000000008c05bd7d>] exit_fs+0xe7/0x120 fs/fs_struct.c:108 [<00000000f95ea71f>] do_exit+0x769/0x2aa0 kernel/exit.c:838 [<000000006e593bac>] do_group_exit+0x111/0x300 kernel/exit.c:946 [<00000000f9a0fa1a>] get_signal+0x377/0x1cb0 kernel/signal.c:2395 [<00000000d21f4a80>] do_signal+0x9c/0x1920 arch/x86/kernel/signal.c:812 [<00000000c0bb11cf>] exit_to_usermode_loop+0x11c/0x160 arch/x86/entry/common.c:159 [<00000000322336c8>] prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] [<00000000322336c8>] syscall_return_slowpath arch/x86/entry/common.c:266 [inline] [<00000000322336c8>] do_syscall_64+0x3ab/0x5c0 arch/x86/entry/common.c:293 [<00000000a6e6cfac>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:80650 inactive_anon:119 isolated_anon:0 active_file:17 inactive_file:8 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:5763 slab_unreclaimable:61360 mapped:52226 shmem:179 pagetables:1110 bounce:0 free:122 free_pcp:337 free_cma:0 Node 0 active_anon:322600kB inactive_anon:476kB active_file:68kB inactive_file:32kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:208904kB dirty:0kB writeback:0kB shmem:716kB writeback_tmp:0kB unstable:0kB pages_scanned:3 all_unreclaimable? no DMA32 free:12kB min:4696kB low:7712kB high:10728kB active_anon:936kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020092kB mlocked:0kB slab_reclaimable:8kB slab_unreclaimable:816kB kernel_stack:64kB pagetables:184kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:476kB min:5580kB low:9168kB high:12756kB active_anon:321664kB inactive_anon:476kB active_file:68kB inactive_file:32kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:23044kB slab_unreclaimable:244624kB kernel_stack:5504kB pagetables:4256kB bounce:0kB free_pcp:1348kB local_pcp:716kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313627 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5365 169 15 3 0 -1000 udevd [ 1763] 0 1763 2492 573 8 3 0 0 dhclient [ 1896] 0 1896 14297 174 23 3 0 0 rsyslogd [ 1942] 0 1942 4724 51 15 3 0 0 cron [ 1969] 0 1969 3768 72 11 3 0 0 mcstransd [ 1971] 0 1971 12926 1231 29 3 0 0 restorecond [ 1997] 0 1997 12489 153 29 3 0 -1000 sshd [ 2029] 0 2029 3648 38 13 3 0 0 getty [ 2037] 0 2037 17820 197 41 3 0 0 sshd [ 2039] 0 2039 155234 75435 267 5 0 0 syz-fuzzer [ 7980] 0 7980 18114 16 23 3 0 0 syz-executor.1 [ 7981] 0 7981 18113 8732 24 4 0 0 syz-executor.1 [ 8136] 0 8136 18180 8712 27 3 0 1000 syz-executor.1 [ 8138] 0 8138 18213 8714 27 3 0 1000 syz-executor.1 [ 9260] 0 9260 18146 8713 25 3 0 1000 syz-executor.1 [ 9267] 0 9267 18212 8718 25 3 0 1000 syz-executor.1 [10072] 0 10072 18114 15 23 3 0 0 syz-executor.2 [10073] 0 10073 18113 8731 24 4 0 0 syz-executor.2 [10843] 0 10843 18212 8718 25 3 0 1000 syz-executor.1 [10872] 0 10872 18278 8722 25 3 0 1000 syz-executor.1 [11164] 0 11164 18114 15 23 3 0 0 syz-executor.5 [11165] 0 11165 18113 8730 24 4 0 0 syz-executor.5 [12469] 0 12469 18146 8711 24 3 0 1000 syz-executor.1 [12522] 0 12522 18212 8717 25 3 0 1000 syz-executor.1 [12698] 0 12698 18114 15 23 3 0 0 syz-executor.0 [12699] 0 12699 18113 8730 24 4 0 0 syz-executor.0 [12901] 0 12901 5364 171 14 3 0 -1000 udevd [13022] 0 13022 5364 171 14 3 0 -1000 udevd [13309] 0 13309 18146 8710 25 3 0 1000 syz-executor.0 [13335] 0 13335 18212 8717 26 3 0 1000 syz-executor.0 [13604] 0 13604 18245 9992 29 4 0 0 syz-executor.0 [13728] 0 13728 18278 8752 27 4 0 0 syz-executor.0 [14156] 0 14156 18114 16 23 3 0 0 syz-executor.3 [14157] 0 14157 18113 8730 24 4 0 0 syz-executor.3 [14461] 0 14459 18245 4 26 4 0 1000 syz-executor.3 [14476] 0 14462 18212 8746 26 4 0 1000 syz-executor.5 [14499] 0 14499 18114 15 23 3 0 0 syz-executor.4 [14500] 0 14500 18114 8497 23 3 0 0 syz-executor.4 Out of memory: Kill process 14462 (syz-executor.5) score 1004 or sacrifice child Killed process 14476 (syz-executor.5) total-vm:72848kB, anon-rss:168kB, file-rss:34816kB, shmem-rss:0kB oom_reaper: reaped process 14476 (syz-executor.5), now anon-rss:0kB, file-rss:12kB, shmem-rss:0kB syz-executor.1 invoked oom-killer: gfp_mask=0x2400840(GFP_NOFS|__GFP_NOFAIL), nodemask=0, order=0, oom_score_adj=1000 CPU: 0 PID: 12310 Comm: syz-executor.1 Not tainted 4.9.194+ #0 ffff8801a5726e78 ffffffff81b67001 ffff8801a57271d0 ffffffff833f1c30 00000000000003e8 ffff8801a57271e8 0000000000000000 ffff8801a5726ef8 ffffffff81506e44 0000000000000000 00000000000003e8 ffffffff8282ac45 Call Trace: [<000000002de42a97>] __dump_stack lib/dump_stack.c:15 [inline] [<000000002de42a97>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b1ff8532>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 [<000000001c0ae835>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<000000007013d86a>] out_of_memory mm/oom_kill.c:1069 [inline] [<000000007013d86a>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<0000000034a81837>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<0000000034a81837>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<0000000034a81837>] __alloc_pages_nodemask+0x151e/0x1a80 mm/page_alloc.c:3861 [<0000000081edc42a>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000081edc42a>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000081edc42a>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000081edc42a>] __page_cache_alloc include/linux/pagemap.h:208 [inline] [<0000000081edc42a>] pagecache_get_page+0x248/0x740 mm/filemap.c:1367 [<00000000091319f8>] find_or_create_page include/linux/pagemap.h:310 [inline] [<00000000091319f8>] ext4_mb_load_buddy_gfp+0x659/0x1100 fs/ext4/mballoc.c:1208 [<000000005bd844b4>] ext4_free_blocks+0x827/0x23d0 fs/ext4/mballoc.c:4834 [<0000000089f9413e>] ext4_remove_blocks fs/ext4/extents.c:2585 [inline] [<0000000089f9413e>] ext4_ext_rm_leaf fs/ext4/extents.c:2741 [inline] [<0000000089f9413e>] ext4_ext_remove_space+0x21cd/0x3a90 fs/ext4/extents.c:2974 [<00000000c73d3be6>] ext4_ext_truncate+0x17e/0x280 fs/ext4/extents.c:4677 [<0000000033b7ab3a>] ext4_truncate+0x526/0x1300 fs/ext4/inode.c:4243 [<00000000e1441d86>] ext4_evict_inode+0xc50/0x1270 fs/ext4/inode.c:265 [<00000000001348b0>] evict+0x2e9/0x630 fs/inode.c:553 [<00000000ab6e53fa>] iput_final fs/inode.c:1516 [inline] [<00000000ab6e53fa>] iput fs/inode.c:1543 [inline] [<00000000ab6e53fa>] iput+0x370/0x900 fs/inode.c:1528 [<0000000065d10845>] dentry_unlink_inode+0x277/0x330 fs/dcache.c:369 [<000000006b288299>] __dentry_kill+0x333/0x580 fs/dcache.c:571 [<00000000d0d54090>] dentry_kill fs/dcache.c:612 [inline] [<00000000d0d54090>] dput.part.0+0x509/0x7c0 fs/dcache.c:829 [<000000000ef53537>] dput+0x20/0x30 fs/dcache.c:791 [<00000000595fa49a>] path_put+0x31/0x70 fs/namei.c:519 [<0000000006ae69b1>] free_fs_struct+0x25/0x70 fs/fs_struct.c:90 [<000000008c05bd7d>] exit_fs+0xe7/0x120 fs/fs_struct.c:108 [<00000000f95ea71f>] do_exit+0x769/0x2aa0 kernel/exit.c:838 [<000000006e593bac>] do_group_exit+0x111/0x300 kernel/exit.c:946 [<00000000f9a0fa1a>] get_signal+0x377/0x1cb0 kernel/signal.c:2395 [<00000000d21f4a80>] do_signal+0x9c/0x1920 arch/x86/kernel/signal.c:812 [<00000000c0bb11cf>] exit_to_usermode_loop+0x11c/0x160 arch/x86/entry/common.c:159 [<00000000322336c8>] prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] [<00000000322336c8>] syscall_return_slowpath arch/x86/entry/common.c:266 [inline] [<00000000322336c8>] do_syscall_64+0x3ab/0x5c0 arch/x86/entry/common.c:293 [<00000000a6e6cfac>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:80612 inactive_anon:119 isolated_anon:0 active_file:0 inactive_file:25 isolated_file:0 unevictable:0 dirty:1 writeback:0 unstable:0 slab_reclaimable:5763 slab_unreclaimable:61360 mapped:52226 shmem:179 pagetables:1121 bounce:0 free:162 free_pcp:337 free_cma:0 Node 0 active_anon:322448kB inactive_anon:476kB active_file:0kB inactive_file:100kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:208904kB dirty:4kB writeback:0kB shmem:716kB writeback_tmp:0kB unstable:0kB pages_scanned:12 all_unreclaimable? no DMA32 free:0kB min:4696kB low:7712kB high:10728kB active_anon:936kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020092kB mlocked:0kB slab_reclaimable:8kB slab_unreclaimable:816kB kernel_stack:64kB pagetables:184kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:648kB min:5580kB low:9168kB high:12756kB active_anon:321512kB inactive_anon:476kB active_file:0kB inactive_file:100kB unevictable:0kB writepending:4kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:23044kB slab_unreclaimable:244624kB kernel_stack:5504kB pagetables:4300kB bounce:0kB free_pcp:1348kB local_pcp:716kB free_cma:0kB DMA32: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB 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 313627 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5365 169 15 3 0 -1000 udevd [ 1763] 0 1763 2492 573 8 3 0 0 dhclient [ 1896] 0 1896 14297 174 23 3 0 0 rsyslogd [ 1942] 0 1942 4724 51 15 3 0 0 cron [ 1969] 0 1969 3768 72 11 3 0 0 mcstransd [ 1971] 0 1971 12926 1231 29 3 0 0 restorecond [ 1997] 0 1997 12489 153 29 3 0 -1000 sshd [ 2029] 0 2029 3648 38 13 3 0 0 getty [ 2037] 0 2037 17820 197 41 3 0 0 sshd [ 2039] 0 2039 155234 75435 267 5 0 0 syz-fuzzer [ 7980] 0 7980 18114 16 23 3 0 0 syz-executor.1 [ 7981] 0 7981 18113 8732 24 4 0 0 syz-executor.1 [ 8136] 0 8136 18180 8712 27 3 0 1000 syz-executor.1 [ 8138] 0 8138 18213 8714 27 3 0 1000 syz-executor.1 [ 9260] 0 9260 18146 8713 25 3 0 1000 syz-executor.1 [ 9267] 0 9267 18212 8718 25 3 0 1000 syz-executor.1 [10072] 0 10072 18114 15 23 3 0 0 syz-executor.2 [10073] 0 10073 18113 8731 24 4 0 0 syz-executor.2 [10843] 0 10843 18212 8718 25 3 0 1000 syz-executor.1 [10872] 0 10872 18278 8722 25 3 0 1000 syz-executor.1 [11164] 0 11164 18114 15 23 3 0 0 syz-executor.5 [11165] 0 11165 18113 8730 24 4 0 0 syz-executor.5 [12469] 0 12469 18146 8711 24 3 0 1000 syz-executor.1 [12522] 0 12522 18212 8717 25 3 0 1000 syz-executor.1 [12698] 0 12698 18114 15 23 3 0 0 syz-executor.0 [12699] 0 12699 18113 8730 24 4 0 0 syz-executor.0 [12901] 0 12901 5364 171 14 3 0 -1000 udevd [13022] 0 13022 5364 171 14 3 0 -1000 udevd [13309] 0 13309 18146 8710 25 3 0 1000 syz-executor.0 [13335] 0 13335 18212 8717 26 3 0 1000 syz-executor.0 [13604] 0 13604 18245 9992 29 4 0 0 syz-executor.0 [13728] 0 13728 18278 8752 27 4 0 0 syz-executor.0 [14156] 0 14156 18114 16 23 3 0 0 syz-executor.3 [14157] 0 14157 18113 8730 24 4 0 0 syz-executor.3 [14461] 0 14459 18245 4 26 4 0 1000 syz-executor.3 [14476] 0 14462 18212 3 26 4 0 1000 syz-executor.5 [14499] 0 14499 18114 15 23 3 0 0 syz-executor.4 [14500] 0 14500 18114 8497 23 3 0 0 syz-executor.4 Out of memory: Kill process 10872 (syz-executor.1) score 1004 or sacrifice child Killed process 10872 (syz-executor.1) total-vm:73112kB, anon-rss:200kB, file-rss:34688kB, shmem-rss:0kB BUG: Bad rss-counter state mm:00000000507679a1 idx:0 val:3 BUG: Bad rss-counter state mm:0000000060f9a0bb idx:0 val:4 audit_printk_skb: 42 callbacks suppressed audit: type=1400 audit(1573410496.235:5407): avc: denied { prog_load } for pid=14654 comm="syz-executor.4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 audit: type=1400 audit(1573410496.265:5408): avc: denied { prog_run } for pid=14654 comm="syz-executor.4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 audit: type=1400 audit(1573410496.285:5409): avc: denied { prog_load } for pid=14654 comm="syz-executor.4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 audit: type=1400 audit(1573410496.315:5410): avc: denied { prog_run } for pid=14654 comm="syz-executor.4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 audit: type=1400 audit(1573410496.525:5411): avc: denied { set_context_mgr } for pid=14659 comm="syz-executor.2" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 audit: type=1400 audit(1573410496.545:5412): avc: denied { call } for pid=14659 comm="syz-executor.2" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 audit: type=1400 audit(1573410496.575:5413): avc: denied { transfer } for pid=14659 comm="syz-executor.2" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 binder: 14659:14662 got transaction with too large buffer binder: 14659:14662 transaction failed 29201/-22, size 88-24 line 3493 binder: undelivered TRANSACTION_ERROR: 29201 audit: type=1400 audit(1573410496.625:5414): avc: denied { set_context_mgr } for pid=14659 comm="syz-executor.2" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 audit: type=1400 audit(1573410496.665:5415): avc: denied { prog_load } for pid=14665 comm="syz-executor.5" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 audit: type=1400 audit(1573410496.765:5416): avc: denied { call } for pid=14659 comm="syz-executor.2" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 binder: 14659:14673 got transaction with too large buffer binder: 14659:14673 transaction failed 29201/-22, size 88-24 line 3493 binder: undelivered TRANSACTION_ERROR: 29201 binder: 14697:14699 got transaction with too large buffer binder: 14697:14699 transaction failed 29201/-22, size 88-24 line 3493 binder: undelivered TRANSACTION_ERROR: 29201 binder: 14702:14703 got transaction with too large buffer binder: 14702:14703 transaction failed 29201/-22, size 88-24 line 3493 binder: undelivered TRANSACTION_ERROR: 29201 binder: 14725:14730 got transaction with too large buffer binder: 14725:14730 transaction failed 29201/-22, size 88-24 line 3493 binder: undelivered TRANSACTION_ERROR: 29201 binder: 14770:14771 got transaction with too large buffer binder: 14770:14771 transaction failed 29201/-22, size 88-24 line 3493 binder: undelivered TRANSACTION_ERROR: 29201