general protection fault, probably for non-canonical address 0xdffffc000000006a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000350-0x0000000000000357] CPU: 1 PID: 25211 Comm: syz-executor.3 Not tainted 5.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rose_send_frame+0x1dd/0x2f0 net/rose/rose_link.c:101 Code: 48 c1 ea 03 80 3c 02 00 0f 85 06 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b 20 48 8d bd 50 03 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ea 00 00 00 4c 8b bd 50 03 00 00 e9 77 fe ff ff RSP: 0018:ffffc90000da8b18 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888214e11800 RCX: ffffffff8714d3e3 RDX: 000000000000006a RSI: ffffffff8714d552 RDI: 0000000000000350 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88809ed1f4e3 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888214e11800 R13: 0000000000000078 R14: ffff8880a666a940 R15: 0000000000000010 FS: 00007f0445fc3700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0445f80db8 CR3: 0000000061caa000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_transmit_clear_request+0x1d5/0x290 net/rose/rose_link.c:255 rose_rx_call_request+0x4bd/0x1978 net/rose/af_rose.c:998 rose_loopback_timer+0x15d/0x470 net/rose/rose_loopback.c:100 call_timer_fn+0x1ac/0x760 kernel/time/timer.c:1415 expire_timers kernel/time/timer.c:1460 [inline] __run_timers.part.0+0x54c/0xa20 kernel/time/timer.c:1784 __run_timers kernel/time/timer.c:1756 [inline] run_timer_softirq+0xae/0x1a0 kernel/time/timer.c:1797 __do_softirq+0x34c/0xa60 kernel/softirq.c:292 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x111/0x170 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:387 [inline] __irq_exit_rcu kernel/softirq.c:417 [inline] irq_exit_rcu+0x229/0x270 kernel/softirq.c:429 sysvec_apic_timer_interrupt+0x54/0x120 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:585 RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:46 [inline] RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:348 [inline] RIP: 0010:deref_stack_reg+0x24/0x150 arch/x86/kernel/unwind_orc.c:358 Code: 0c 24 eb 9d 66 90 48 b8 00 00 00 00 00 fc ff df 41 55 41 54 49 89 fc 55 48 89 f5 53 48 89 d3 48 89 fa 48 c1 ea 03 48 83 ec 08 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e d7 00 00 00 41 8b 04 24 85 c0 RSP: 0018:ffffc90004957380 EFLAGS: 00000282 RAX: dffffc0000000000 RBX: ffffc900049574d0 RCX: ffffffff8b264b1f RDX: 1ffff9200092ae91 RSI: ffffc90004957f38 RDI: ffffc90004957488 RBP: ffffc90004957f38 R08: ffffffff8b264b1a R09: ffffffff8b264b1e R10: 000000000007201e R11: 0000000000000001 R12: ffffc90004957488 R13: ffffc900049574bd R14: ffffc900049574d8 R15: ffffc90004957488 unwind_next_frame+0xc3b/0x1f90 arch/x86/kernel/unwind_orc.c:537 arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:123 save_stack+0x1b/0x40 mm/kasan/common.c:48 set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc2/0xd0 mm/kasan/common.c:494 slab_post_alloc_hook mm/slab.h:586 [inline] slab_alloc mm/slab.c:3320 [inline] kmem_cache_alloc+0x12c/0x3b0 mm/slab.c:3484 kmem_cache_zalloc include/linux/slab.h:659 [inline] __kernfs_new_node+0xd4/0x880 fs/kernfs/dir.c:627 kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:689 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:1001 sysfs_add_file_mode_ns+0x226/0x540 fs/sysfs/file.c:305 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x328/0xb20 fs/sysfs/group.c:149 internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:189 internal_create_groups fs/sysfs/group.c:185 [inline] sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:215 device_add_groups drivers/base/core.c:1803 [inline] device_add_attrs drivers/base/core.c:1962 [inline] device_add+0x12b3/0x1be0 drivers/base/core.c:2651 netdev_register_kobject+0x17d/0x3b0 net/core/net-sysfs.c:1888 register_netdevice+0xd29/0x1540 net/core/dev.c:9531 __tun_chr_ioctl.isra.0+0x2c09/0x41b0 drivers/net/tun.c:2819 vfs_ioctl fs/ioctl.c:48 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:753 __do_sys_ioctl fs/ioctl.c:762 [inline] __se_sys_ioctl fs/ioctl.c:760 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:760 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cc79 Code: 2d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f0445fc2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000019100 RCX: 000000000045cc79 RDX: 00000000200000c0 RSI: 00000000400454ca RDI: 0000000000000003 RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffd25a7902f R14: 00007f0445fc39c0 R15: 000000000078bf0c Modules linked in: ---[ end trace 54f427ec1441e8db ]--- RIP: 0010:rose_send_frame+0x1dd/0x2f0 net/rose/rose_link.c:101 Code: 48 c1 ea 03 80 3c 02 00 0f 85 06 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b 20 48 8d bd 50 03 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ea 00 00 00 4c 8b bd 50 03 00 00 e9 77 fe ff ff RSP: 0018:ffffc90000da8b18 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888214e11800 RCX: ffffffff8714d3e3 RDX: 000000000000006a RSI: ffffffff8714d552 RDI: 0000000000000350 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88809ed1f4e3 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888214e11800 R13: 0000000000000078 R14: ffff8880a666a940 R15: 0000000000000010 FS: 00007f0445fc3700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0445f80db8 CR3: 0000000061caa000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400