general protection fault, probably for non-canonical address 0xdffffc0040000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000200000010-0x0000000200000017]
CPU: 2 PID: 14177 Comm: syz-executor.2 Not tainted 6.3.0-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:rb_next+0xcc/0x150 lib/rbtree.c:505
Code: 75 75 4c 8b 23 48 89 dd 4c 89 e3 48 83 e3 fc 75 cb 48 83 c4 08 5b 5d 41 5c 41 5d c3 48 89 d0 48 8d 78 10 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 75 26 48 8b 50 10 48 85 d2 75 e3 48 83 c4 08 5b 5d 41
RSP: 0018:ffffc90000790da8 EFLAGS: 00010002
RAX: 0000000200000001 RBX: dffffc0000000000 RCX: 0000000000000100
RDX: 0000000040000002 RSI: ffffffff89f1771c RDI: 0000000200000011
RBP: ffff888054a47260 R08: 0000000000000006 R09: 0000000100040048
R10: ffff888054a47260 R11: 0000000000000001 R12: 0000000100040048
R13: dffffc0000000000 R14: ffff88802c82b800 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc50321f40 CR3: 000000002426e000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
rb_erase_cached include/linux/rbtree.h:124 [inline]
timerqueue_del+0xd4/0x140 lib/timerqueue.c:57
__remove_hrtimer+0xa1/0x2a0 kernel/time/hrtimer.c:1116
__run_hrtimer kernel/time/hrtimer.c:1665 [inline]
__hrtimer_run_queues+0x4e0/0xbe0 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x17f/0x360 kernel/time/hrtimer.c:1766
__do_softirq+0x1d4/0x905 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x114/0x190 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 90 f3 0f 1e fa 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 2a 6c 61 f7 48 89 ef e8 c2 d8 61 f7 e8 fd 37 86 f7 fb bf 01 00 00 00 <e8> b2 10 54 f7 65 8b 05 63 57 01 76 85 c0 74 02 5d c3 e8 d0 23 fe
RSP: 0018:ffffc900037ff598 EFLAGS: 00000206
RAX: 000000000000e4db RBX: 0000000000000001 RCX: 1ffffffff2299d86
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffff888026867640 R08: 0000000000000001 R09: ffffffff914c8b8f
R10: 0000000000000001 R11: 0000000000000000 R12: ffff888026867638
R13: ffff888026867638 R14: ffff888026867640 R15: 0000000000000003
spin_unlock_irq include/linux/spinlock.h:400 [inline]
filemap_remove_folio+0x164/0x3f0 mm/filemap.c:258
truncate_inode_folio+0x4c/0x70 mm/truncate.c:196
shmem_undo_range+0x33e/0x1340 mm/shmem.c:942
shmem_truncate_range mm/shmem.c:1041 [inline]
shmem_evict_inode+0x32f/0xb60 mm/shmem.c:1156
evict+0x2ed/0x6b0 fs/inode.c:665
iput_final fs/inode.c:1748 [inline]
iput.part.0+0x50a/0x740 fs/inode.c:1774
iput+0x5c/0x80 fs/inode.c:1764
dentry_unlink_inode+0x2b1/0x460 fs/dcache.c:401
__dentry_kill+0x3c0/0x640 fs/dcache.c:607
dentry_kill fs/dcache.c:733 [inline]
dput+0x865/0xe10 fs/dcache.c:913
__fput+0x3cc/0xa90 fs/file_table.c:329
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xad3/0x2960 kernel/exit.c:869
do_group_exit+0xd4/0x2a0 kernel/exit.c:1019
get_signal+0x2315/0x25b0 kernel/signal.c:2859
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f49aae8c169
Code: Unable to access opcode bytes at 0x7f49aae8c13f.
RSP: 002b:00007f49abc35218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f49aafabf88 RCX: 00007f49aae8c169
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f49aafabf88
RBP: 00007f49aafabf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f49aafabf8c
R13: 00007fff05263a7f R14: 00007f49abc35300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rb_next+0xcc/0x150 lib/rbtree.c:505
Code: 75 75 4c 8b 23 48 89 dd 4c 89 e3 48 83 e3 fc 75 cb 48 83 c4 08 5b 5d 41 5c 41 5d c3 48 89 d0 48 8d 78 10 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 75 26 48 8b 50 10 48 85 d2 75 e3 48 83 c4 08 5b 5d 41
RSP: 0018:ffffc90000790da8 EFLAGS: 00010002
RAX: 0000000200000001 RBX: dffffc0000000000 RCX: 0000000000000100
RDX: 0000000040000002 RSI: ffffffff89f1771c RDI: 0000000200000011
RBP: ffff888054a47260 R08: 0000000000000006 R09: 0000000100040048
R10: ffff888054a47260 R11: 0000000000000001 R12: 0000000100040048
R13: dffffc0000000000 R14: ffff88802c82b800 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc50321f40 CR3: 000000002426e000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 75 75 jne 0x77
2: 4c 8b 23 mov (%rbx),%r12
5: 48 89 dd mov %rbx,%rbp
8: 4c 89 e3 mov %r12,%rbx
b: 48 83 e3 fc and $0xfffffffffffffffc,%rbx
f: 75 cb jne 0xffffffdc
11: 48 83 c4 08 add $0x8,%rsp
15: 5b pop %rbx
16: 5d pop %rbp
17: 41 5c pop %r12
19: 41 5d pop %r13
1b: c3 retq
1c: 48 89 d0 mov %rdx,%rax
1f: 48 8d 78 10 lea 0x10(%rax),%rdi
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 1a 00 cmpb $0x0,(%rdx,%rbx,1) <-- trapping instruction
2e: 75 26 jne 0x56
30: 48 8b 50 10 mov 0x10(%rax),%rdx
34: 48 85 d2 test %rdx,%rdx
37: 75 e3 jne 0x1c
39: 48 83 c4 08 add $0x8,%rsp
3d: 5b pop %rbx
3e: 5d pop %rbp
3f: 41 rex.B