__alloc_pages include/linux/gfp.h:458 [inline] __alloc_pages_node include/linux/gfp.h:471 [inline] alloc_pages_node include/linux/gfp.h:485 [inline] alloc_thread_stack_node kernel/fork.c:241 [inline] dup_task_struct kernel/fork.c:775 [inline] copy_process+0x778/0x9c20 kernel/fork.c:1633 _do_fork+0x353/0xf60 kernel/fork.c:2089 kernel_thread+0xc6/0xe0 kernel/fork.c:2148 create_kthread kernel/kthread.c:264 [inline] kthreadd+0x5df/0x940 kernel/kthread.c:563 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:415 BUG: unable to handle kernel NULL pointer dereference at 00000000000008d4 PGD 800000018c81f067 P4D 800000018c81f067 PUD 1b1672067 PMD 0 Oops: 0002 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 24161 Comm: kworker/0:0 Not tainted 4.17.0+ #22 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:65 RSP: 0018:ffff8801730dfa38 EFLAGS: 00010046 RAX: 0000000000000000 RBX: fffffffffffffff4 RCX: 0000000000000fb0 RDX: 0000000000000fb0 RSI: 0000000000000000 RDI: 00000000000008d4 RBP: ffff8801730dfa48 R08: 0000000000000000 R09: 00000000000008d4 R10: 0000000000000000 R11: ffffffff81351e50 R12: ffff8801232488e0 R13: 0000000000000000 R14: 0000000000000282 R15: fffffffffffffff4 FS: 0000000000000000(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000b0 CR3: 00000001a3700000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: kmsan_thread_create+0x4b/0x90 mm/kmsan/kmsan_hooks.c:30 __kthread_create_on_node+0x6ba/0x7b0 kernel/kthread.c:333 kthread_create_on_node+0x243/0x270 kernel/kthread.c:369 create_worker+0x7c6/0x1000 kernel/workqueue.c:1811 maybe_create_worker kernel/workqueue.c:1970 [inline] manage_workers kernel/workqueue.c:2022 [inline] worker_thread+0x876/0x24f0 kernel/workqueue.c:2251 kthread+0x4db/0x6c0 kernel/kthread.c:241 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:415 Code: 48 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 RIP: memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:65 RSP: ffff8801730dfa38 CR2: 00000000000008d4 ---[ end trace a5609456f1346ccb ]---