==================================================================
BUG: KASAN: use-after-free in hlist_move_list include/linux/list.h:843 [inline]
BUG: KASAN: use-after-free in __collect_expired_timers kernel/time/timer.c:1470 [inline]
BUG: KASAN: use-after-free in collect_expired_timers kernel/time/timer.c:1705 [inline]
BUG: KASAN: use-after-free in __run_timers+0x55e/0x7b0 kernel/time/timer.c:1769
Write of size 8 at addr ffff8881d423f188 by task swapper/0/0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.51-syzkaller-00093-g9de16c6eb7c3 #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+0x14a/0x1ce lib/dump_stack.c:118
print_address_description+0x93/0x620 mm/kasan/report.c:374
__kasan_report+0x16d/0x1e0 mm/kasan/report.c:506
kasan_report+0x36/0x60 mm/kasan/common.c:634
hlist_move_list include/linux/list.h:843 [inline]
__collect_expired_timers kernel/time/timer.c:1470 [inline]
collect_expired_timers kernel/time/timer.c:1705 [inline]
__run_timers+0x55e/0x7b0 kernel/time/timer.c:1769
run_timer_softirq+0x19/0x30 kernel/time/timer.c:1786
__do_softirq+0x2d5/0x725 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:373 [inline]
irq_exit+0x16d/0x180 kernel/softirq.c:413
exiting_irq arch/x86/include/asm/apic.h:546 [inline]
smp_apic_timer_interrupt+0x281/0x3f0 arch/x86/kernel/apic/apic.c:1146
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:831
RIP: 0010:default_idle+0x1f/0x30 arch/x86/kernel/process.c:573
Code: ff e8 d5 d6 41 fd 90 90 90 90 90 65 8b 35 51 06 2a 7c bf 01 00 00 00 e8 cf 62 30 fd e9 07 00 00 00 0f 00 2d 2b f3 48 00 fb f4 <65> 8b 35 32 06 2a 7c bf ff ff ff ff e9 b0 62 30 fd 41 57 41 56 53
RSP: 0018:ffffffff84c07d18 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 73716c2e6352d301 RBX: ffffffff84c14980 RCX: ffffffff8124c720
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffffff84c07e20 R08: dffffc0000000000 R09: fffffbfff0982931
R10: fffffbfff0982931 R11: 0000000000000000 R12: ffffffff84d91160
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffffffff0982930
default_idle_call kernel/sched/idle.c:94 [inline]
cpuidle_idle_call kernel/sched/idle.c:154 [inline]
do_idle+0x209/0x5e0 kernel/sched/idle.c:263
cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:355
start_kernel+0x7a3/0x873 init/main.c:784
secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:241
The buggy address belongs to the page:
page:ffffea0007508fc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0
flags: 0x8000000000000000()
raw: 8000000000000000 0000000000000000 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff8881d423f080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff8881d423f100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff8881d423f180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff8881d423f200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff8881d423f280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
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: 0 Comm: swapper/0 Tainted: G B 5.4.51-syzkaller-00093-g9de16c6eb7c3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__hlist_del include/linux/list.h:764 [inline]
RIP: 0010:detach_timer kernel/time/timer.c:815 [inline]
RIP: 0010:expire_timers+0x284/0x470 kernel/time/timer.c:1438
Code: 89 e7 e8 2f 31 3d 00 4d 89 3c 24 4d 85 ff 74 36 e8 31 02 0f 00 49 83 c7 08 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ff e8 fe 30 3d 00 4d 89 27 eb 0e 66 0f 1f
RSP: 0018:ffff8881db809c50 EFLAGS: 00010802
RAX: 1bd5a00000000025 RBX: ffff8881db823708 RCX: dffffc0000000000
RDX: 0000000080000102 RSI: 0000000000000008 RDI: ffff8881d423f188
RBP: 1ffff1103a847e31 R08: ffffffff8132fb49 R09: fffffbfff0ac35e9
R10: fffffbfff0ac35e9 R11: 0000000000000000 R12: ffff8881db809d80
R13: ffff8881d423f180 R14: ffff8881d423f188 R15: dead00000000012a
FS: 0000000000000000(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005637b9ed68d0 CR3: 000000019bc74001 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__run_timers+0x662/0x7b0 kernel/time/timer.c:1773
run_timer_softirq+0x19/0x30 kernel/time/timer.c:1786
__do_softirq+0x2d5/0x725 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:373 [inline]
irq_exit+0x16d/0x180 kernel/softirq.c:413
exiting_irq arch/x86/include/asm/apic.h:546 [inline]
smp_apic_timer_interrupt+0x281/0x3f0 arch/x86/kernel/apic/apic.c:1146
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:831
RIP: 0010:default_idle+0x1f/0x30 arch/x86/kernel/process.c:573
Code: ff e8 d5 d6 41 fd 90 90 90 90 90 65 8b 35 51 06 2a 7c bf 01 00 00 00 e8 cf 62 30 fd e9 07 00 00 00 0f 00 2d 2b f3 48 00 fb f4 <65> 8b 35 32 06 2a 7c bf ff ff ff ff e9 b0 62 30 fd 41 57 41 56 53
RSP: 0018:ffffffff84c07d18 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 73716c2e6352d301 RBX: ffffffff84c14980 RCX: ffffffff8124c720
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffffff84c07e20 R08: dffffc0000000000 R09: fffffbfff0982931
R10: fffffbfff0982931 R11: 0000000000000000 R12: ffffffff84d91160
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffffffff0982930
default_idle_call kernel/sched/idle.c:94 [inline]
cpuidle_idle_call kernel/sched/idle.c:154 [inline]
do_idle+0x209/0x5e0 kernel/sched/idle.c:263
cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:355
start_kernel+0x7a3/0x873 init/main.c:784
secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:241
Modules linked in:
---[ end trace 738202cb87ecc605 ]---
RIP: 0010:__hlist_del include/linux/list.h:764 [inline]
RIP: 0010:detach_timer kernel/time/timer.c:815 [inline]
RIP: 0010:expire_timers+0x284/0x470 kernel/time/timer.c:1438
Code: 89 e7 e8 2f 31 3d 00 4d 89 3c 24 4d 85 ff 74 36 e8 31 02 0f 00 49 83 c7 08 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 ff e8 fe 30 3d 00 4d 89 27 eb 0e 66 0f 1f
RSP: 0018:ffff8881db809c50 EFLAGS: 00010802
RAX: 1bd5a00000000025 RBX: ffff8881db823708 RCX: dffffc0000000000
RDX: 0000000080000102 RSI: 0000000000000008 RDI: ffff8881d423f188
RBP: 1ffff1103a847e31 R08: ffffffff8132fb49 R09: fffffbfff0ac35e9
R10: fffffbfff0ac35e9 R11: 0000000000000000 R12: ffff8881db809d80
R13: ffff8881d423f180 R14: ffff8881d423f188 R15: dead00000000012a
FS: 0000000000000000(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005637b9ed68d0 CR3: 000000019bc74001 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400