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: 1337 Comm: syz.5.253 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:__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+0x74b/0xb60 kernel/time/timer.c:1817 Code: 89 ef e8 88 d8 3c 00 4d 89 65 00 4d 85 e4 74 2e e8 aa dd 0e 00 49 83 c4 08 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 57 d8 3c 00 4d 89 2c 24 eb 05 e8 7c RSP: 0018:ffff8881f6f09d40 EFLAGS: 00010802 RAX: 1bd5a00000000025 RBX: 1ffff110381a1e39 RCX: dffffc0000000000 RDX: 0000000000000101 RSI: 0000000000000004 RDI: ffff8881f6f09cc0 RBP: ffff8881f6f09eb8 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103ede1398 R11: 1ffff1103ede1398 R12: dead00000000012a R13: ffff8881f6f09e00 R14: ffff8881c0d0f1c8 R15: 1ffff110381a1e38 FS: 00007f6fe3e156c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7c2047f1b8 CR3: 00000001cfdf3000 CR4: 00000000003406a0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 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:update_stack_state+0x416/0x4c0 include/linux/compiler.h:268 Code: 7d c0 e8 fd fb ff ff 48 8b 5d c8 eb 1d 48 8b 5d c0 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 ed d1 5f 00 48 8b 1b <4c> 8b 75 a0 49 83 c6 48 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 RSP: 0018:ffff8881f51eecd8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffff1103ea3dedf RBX: ffffffff835ff954 RCX: ffff8881f51ef701 RDX: ffff8881f51ef6f0 RSI: 1ffff1103ea3ddca RDI: ffff8881f51eeea0 RBP: ffff8881f51eeda8 R08: dffffc0000000000 R09: ffff8881f51eee48 R10: ffffed103ea3ddd5 R11: 1ffff1103ea3ddc9 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff8881f51eee70 R15: 1ffff1103ea3ddd1 unwind_next_frame+0x3f7/0x760 arch/x86/kernel/unwind_frame.c:311 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xaa/0xf0 kernel/stacktrace.c:123 save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] __kasan_kmalloc+0x162/0x200 mm/kasan/common.c:529 kasan_slab_alloc+0x12/0x20 mm/kasan/common.c:537 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2829 [inline] slab_alloc mm/slub.c:2837 [inline] kmem_cache_alloc+0xe2/0x270 mm/slub.c:2842 kmem_cache_zalloc include/linux/slab.h:680 [inline] __kernfs_new_node+0xdb/0x630 fs/kernfs/dir.c:639 kernfs_new_node+0x150/0x260 fs/kernfs/dir.c:717 __kernfs_create_file+0x4e/0x270 fs/kernfs/file.c:1001 sysfs_add_file_mode_ns+0x29a/0x350 fs/sysfs/file.c:306 create_files fs/sysfs/group.c:63 [inline] internal_create_group+0x489/0xcf0 fs/sysfs/group.c:148 internal_create_groups fs/sysfs/group.c:188 [inline] sysfs_create_groups+0x58/0x120 fs/sysfs/group.c:214 device_add_groups drivers/base/core.c:2007 [inline] device_add_attrs+0x8c/0x530 drivers/base/core.c:2155 device_add+0x56d/0xc90 drivers/base/core.c:2862 netdev_register_kobject+0x179/0x320 net/core/net-sysfs.c:1854 register_netdevice+0xbd4/0x12a0 net/core/dev.c:9209 ip6gre_tunnel_locate+0x2b0/0x820 net/ipv6/ip6_gre.c:381 ip6gre_tunnel_ioctl+0xb94/0xe20 net/ipv6/ip6_gre.c:1305 dev_ifsioc+0x6a1/0xa40 net/core/dev_ioctl.c:311 dev_ioctl+0x5ea/0xb80 net/core/dev_ioctl.c:508 sock_ioctl+0x6a1/0x710 net/socket.c:1112 do_vfs_ioctl+0x753/0x13f0 fs/ioctl.c:47 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xe1/0x120 fs/ioctl.c:747 do_syscall_64+0xcf/0x170 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f6fe57ac969 Code: ff ff c3 66 2e 0f 1f 84 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 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6fe3e15038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6fe59d3fa0 RCX: 00007f6fe57ac969 RDX: 0000200000000080 RSI: 00000000000089f1 RDI: 0000000000000005 RBP: 00007f6fe582eab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6fe59d3fa0 R15: 00007ffda8b3e5d8 Modules linked in: ---[ end trace c9cf7f885d8d0b55 ]--- 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+0x74b/0xb60 kernel/time/timer.c:1817 Code: 89 ef e8 88 d8 3c 00 4d 89 65 00 4d 85 e4 74 2e e8 aa dd 0e 00 49 83 c4 08 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 57 d8 3c 00 4d 89 2c 24 eb 05 e8 7c RSP: 0018:ffff8881f6f09d40 EFLAGS: 00010802 RAX: 1bd5a00000000025 RBX: 1ffff110381a1e39 RCX: dffffc0000000000 RDX: 0000000000000101 RSI: 0000000000000004 RDI: ffff8881f6f09cc0 RBP: ffff8881f6f09eb8 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103ede1398 R11: 1ffff1103ede1398 R12: dead00000000012a R13: ffff8881f6f09e00 R14: ffff8881c0d0f1c8 R15: 1ffff110381a1e38 FS: 00007f6fe3e156c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7c2047f1b8 CR3: 00000001cfdf3000 CR4: 00000000003406a0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 89 ef mov %ebp,%edi 2: e8 88 d8 3c 00 call 0x3cd88f 7: 4d 89 65 00 mov %r12,0x0(%r13) b: 4d 85 e4 test %r12,%r12 e: 74 2e je 0x3e 10: e8 aa dd 0e 00 call 0xeddbf 15: 49 83 c4 08 add $0x8,%r12 19: 4c 89 e0 mov %r12,%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 e7 mov %r12,%rdi 33: e8 57 d8 3c 00 call 0x3cd88f 38: 4d 89 2c 24 mov %r13,(%r12) 3c: eb 05 jmp 0x43 3e: e8 .byte 0xe8 3f: 7c .byte 0x7c