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: 0 PID: 8478 Comm: syz.5.2446 Not tainted 5.4.290-syzkaller-00017-g6b07fcd94a6a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:__hlist_del include/linux/list.h:791 [inline]
RIP: 0010:detach_timer kernel/time/timer.c:824 [inline]
RIP: 0010:detach_if_pending+0x179/0x360 kernel/time/timer.c:841
Code: e8 03 42 80 3c 20 00 74 08 48 89 ef e8 80 84 3f 00 48 89 5d 00 48 85 db 74 46 e8 c2 99 0f 00 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 58 84 3f 00 48 89 2b 80 7c 24 0c
RSP: 0018:ffff8881e8d77b50 EFLAGS: 00010802
RAX: 1bd5a00000000025 RBX: dead00000000012a RCX: ffff8881ece8bf00
RDX: 0000000000000000 RSI: 0000000013000001 RDI: 0000000080400000
RBP: ffff8881f0b6b1c0 R08: ffffffff8154b04a R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881e09cb1c0 R14: ffff8881e09cb1c8 R15: 1ffff1103c139639
FS:  000055558e8ba500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdabf0d020 CR3: 00000001dd053000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 try_to_del_timer_sync kernel/time/timer.c:1267 [inline]
 del_timer_sync+0x13c/0x230 kernel/time/timer.c:1410
 tun_flow_uninit+0x2c/0x280 drivers/net/tun.c:1452
 tun_free_netdev+0x77/0x190 drivers/net/tun.c:2404
 netdev_run_todo+0xb7f/0xdf0 net/core/dev.c:9477
 tun_detach drivers/net/tun.c:766 [inline]
 tun_chr_close+0xc1/0x130 drivers/net/tun.c:3563
 __fput+0x262/0x680 fs/file_table.c:281
 task_work_run+0x140/0x170 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop+0x190/0x1a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7f7a0b816dca
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24
RSP: 002b:00007ffe237c7110 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00007f7a0b816dca
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007f7a0ba32ba0 R08: 0000000000000000 R09: 00000014237c741f
R10: 000000000003fcf8 R11: 0000000000000293 R12: 00000000000b2281
R13: 00007f7a0ba31080 R14: ffffffffffffffff R15: 00007ffe237c7240
Modules linked in:
---[ end trace bcb2ca9696bec059 ]---
RIP: 0010:__hlist_del include/linux/list.h:791 [inline]
RIP: 0010:detach_timer kernel/time/timer.c:824 [inline]
RIP: 0010:detach_if_pending+0x179/0x360 kernel/time/timer.c:841
Code: e8 03 42 80 3c 20 00 74 08 48 89 ef e8 80 84 3f 00 48 89 5d 00 48 85 db 74 46 e8 c2 99 0f 00 48 83 c3 08 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 58 84 3f 00 48 89 2b 80 7c 24 0c
RSP: 0018:ffff8881e8d77b50 EFLAGS: 00010802
RAX: 1bd5a00000000025 RBX: dead00000000012a RCX: ffff8881ece8bf00
RDX: 0000000000000000 RSI: 0000000013000001 RDI: 0000000080400000
RBP: ffff8881f0b6b1c0 R08: ffffffff8154b04a R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881e09cb1c0 R14: ffff8881e09cb1c8 R15: 1ffff1103c139639
FS:  000055558e8ba500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdabf0d020 CR3: 00000001dd053000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e8 03 42 80 3c       	call   0x3c804208
   5:	20 00                	and    %al,(%rax)
   7:	74 08                	je     0x11
   9:	48 89 ef             	mov    %rbp,%rdi
   c:	e8 80 84 3f 00       	call   0x3f8491
  11:	48 89 5d 00          	mov    %rbx,0x0(%rbp)
  15:	48 85 db             	test   %rbx,%rbx
  18:	74 46                	je     0x60
  1a:	e8 c2 99 0f 00       	call   0xf99e1
  1f:	48 83 c3 08          	add    $0x8,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 58 84 3f 00       	call   0x3f8491
  39:	48 89 2b             	mov    %rbp,(%rbx)
  3c:	80                   	.byte 0x80
  3d:	7c 24                	jl     0x63
  3f:	0c                   	.byte 0xc