BUG: Bad page state in process udevd pfn:1d1160 page:ffffea0007445800 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 raw: 8000000000000000 dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 ffffffffffffffff 0000000000000000 page dumped because: nonzero _refcount Modules linked in: CPU: 0 PID: 400 Comm: udevd Tainted: G W 5.4.22-syzkaller-01118-g35eb457cb886 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b0/0x228 lib/dump_stack.c:118 bad_page+0x262/0x290 mm/page_alloc.c:661 check_new_page_bad mm/page_alloc.c:2080 [inline] check_new_page mm/page_alloc.c:2092 [inline] check_new_pages mm/page_alloc.c:2145 [inline] rmqueue mm/page_alloc.c:3296 [inline] get_page_from_freelist+0x505a/0x57e0 mm/page_alloc.c:3693 __alloc_pages_nodemask+0x44f/0x3010 mm/page_alloc.c:4757 alloc_slab_page+0x3f/0x390 mm/slub.c:1494 allocate_slab mm/slub.c:1640 [inline] new_slab+0x98/0x430 mm/slub.c:1706 new_slab_objects mm/slub.c:2457 [inline] ___slab_alloc+0x2e0/0x450 mm/slub.c:2608 __slab_alloc mm/slub.c:2648 [inline] slab_alloc_node mm/slub.c:2722 [inline] slab_alloc mm/slub.c:2766 [inline] kmem_cache_alloc+0x203/0x2b0 mm/slub.c:2771 getname_flags+0xba/0x640 fs/namei.c:141 getname fs/namei.c:212 [inline] __do_sys_unlink fs/namei.c:4247 [inline] __se_sys_unlink fs/namei.c:4245 [inline] __x64_sys_unlink+0x3c/0x50 fs/namei.c:4245 do_syscall_64+0xc0/0x100 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fec5d0535d7 Code: 48 3d 00 f0 ff ff 77 03 48 98 c3 48 8b 15 59 38 2b 00 f7 d8 64 89 02 48 83 c8 ff c3 90 90 90 90 90 90 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 31 38 2b 00 31 d2 48 29 c2 64 RSP: 002b:00007ffd9824e178 EFLAGS: 00000202 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 000000000085d6d0 RCX: 00007fec5d0535d7 RDX: 00007ffd9824e1a4 RSI: 000000000041cce6 RDI: 00007ffd9824e190 RBP: 00000000006d6030 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000010e6 R13: 0000000000625500 R14: 00000000006d6030 R15: 000000000000000b