BUG: unable to handle page fault for address: ffffffff81938764
#PF: supervisor write access in kernel mode
#PF: error_code(0x0003) - permissions violation
PGD 5e11067 P4D 5e11067 PUD 5e12063 PMD 18001e1
Oops: 0003 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 2974 Comm: syz.3.681 Not tainted 5.4.290-syzkaller-00017-g6b07fcd94a6a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:__hlist_del include/linux/list.h:791 [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+0x7be/0xbe0 kernel/time/timer.c:1817
Code: 74 2e e8 a5 66 0f 00 49 83 c5 08 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 32 51 3f 00 <4d> 89 65 00 eb 05 e8 77 66 0f 00 49 bd 00 00 00 00 00 fc ff df 42
RSP: 0018:ffff8881f6e09d60 EFLAGS: 00010046
RAX: 1ffffffff03270ec RBX: 1ffff1103c8bde39 RCX: dffffc0000000000
RDX: 0000000080000102 RSI: 0000000000000004 RDI: ffff8881f6e09ce0
RBP: ffff8881f6e09ec8 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881f6e09e20
R13: ffffffff81938764 R14: 1ffff1103c8bde38 R15: ffff8881e45ef1c8
FS: 00007f709973f6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff81938764 CR3: 00000001e0dc0000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830
__do_softirq+0x23b/0x6b7 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:373 [inline]
irq_exit+0x195/0x1c0 kernel/softirq.c:413
exiting_irq arch/x86/include/asm/apic.h:539 [inline]
smp_apic_timer_interrupt+0x11a/0x490 arch/x86/kernel/apic/apic.c:1161
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x45/0x60 kernel/locking/spinlock.c:199
Code: 08 00 74 0c 48 c7 c7 90 3c eb 85 e8 55 03 3d fd 48 83 3d ad 0a 94 01 00 74 29 48 89 df e8 a3 d5 f4 fc 66 90 fb bf 01 00 00 00 d6 bf ed fc 65 8b 05 8b 5b ab 7b 85 c0 74 02 5b c3 e8 14 22 a9
RSP: 0018:ffff8881f2ef6c30 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffff8881e0f3cfc8 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff8881f2ef6db0 R08: ffffffff8231cd01 R09: fffffbfff0bc188d
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 1ffff1103e5deda2 R14: dffffc0000000000 R15: ffff8881f2ef6d00
spin_unlock_irq include/linux/spinlock.h:388 [inline]
shmem_add_to_page_cache+0xa15/0xcb0 mm/shmem.c:652
shmem_getpage_gfp+0x118f/0x2440 mm/shmem.c:1890
shmem_getpage mm/shmem.c:154 [inline]
shmem_write_begin+0xc9/0x1a0 mm/shmem.c:2447
generic_perform_write+0x2c7/0x560 mm/filemap.c:3450
__generic_file_write_iter+0x224/0x530 mm/filemap.c:3579
generic_file_write_iter+0x455/0x5f0 mm/filemap.c:3611
call_write_iter include/linux/fs.h:1991 [inline]
new_sync_write fs/read_write.c:483 [inline]
__vfs_write+0x5d3/0x750 fs/read_write.c:496
__kernel_write+0x10f/0x350 fs/read_write.c:515
dump_emit+0x213/0x350 fs/coredump.c:838
elf_core_dump+0x3e1b/0x4740 fs/binfmt_elf.c:2352
do_coredump+0x20fb/0x2f00 fs/coredump.c:801
get_signal+0xd83/0x1440 kernel/signal.c:2732
do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809
exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159
prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194
ret_from_intr+0x1c/0x1c
RIP: 0033:0x7f709b0f6171
Code: 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 48 3d 01 f0 ff ff 73 01 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:0000000000000010 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f709b30f080 RCX: 00007f709b0f6169
RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000000
RBP: 00007f709b1772a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f709b30f080 R15: 00007ffcba41b5d8
Modules linked in:
CR2: ffffffff81938764
---[ end trace 56436fa38319c123 ]---
RIP: 0010:__hlist_del include/linux/list.h:791 [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+0x7be/0xbe0 kernel/time/timer.c:1817
Code: 74 2e e8 a5 66 0f 00 49 83 c5 08 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 32 51 3f 00 <4d> 89 65 00 eb 05 e8 77 66 0f 00 49 bd 00 00 00 00 00 fc ff df 42
RSP: 0018:ffff8881f6e09d60 EFLAGS: 00010046
RAX: 1ffffffff03270ec RBX: 1ffff1103c8bde39 RCX: dffffc0000000000
RDX: 0000000080000102 RSI: 0000000000000004 RDI: ffff8881f6e09ce0
RBP: ffff8881f6e09ec8 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881f6e09e20
R13: ffffffff81938764 R14: 1ffff1103c8bde38 R15: ffff8881e45ef1c8
FS: 00007f709973f6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff81938764 CR3: 00000001e0dc0000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess):
0: 74 2e je 0x30
2: e8 a5 66 0f 00 call 0xf66ac
7: 49 83 c5 08 add $0x8,%r13
b: 4c 89 e8 mov %r13,%rax
e: 48 c1 e8 03 shr $0x3,%rax
12: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
19: fc ff df
1c: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1)
20: 74 08 je 0x2a
22: 4c 89 ef mov %r13,%rdi
25: e8 32 51 3f 00 call 0x3f515c
* 2a: 4d 89 65 00 mov %r12,0x0(%r13) <-- trapping instruction
2e: eb 05 jmp 0x35
30: e8 77 66 0f 00 call 0xf66ac
35: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13
3c: fc ff df
3f: 42 rex.X