random: crng init done lowmemorykiller: Killing 'syz-executor919' (2056) (tgid 2056), adj 1000, to free 44kB on behalf of 'kswapd0' (33) because cache 36396kB is below limit 65536kB for oom_score_adj 12 Free memory is -13320kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 33, name: kswapd0 2 locks held by kswapd0/33: #0: (shrinker_rwsem){++++..}, at: [<00000000add382fa>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<0000000033f3da05>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 Preemption disabled at:[ 35.409502] [<0000000028547d64>] spin_lock include/linux/spinlock.h:302 [inline] Preemption disabled at:[ 35.409502] [<0000000028547d64>] task_lock include/linux/sched.h:3217 [inline] Preemption disabled at:[ 35.409502] [<0000000028547d64>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 0 PID: 33 Comm: kswapd0 Not tainted 4.9.187+ #16 ffff8801d840f7c0 ffffffff81b64701 0000000000000000 0000000000000001 ffff8801d992c740 ffffffff810d0d10 ffff8801d992c740 ffff8801d840f7f8 ffffffff814005fc ffff8801d992c740 ffffffff82a39940 0000000000000387 Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b04802a3>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000009e421822>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<00000000a18e009b>] mmput+0x28/0x370 kernel/fork.c:903 [<00000000efe0913f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000036f50fab>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000f1aba7ea>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000f1aba7ea>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000f3e279b2>] shrink_slab mm/vmscan.c:466 [inline] [<00000000f3e279b2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000b29b948a>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<00000000b29b948a>] balance_pgdat mm/vmscan.c:3329 [inline] [<00000000b29b948a>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<00000000514260da>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000dd8a2a0c>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 syz-executor919: vmalloc: allocation failure, allocated 1182629888 of 4260122624 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2056 Comm: syz-executor919 Not tainted 4.9.187+ #16 ffff8801ce627858 ffffffff81b64701 1ffff10039cc4f0d dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801ce627980 ffffffff81506a43 0000000041b58ab3 ffffffff82e3a738 ffffffff81430620 Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<0000000097a4faaf>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007cac31e8>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007cac31e8>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000e2d20a20>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000e2d20a20>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000e2d20a20>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004b96c8c3>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<0000000077b5a9bc>] translate_table+0x215/0x1650 net/ipv4/netfilter/ip_tables.c:705 [<000000003c4ffa6a>] do_replace net/ipv4/netfilter/ip_tables.c:1157 [inline] [<000000003c4ffa6a>] do_ipt_set_ctl+0x2d4/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000009d9d93d8>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000009d9d93d8>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000082b9dfbc>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000082b9dfbc>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000a5512ea8>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<000000009fb1b32c>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<00000000cc11eff4>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<00000000cc11eff4>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000495aa3a1>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000510b4852>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000510b4852>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000ae3faf8a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000008f034838>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb oom_reaper: reaped process 2056 (syz-executor919), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB Mem-Info: active_anon:3227 inactive_anon:41 isolated_anon:0 active_file:21 inactive_file:11 isolated_file:0 unevictable:0 dirty:4 writeback:4 unstable:0 slab_reclaimable:4264 slab_unreclaimable:56566 mapped:27 shmem:48 pagetables:359 bounce:0 free:142 free_pcp:24 free_cma:0 Node 0 active_anon:12908kB inactive_anon:164kB active_file:84kB inactive_file:44kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:108kB dirty:16kB writeback:16kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:12kB min:4696kB low:7712kB high:10728kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:556kB min:5580kB low:9168kB high:12756kB active_anon:12908kB inactive_anon:164kB active_file:84kB inactive_file:44kB unevictable:0kB writepending:32kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17056kB slab_unreclaimable:226264kB kernel_stack:3456kB pagetables:1436kB bounce:0kB free_pcp:96kB local_pcp:96kB 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 313625 pages reserved ================================= [ INFO: inconsistent lock state ] 4.9.187+ #16 Tainted: G W --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. kswapd0/33 [HC0[0]:SC0[0]:HE1:SE1] takes: (&mm->mmap_sem){+++++?}, at: [<000000008a38e029>] 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:1601 [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: 4441 hardirqs last enabled at (4441): [<00000000467b6174>] restore_regs_and_iret+0x0/0x1d hardirqs last disabled at (4440): [<0000000071e131a8>] preempt_schedule_irq+0x6a/0xa0 kernel/sched/core.c:3705 softirqs last enabled at (4436): [<00000000296a3168>] __do_softirq+0x474/0x964 kernel/softirq.c:314 softirqs last disabled at (4415): [<000000001f6a8adc>] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (4415): [<000000001f6a8adc>] 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 *** 3 locks held by kswapd0/33: #0: (shrinker_rwsem){++++..}, at: [<00000000add382fa>] shrink_slab.part.0+0xb2/0xa20 mm/vmscan.c:472 #1: (rcu_read_lock){......}, at: [<0000000033f3da05>] lowmem_scan+0x242/0xb50 drivers/staging/android/lowmemorykiller.c:272 #2: (lmk_event_lock){+.+.-.}, at: [<000000006ad01930>] spin_lock include/linux/spinlock.h:302 [inline] #2: (lmk_event_lock){+.+.-.}, at: [<000000006ad01930>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 stack backtrace: CPU: 1 PID: 33 Comm: kswapd0 Tainted: G W 4.9.187+ #16 ffff8801d840f500 ffffffff81b64701 00000000000000f0 ffff8801d992c740 ffffffff83caf5b0 ffff8801d992d088 ffffffff84250f80 ffff8801d840f578 ffffffff81407039 0000000000000000 ffffffff00000001 0000000000000001 Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000c70a3de6>] print_usage_bug kernel/locking/lockdep.c:2387 [inline] [<00000000c70a3de6>] print_usage_bug.cold+0x452/0x5a2 kernel/locking/lockdep.c:2354 [<00000000652255e8>] valid_state kernel/locking/lockdep.c:2400 [inline] [<00000000652255e8>] mark_lock_irq kernel/locking/lockdep.c:2602 [inline] [<00000000652255e8>] mark_lock+0x6c7/0x12e0 kernel/locking/lockdep.c:3065 [<00000000a1f058b0>] mark_irqflags kernel/locking/lockdep.c:2958 [inline] [<00000000a1f058b0>] __lock_acquire+0x5be/0x4390 kernel/locking/lockdep.c:3302 [<00000000a0aa73a2>] lock_acquire+0x133/0x3d0 kernel/locking/lockdep.c:3756 [<00000000107bdbf4>] down_read+0x44/0xb0 kernel/locking/rwsem.c:22 [<000000008a38e029>] get_cmdline+0xa3/0x2d0 mm/util.c:641 [<000000002ea6dbe7>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<0000000036f50fab>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000f1aba7ea>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000f1aba7ea>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000f3e279b2>] shrink_slab mm/vmscan.c:466 [inline] [<00000000f3e279b2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000b29b948a>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<00000000b29b948a>] balance_pgdat mm/vmscan.c:3329 [inline] [<00000000b29b948a>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<00000000514260da>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000dd8a2a0c>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:21 in_atomic(): 1, irqs_disabled(): 0, pid: 33, name: kswapd0 INFO: lockdep is turned off. Preemption disabled at:[ 36.808553] [<000000006ad01930>] spin_lock include/linux/spinlock.h:302 [inline] Preemption disabled at:[ 36.808553] [<000000006ad01930>] handle_lmk_event+0xfb/0x8a0 drivers/staging/android/lowmemorykiller.c:114 CPU: 1 PID: 33 Comm: kswapd0 Tainted: G W 4.9.187+ #16 ffff8801d840f620 ffffffff81b64701 0000000000000000 0000000000000002 ffff8801d992c740 ffffffff8221034b ffff8801d992c740 ffff8801d840f658 ffffffff814005fc ffff8801d992c740 ffffffff82a51ca0 0000000000000015 Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b04802a3>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000009e421822>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<00000000d9268209>] down_read+0x21/0xb0 kernel/locking/rwsem.c:21 [<00000000079d8456>] __access_remote_vm+0xcc/0x460 mm/memory.c:3911 [<0000000016d0500f>] access_process_vm+0x57/0x80 mm/memory.c:3996 [<00000000a08e9b4b>] get_cmdline+0x176/0x2d0 mm/util.c:653 [<000000002ea6dbe7>] handle_lmk_event+0x13c/0x8a0 drivers/staging/android/lowmemorykiller.c:128 [<0000000036f50fab>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000f1aba7ea>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000f1aba7ea>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000f3e279b2>] shrink_slab mm/vmscan.c:466 [inline] [<00000000f3e279b2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000b29b948a>] kswapd_shrink_node mm/vmscan.c:3209 [inline] [<00000000b29b948a>] balance_pgdat mm/vmscan.c:3329 [inline] [<00000000b29b948a>] kswapd+0x7f8/0x13b0 mm/vmscan.c:3523 [<00000000514260da>] kthread+0x278/0x310 kernel/kthread.c:211 [<00000000dd8a2a0c>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:375 lowmemorykiller: Killing 'syz-executor919' (2061) (tgid 2061), adj 1000, to free 44kB on behalf of 'kswapd0' (33) because cache 1456kB is below limit 6144kB for oom_score_adj 0 Free memory is -6820kB above reserved lowmemorykiller: Killing 'syz-executor919' (2061) (tgid 2061), adj 1000, to free 44kB on behalf of 'syz-executor919' (2062) because cache 1456kB is below limit 6144kB for oom_score_adj 0 Free memory is -13268kB above reserved oom_reaper: reaped process 2061 (syz-executor919), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB syz-executor919: vmalloc: allocation failure, allocated 1349160960 of 4260122624 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 2061 Comm: syz-executor919 Tainted: G W 4.9.187+ #16 ffff8801ce58f858 ffffffff81b64701 1ffff10039cb1f0d dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801ce58f980 ffffffff81506a43 0000000041b58ab3 ffffffff82e3a738 ffffffff81430620 Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<0000000097a4faaf>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007cac31e8>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007cac31e8>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000e2d20a20>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000e2d20a20>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000e2d20a20>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004b96c8c3>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<0000000077b5a9bc>] translate_table+0x215/0x1650 net/ipv4/netfilter/ip_tables.c:705 [<000000003c4ffa6a>] do_replace net/ipv4/netfilter/ip_tables.c:1157 [inline] [<000000003c4ffa6a>] do_ipt_set_ctl+0x2d4/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000009d9d93d8>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000009d9d93d8>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000082b9dfbc>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000082b9dfbc>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000a5512ea8>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<000000009fb1b32c>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<00000000cc11eff4>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<00000000cc11eff4>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000495aa3a1>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000510b4852>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000510b4852>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000ae3faf8a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000008f034838>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3227 inactive_anon:41 isolated_anon:0 active_file:15 inactive_file:18 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4264 slab_unreclaimable:56371 mapped:24 shmem:48 pagetables:359 bounce:0 free:7 free_pcp:8 free_cma:0 Node 0 active_anon:12908kB inactive_anon:164kB active_file:60kB inactive_file:72kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:96kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? yes DMA32 free:0kB min:4696kB low:7712kB high:10728kB active_anon:32kB inactive_anon:0kB active_file:36kB inactive_file:32kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:12kB kernel_stack:32kB pagetables:20kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:32kB min:5580kB low:9168kB high:12756kB active_anon:12876kB inactive_anon:164kB active_file:60kB inactive_file:72kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17056kB slab_unreclaimable:225472kB kernel_stack:3424kB pagetables:1416kB bounce:0kB free_pcp:32kB local_pcp:0kB 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 313625 pages reserved lowmemorykiller: Killing 'syz-executor919' (2062) (tgid 2062), adj 1000, to free 44kB on behalf of 'syz-executor919' (2067) because cache 460kB is below limit 6144kB for oom_score_adj 0 Free memory is -13376kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2067, name: syz-executor919 INFO: lockdep is turned off. Preemption disabled at: [<0000000028547d64>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000028547d64>] task_lock include/linux/sched.h:3217 [inline] [<0000000028547d64>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 1 PID: 2067 Comm: syz-executor919 Tainted: G W 4.9.187+ #16 ffff8800734c7258 ffffffff81b64701 0000000000000000 0000000000000001 ffff8801cedac740 ffffffff810d0d10 ffff8801cedac740 ffff8800734c7290 ffffffff814005fc ffff8801cedac740 ffffffff82a39940 0000000000000387 Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b04802a3>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000009e421822>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<00000000a18e009b>] mmput+0x28/0x370 kernel/fork.c:903 [<00000000efe0913f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000036f50fab>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000f1aba7ea>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000f1aba7ea>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000f3e279b2>] shrink_slab mm/vmscan.c:466 [inline] [<00000000f3e279b2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000a135d3bf>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000a135d3bf>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000a135d3bf>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<000000004f826185>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<000000004f826185>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<000000004f826185>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<000000004f826185>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000039eddd3e>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000039eddd3e>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000039eddd3e>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000039eddd3e>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<0000000039eddd3e>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000e2d20a20>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000e2d20a20>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000e2d20a20>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004b96c8c3>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<0000000077b5a9bc>] translate_table+0x215/0x1650 net/ipv4/netfilter/ip_tables.c:705 [<000000003c4ffa6a>] do_replace net/ipv4/netfilter/ip_tables.c:1157 [inline] [<000000003c4ffa6a>] do_ipt_set_ctl+0x2d4/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000009d9d93d8>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000009d9d93d8>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000082b9dfbc>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000082b9dfbc>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000a5512ea8>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<000000009fb1b32c>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<00000000cc11eff4>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<00000000cc11eff4>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000495aa3a1>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000510b4852>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000510b4852>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000ae3faf8a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000008f034838>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb syz-executor919: [ 38.783636] oom_reaper: reaped process 2062 (syz-executor919), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB vmalloc: allocation failure, allocated 1845149696 of 4260122624 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 2062 Comm: syz-executor919 Tainted: G W 4.9.187+ #16 ffff8801ce52f858 ffffffff81b64701 1ffff10039ca5f0d dffffc0000000000 ffffffff82aaa9c0 0000000000000000 0000000000400000 ffff8801ce52f980 ffffffff81506a43[ 38.830447] syz-executor919 invoked oom-killer: gfp_mask=0x24200ca(GFP_HIGHUSER_MOVABLE), nodemask=0, order=0, oom_score_adj=0 0000000041b58ab3 ffffffff82e3a738 ffffffff81430620 [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<0000000097a4faaf>] warn_alloc.cold+0x76/0x93 mm/page_alloc.c:3069 [<000000007cac31e8>] __vmalloc_area_node mm/vmalloc.c:1665 [inline] [<000000007cac31e8>] __vmalloc_node_range+0x3ff/0x610 mm/vmalloc.c:1706 [<00000000e2d20a20>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000e2d20a20>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000e2d20a20>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004b96c8c3>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<0000000077b5a9bc>] translate_table+0x215/0x1650 net/ipv4/netfilter/ip_tables.c:705 [<000000003c4ffa6a>] do_replace net/ipv4/netfilter/ip_tables.c:1157 [inline] [<000000003c4ffa6a>] do_ipt_set_ctl+0x2d4/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000009d9d93d8>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000009d9d93d8>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000082b9dfbc>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000082b9dfbc>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000a5512ea8>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<000000009fb1b32c>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<00000000cc11eff4>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<00000000cc11eff4>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000495aa3a1>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000510b4852>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000510b4852>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000ae3faf8a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000008f034838>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb CPU: 0 PID: 2068 Comm: syz-executor919 Tainted: G W 4.9.187+ #16 Mem-Info: active_anon:3229 inactive_anon:41 isolated_anon:0 active_file:26 inactive_file:26 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4281 slab_unreclaimable:56453 mapped:23 shmem:48 pagetables:363 bounce:0 free:450 free_pcp:8 free_cma:0 Node 0 active_anon:12916kB inactive_anon:164kB active_file:104kB inactive_file:104kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:92kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:2 all_unreclaimable? yes DMA32 free:0kB min:4696kB low:7712kB high:10728kB active_anon:60kB inactive_anon:0kB active_file:12kB inactive_file:4kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:20kB slab_unreclaimable:136kB kernel_stack:32kB pagetables:24kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB Normal free:1800kB min:5580kB low:9168kB high:12756kB active_anon:12856kB inactive_anon:164kB active_file:100kB inactive_file:100kB unevictable:0kB writepending:0kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17104kB slab_unreclaimable:225676kB kernel_stack:3424kB pagetables:1428kB bounce:0kB free_pcp:32kB local_pcp:32kB 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 313625 pages reserved ffff8801ce58f6f0 ffffffff81b64701 ffff8801ce58fa48 ffffffff833f1270 0000000000000000 ffff8801ce58fa60 0000000000000000 ffff8801ce58f770 ffffffff8150578b 0000000000000000 0000000000000000 ffffffff82826e15 Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000fec83820>] dump_header.isra.0+0x142/0x74c mm/oom_kill.c:417 lowmemorykiller: Killing 'syz-executor919' (2063) (tgid 2063), adj 1000, to free 44kB on behalf of 'syz-executor919' (2065) because cache 256kB is below limit 6144kB for oom_score_adj 0 Free memory is -35704kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2065, name: syz-executor919 INFO: lockdep is turned off. Preemption disabled at: [<0000000028547d64>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000028547d64>] task_lock include/linux/sched.h:3217 [inline] [<0000000028547d64>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 [<0000000051cce94b>] oom_kill_process.cold+0xd/0xa74 mm/oom_kill.c:852 [<00000000cef5bb2d>] out_of_memory mm/oom_kill.c:1069 [inline] [<00000000cef5bb2d>] out_of_memory+0x29b/0xea0 mm/oom_kill.c:1009 [<000000001140273a>] __alloc_pages_may_oom mm/page_alloc.c:3136 [inline] [<000000001140273a>] __alloc_pages_slowpath mm/page_alloc.c:3750 [inline] [<000000001140273a>] __alloc_pages_nodemask+0x1730/0x1a80 mm/page_alloc.c:3861 [<00000000a206e74d>] __alloc_pages include/linux/gfp.h:433 [inline] [<00000000a206e74d>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<00000000a206e74d>] alloc_pages_node include/linux/gfp.h:460 [inline] [<00000000a206e74d>] __page_cache_alloc include/linux/pagemap.h:208 [inline] [<00000000a206e74d>] pagecache_get_page+0x248/0x740 mm/filemap.c:1367 [<00000000d9cd41b4>] filemap_fault+0xb1f/0x1360 mm/filemap.c:2331 [<00000000faf9b1c4>] ext4_filemap_fault+0x72/0xa0 fs/ext4/inode.c:5854 [<00000000136d2975>] __do_fault+0x2a8/0x6c0 mm/memory.c:2855 [<000000006b94e7c4>] do_read_fault mm/memory.c:3202 [inline] [<000000006b94e7c4>] do_fault mm/memory.c:3338 [inline] [<000000006b94e7c4>] handle_pte_fault mm/memory.c:3547 [inline] [<000000006b94e7c4>] __handle_mm_fault mm/memory.c:3634 [inline] [<000000006b94e7c4>] handle_mm_fault+0x11bc/0x2420 mm/memory.c:3671 [<00000000f5873846>] __do_page_fault+0x3f0/0xa60 arch/x86/mm/fault.c:1404 [<00000000246f06cd>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1467 [<0000000019ce6175>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:953 CPU: 0 PID: 2065 Comm: syz-executor919 Tainted: G W 4.9.187+ #16 ffff8801ccfaf258 ffffffff81b64701 0000000000000000 0000000000000001 ffff8801d1b317c0 ffffffff810d0d10 ffff8801d1b317c0 ffff8801ccfaf290 ffffffff814005fc ffff8801d1b317c0 ffffffff82a39940 0000000000000387 Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b04802a3>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000009e421822>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<00000000a18e009b>] mmput+0x28/0x370 kernel/fork.c:903 [<00000000efe0913f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000036f50fab>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000f1aba7ea>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000f1aba7ea>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000f3e279b2>] shrink_slab mm/vmscan.c:466 [inline] [<00000000f3e279b2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000a135d3bf>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000a135d3bf>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000a135d3bf>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<000000004f826185>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<000000004f826185>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<000000004f826185>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<000000004f826185>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000039eddd3e>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000039eddd3e>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000039eddd3e>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000039eddd3e>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<0000000039eddd3e>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000e2d20a20>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000e2d20a20>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000e2d20a20>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004b96c8c3>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<0000000077b5a9bc>] translate_table+0x215/0x1650 net/ipv4/netfilter/ip_tables.c:705 [<000000003c4ffa6a>] do_replace net/ipv4/netfilter/ip_tables.c:1157 [inline] [<000000003c4ffa6a>] do_ipt_set_ctl+0x2d4/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000009d9d93d8>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000009d9d93d8>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000082b9dfbc>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000082b9dfbc>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000a5512ea8>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<000000009fb1b32c>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<00000000cc11eff4>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<00000000cc11eff4>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000495aa3a1>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000510b4852>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000510b4852>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000ae3faf8a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000008f034838>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Mem-Info: active_anon:3220 inactive_anon:41 isolated_anon:0 active_file:37 inactive_file:40 isolated_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 slab_reclaimable:4281 slab_unreclaimable:56454 mapped:74 shmem:48 pagetables:358 bounce:0 free:6047 free_pcp:30 free_cma:0 Node 0 active_anon:12880kB inactive_anon:164kB active_file:148kB inactive_file:160kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:296kB dirty:0kB writeback:0kB shmem:192kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA32 free:18712kB min:4696kB low:7712kB high:10728kB active_anon:104kB inactive_anon:0kB active_file:8kB inactive_file:104kB unevictable:0kB writepending:0kB present:3145324kB managed:3020100kB mlocked:0kB slab_reclaimable:20kB slab_unreclaimable:140kB kernel_stack:64kB pagetables:36kB bounce:0kB free_pcp:120kB local_pcp:120kB free_cma:0kB lowmem_reserve[]: 0 3505 3505 Normal free:5516kB min:5580kB low:9168kB high:12756kB active_anon:12824kB inactive_anon:164kB active_file:180kB inactive_file:116kB unevictable:0kB writepending:60kB present:4718592kB managed:3589316kB mlocked:0kB slab_reclaimable:17124kB slab_unreclaimable:225696kB kernel_stack:3392kB pagetables:1408kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0[ 40.283024] lowmemorykiller: Killing 'syz-executor919' (2069) (tgid 2069), adj 1000, to free 48kB on behalf of 'syz-executor919' (2067) because cache 364kB is below limit 6144kB for oom_score_adj 0 Free memory is -13276kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2067, name: syz-executor919 INFO: lockdep is turned off. Preemption disabled at: [<0000000028547d64>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000028547d64>] task_lock include/linux/sched.h:3217 [inline] [<0000000028547d64>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 0 PID: 2067 Comm: syz-executor919 Tainted: G W 4.9.187+ #16 ffff8800734c7258 ffffffff81b64701 0000000000000000 0000000000000001 ffff8801cedac740 ffffffff810d0d10 ffff8801cedac740 ffff8800734c7290 ffffffff814005fc ffff8801cedac740 ffffffff82a39940 0000000000000387Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b04802a3>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000009e421822>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961 [<00000000a18e009b>] mmput+0x28/0x370 kernel/fork.c:903 [<00000000efe0913f>] handle_lmk_event+0xea/0x8a0 drivers/staging/android/lowmemorykiller.c:111 [<0000000036f50fab>] lowmem_scan+0x695/0xb50 drivers/staging/android/lowmemorykiller.c:345 [<00000000f1aba7ea>] do_shrink_slab mm/vmscan.c:399 [inline] [<00000000f1aba7ea>] shrink_slab.part.0+0x3cf/0xa20 mm/vmscan.c:502 [<00000000f3e279b2>] shrink_slab mm/vmscan.c:466 [inline] [<00000000f3e279b2>] shrink_node+0x1ed/0x750 mm/vmscan.c:2604 [<00000000a135d3bf>] shrink_zones mm/vmscan.c:2751 [inline] [<00000000a135d3bf>] do_try_to_free_pages mm/vmscan.c:2793 [inline] [<00000000a135d3bf>] try_to_free_pages+0x397/0xbd0 mm/vmscan.c:3004 [<000000004f826185>] __perform_reclaim mm/page_alloc.c:3332 [inline] [<000000004f826185>] __alloc_pages_direct_reclaim mm/page_alloc.c:3354 [inline] [<000000004f826185>] __alloc_pages_slowpath mm/page_alloc.c:3704 [inline] [<000000004f826185>] __alloc_pages_nodemask+0x930/0x1a80 mm/page_alloc.c:3861 [<0000000039eddd3e>] __alloc_pages include/linux/gfp.h:433 [inline] [<0000000039eddd3e>] __alloc_pages_node include/linux/gfp.h:446 [inline] [<0000000039eddd3e>] alloc_pages_node include/linux/gfp.h:460 [inline] [<0000000039eddd3e>] __vmalloc_area_node mm/vmalloc.c:1648 [inline] [<0000000039eddd3e>] __vmalloc_node_range+0x25b/0x610 mm/vmalloc.c:1706 [<00000000e2d20a20>] __vmalloc_node mm/vmalloc.c:1749 [inline] [<00000000e2d20a20>] __vmalloc_node_flags mm/vmalloc.c:1763 [inline] [<00000000e2d20a20>] vmalloc+0x5c/0x70 mm/vmalloc.c:1778 [<000000004b96c8c3>] xt_alloc_entry_offsets+0x44/0x50 net/netfilter/x_tables.c:758 [<0000000077b5a9bc>] translate_table+0x215/0x1650 net/ipv4/netfilter/ip_tables.c:705 [<000000003c4ffa6a>] do_replace net/ipv4/netfilter/ip_tables.c:1157 [inline] [<000000003c4ffa6a>] do_ipt_set_ctl+0x2d4/0x470 net/ipv4/netfilter/ip_tables.c:1693 [<000000009d9d93d8>] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [<000000009d9d93d8>] nf_setsockopt+0x6d/0xc0 net/netfilter/nf_sockopt.c:114 [<0000000082b9dfbc>] ip_setsockopt net/ipv4/ip_sockglue.c:1247 [inline] [<0000000082b9dfbc>] ip_setsockopt+0x8a/0xa0 net/ipv4/ip_sockglue.c:1232 [<00000000a5512ea8>] udp_setsockopt+0x4e/0x90 net/ipv4/udp.c:2114 [<000000009fb1b32c>] ipv6_setsockopt+0xa4/0x140 net/ipv6/ipv6_sockglue.c:912 [<00000000cc11eff4>] tcp_setsockopt net/ipv4/tcp.c:2759 [inline] [<00000000cc11eff4>] tcp_setsockopt+0x8a/0xe0 net/ipv4/tcp.c:2753 [<00000000495aa3a1>] sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:2710 [<00000000510b4852>] SYSC_setsockopt net/socket.c:1786 [inline] [<00000000510b4852>] SyS_setsockopt+0x159/0x240 net/socket.c:1765 [<00000000ae3faf8a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000008f034838>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb 0 0 DMA32: 14*4kB (M) 18*8kB (M) 23*16kB (UM) 15*32kB (M) 14*64kB (UM) 7*128kB (UM) 2*256kB (M) 2*512kB (M) 2*1024kB (UM) 6*2048kB (U) 0*4096kB = 18712kB Normal: 196*4kB (UMH) 104*8kB (MH) 59*16kB (UMH) 29*32kB (UMH) 6*64kB (UMH) 3*128kB (H) 1*256kB (H) 2*512kB (H) 0*1024kB 0*2048kB 0*4096kB = 5536kB 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 313625 pages reserved [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name [ 470] 0 470 5384 184 16 3 0 -1000 udevd [ 593] 0 593 5374 177 15 3 0 -1000 udevd [ 594] 0 594 5364 167 15 3 0 -1000 udevd [ 1764] 0 1764 2492 574 10 3 0 0 dhclient [ 1895] 0 1895 14261 150 23 3 0 0 rsyslogd [ 1950] 0 1950 3734 44 11 3 0 0 mcstransd [ 1952] 0 1952 4724 51 15 3 0 0 cron [ 1970] 0 1970 12926 1228 28 3 0 0 restorecond [ 1996] 0 1996 12489 152 27 3 0 -1000 sshd [ 2026] 0 2026 3648 40 13 3 0 0 getty [ 2045] 0 2045 3648 43 13 3 0 0 getty [ 2046] 0 2046 3648 43 13 3 0 0 getty [ 2047] 0 2047 3648 42 13 3 0 0 getty [ 2048] 0 2048 3648 42 14 3 0 0 getty [ 2049] 0 2049 3648 42 13 3 0 0 getty [ 2050] 0 2050 3648 44 13 3 0 0 getty [ 2051] 0 2051 17820 199 38 3 0 0 sshd [ 2053] 0 2053 4380 1 4 2 0 0 syz-executor919 [ 2054] 0 2054 4380 11 4 2 0 0 syz-executor919 [ 2055] 0 2055 4379 17 4 2 0 0 syz-executor919 [ 2057] 0 2057 4379 17 4 2 0 0 syz-executor919 [ 2058] 0 2058 4379 17 4 2 0 0 syz-executor919 [ 2059] 0 2059 4379 17 4 2 0 0 syz-executor919 [ 2060] 0 2060 4380 11 4 2 0 0 syz-executor919 [ 2063] 0 2063 4380 11 5 2 0 1000 syz-executor919 [ 2064] 0 2064 4380 11 5 2 0 1000 syz-executor919 [ 2065] 0 2065 4380 11 5 2 0 1000 syz-executor919 [ 2067] 0 2067 4380 11 5 2 0 1000 syz-executor919 lowmemorykiller: Killing 'syz-executor919' (2069) (tgid 2069), adj 1000, to free 48kB on behalf of 'syz-executor919' (2063) because cache 312kB is below limit 6144kB for oom_score_adj 0 Free memory is -13256kB above reserved lowmemorykiller: Killing 'syz-executor919' (2069) (tgid 2069), adj 1000, to free 48kB on behalf of 'syz-executor919' (2069) because cache 312kB is below limit 6144kB for oom_score_adj 0 Free memory is -13256kB above reserved BUG: sleeping function called from invalid context at kernel/fork.c:903 in_atomic(): 0, irqs_disabled(): 0, pid: 2069, name: syz-executor919 INFO: lockdep is turned off. Preemption disabled at: [<0000000028547d64>] spin_lock include/linux/spinlock.h:302 [inline] [<0000000028547d64>] task_lock include/linux/sched.h:3217 [inline] [<0000000028547d64>] get_task_mm+0x20/0xc0 kernel/fork.c:1010 CPU: 0 PID: 2069 Comm: syz-executor919 Tainted: G W 4.9.187+ #16 ffff8800480771c0 ffffffff81b64701 0000000000000000 0000000000000001 ffff8801cef78000 ffffffff810d0d10 ffff8801cef78000 ffff8800480771f8 ffffffff814005fc ffff8801cef78000 ffffffff82a39940 0000000000000387 Call Trace: [<000000008ff5125d>] __dump_stack lib/dump_stack.c:15 [inline] [<000000008ff5125d>] dump_stack+0xc1/0x120 lib/dump_stack.c:51 [<00000000b04802a3>] ___might_sleep.cold+0x1c1/0x1fa kernel/sched/core.c:8004 [<000000009e421822>] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7961