kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5830 Comm: syz.9.1471 Not tainted 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__write_once_size include/linux/compiler.h:295 [inline] RIP: 0010:__hlist_del include/linux/list.h:789 [inline] RIP: 0010:detach_timer kernel/time/timer.c:824 [inline] RIP: 0010:expire_timers kernel/time/timer.c:1482 [inline] RIP: 0010:__run_timers+0x71a/0xb60 kernel/time/timer.c:1817 Code: 4c 89 f3 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 f7 e8 0a d8 3c 00 4d 8b 2e 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ef e8 88 d8 3c 00 4d 89 65 00 4d 85 e4 74 RSP: 0018:ffff8881f6f09d40 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 1ffff1103c5e3639 RCX: dffffc0000000000 RDX: 0000000000000101 RSI: 0000000000000004 RDI: ffff8881f6f09cc0 RBP: ffff8881f6f09eb8 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103ede1398 R11: 1ffff1103ede1398 R12: dead000000000122 R13: 0000000000000000 R14: ffff8881e2f1b1c8 R15: 1ffff1103c5e3638 FS: 00007efff08966c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555563d4b4a8 CR3: 00000001db118000 CR4: 00000000003406a0 DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000200000000300 DR3: 0000200000000300 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1830 __do_softirq+0x236/0x660 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x197/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:539 [inline] smp_apic_timer_interrupt+0x11d/0x490 arch/x86/kernel/apic/apic.c:1161 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:release_pages+0x118/0xaa0 mm/swap.c:770 Code: 03 48 89 44 24 48 45 31 ff 45 31 f6 48 c7 44 24 08 00 00 00 00 48 8b 5c 24 10 4a 8d 3c 3b 48 89 f8 48 c1 e8 03 42 80 3c 28 00 <74> 05 e8 11 e3 10 00 4c 89 7c 24 58 4e 8b 3c 3b 4d 85 f6 74 27 4c RSP: 0018:ffff8881e271f4a0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffff11039c63a95 RBX: ffff8881ce31d010 RCX: ffff8881d4cdbf00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881ce31d4a8 RBP: ffff8881e271f590 R08: dffffc0000000000 R09: fffff94000f5612f R10: fffff94000f5612f R11: 1ffffd4000f5612e R12: 0000000000000fd8 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000498 free_pages_and_swap_cache+0x86/0xa0 mm/swap_state.c:297 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:189 [inline] tlb_flush_mmu+0xd6/0x180 mm/mmu_gather.c:196 zap_pte_range mm/memory.c:1173 [inline] zap_pmd_range mm/memory.c:1222 [inline] zap_pud_range mm/memory.c:1251 [inline] zap_p4d_range mm/memory.c:1272 [inline] unmap_page_range+0x1968/0x1b20 mm/memory.c:1293 unmap_single_vma mm/memory.c:1338 [inline] unmap_vmas+0x245/0x340 mm/memory.c:1370 exit_mmap+0x2bb/0x520 mm/mmap.c:3191 __mmput+0x92/0x2e0 kernel/fork.c:1101 mmput+0x47/0x60 kernel/fork.c:1122 exit_mm kernel/exit.c:538 [inline] do_exit+0x99f/0x2660 kernel/exit.c:848 do_group_exit+0x13e/0x300 kernel/exit.c:984 get_signal+0xdee/0x13d0 kernel/signal.c:2738 do_signal+0xad/0xda0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc4/0x1b0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x18e/0x1f0 arch/x86/entry/common.c:194 syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x13e/0x170 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7efff226f969 Code: Bad RIP value. RSP: 002b:00007efff0896038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: fffffffffffffff5 RBX: 00007efff2497160 RCX: 00007efff226f969 RDX: 0000000000000070 RSI: 0000200000000440 RDI: 0000000000000005 RBP: 00007efff22f1ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efff2497160 R15: 00007ffefe7e10d8 Modules linked in: ---[ end trace eb057b1818931837 ]--- RIP: 0010:__write_once_size include/linux/compiler.h:295 [inline] RIP: 0010:__hlist_del include/linux/list.h:789 [inline] RIP: 0010:detach_timer kernel/time/timer.c:824 [inline] RIP: 0010:expire_timers kernel/time/timer.c:1482 [inline] RIP: 0010:__run_timers+0x71a/0xb60 kernel/time/timer.c:1817 Code: 4c 89 f3 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 f7 e8 0a d8 3c 00 4d 8b 2e 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ef e8 88 d8 3c 00 4d 89 65 00 4d 85 e4 74 RSP: 0018:ffff8881f6f09d40 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 1ffff1103c5e3639 RCX: dffffc0000000000 RDX: 0000000000000101 RSI: 0000000000000004 RDI: ffff8881f6f09cc0 RBP: ffff8881f6f09eb8 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103ede1398 R11: 1ffff1103ede1398 R12: dead000000000122 R13: 0000000000000000 R14: ffff8881e2f1b1c8 R15: 1ffff1103c5e3638 FS: 00007efff08966c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efff226f93f CR3: 00000001db118000 CR4: 00000000003406a0 DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000200000000300 DR3: 0000200000000300 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 4c 89 f3 mov %r14,%rbx 3: 48 c1 eb 03 shr $0x3,%rbx 7: 42 80 3c 2b 00 cmpb $0x0,(%rbx,%r13,1) c: 74 08 je 0x16 e: 4c 89 f7 mov %r14,%rdi 11: e8 0a d8 3c 00 call 0x3cd820 16: 4d 8b 2e mov (%r14),%r13 19: 4c 89 e8 mov %r13,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 ef mov %r13,%rdi 33: e8 88 d8 3c 00 call 0x3cd8c0 38: 4d 89 65 00 mov %r12,0x0(%r13) 3c: 4d 85 e4 test %r12,%r12 3f: 74 .byte 0x74