__alloc_pages include/linux/gfp.h:475 [inline] __alloc_pages_node include/linux/gfp.h:488 [inline] alloc_pages_node include/linux/gfp.h:502 [inline] alloc_thread_stack_node kernel/fork.c:241 [inline] dup_task_struct kernel/fork.c:807 [inline] copy_process+0xb05/0xa950 kernel/fork.c:1709 _do_fork+0x339/0xfb0 kernel/fork.c:2168 kernel_thread+0xc6/0xe0 kernel/fork.c:2227 create_kthread kernel/kthread.c:270 [inline] kthreadd+0x59c/0x900 kernel/kthread.c:589 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:416 BUG: unable to handle kernel NULL pointer dereference at 00000000000008f4 PGD 80000001ab1be067 P4D 80000001ab1be067 PUD 1c5f7c067 PMD 0 Oops: 0002 [#1] SMP PTI CPU: 1 PID: 41 Comm: kworker/u4:2 Not tainted 4.19.0-rc1+ #41 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: (null) (events_unbound) RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:65 Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 RSP: 0018:ffff8801d53efa18 EFLAGS: 00010046 RAX: 0000000000000000 RBX: fffffffffffffff4 RCX: 0000000000000fb0 RDX: 0000000000000fb0 RSI: 0000000000000000 RDI: 00000000000008f4 RBP: ffff8801d53efa28 R08: 0000000000000000 R09: 00000000000008f4 R10: 0000000000000000 R11: ffffffff81355350 R12: 000000008ee00007 R13: 0000000000000000 R14: 0000000000000282 R15: fffffffffffffff4 FS: 0000000000000000(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000b0 CR3: 00000001a6890000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmsan_thread_create+0x4b/0x90 mm/kmsan/kmsan_hooks.c:30 __kthread_create_on_node+0x71b/0x810 kernel/kthread.c:345 kthread_create_on_node+0x23f/0x270 kernel/kthread.c:381 create_worker+0x4ee/0xfb0 kernel/workqueue.c:1813 maybe_create_worker kernel/workqueue.c:1972 [inline] manage_workers kernel/workqueue.c:2024 [inline] worker_thread+0x8d9/0x2590 kernel/workqueue.c:2268 kthread+0x465/0x4a0 kernel/kthread.c:247 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:416 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: 00000000000008f4 ---[ end trace efd5aa42b91b011c ]--- RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:65 Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 RSP: 0018:ffff8801d53efa18 EFLAGS: 00010046 RAX: 0000000000000000 RBX: fffffffffffffff4 RCX: 0000000000000fb0 RDX: 0000000000000fb0 RSI: 0000000000000000 RDI: 00000000000008f4 RBP: ffff8801d53efa28 R08: 0000000000000000 R09: 00000000000008f4 R10: 0000000000000000 R11: ffffffff81355350 R12: 000000008ee00007 R13: 0000000000000000 R14: 0000000000000282 R15: fffffffffffffff4 FS: 0000000000000000(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000b0 CR3: 00000001a6890000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400