general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 PID: 7963 Comm: syz-executor.0 Not tainted 6.8.0-syzkaller-05204-g237bb5f7f7f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:rose_transmit_link+0x32/0x6f0 net/rose/rose_link.c:266 Code: 56 41 55 41 54 53 48 83 ec 28 48 89 f5 49 89 fc 49 bf 00 00 00 00 00 fc ff df e8 49 e0 3a f7 48 8d 5d 32 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 4c 05 00 00 0f b6 1b 31 ff 89 de e8 25 RSP: 0018:ffffc90004f67920 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000032 RCX: 0000000000040000 RDX: ffffc9000c40a000 RSI: 0000000000000a47 RDI: 0000000000000a48 RBP: 0000000000000000 R08: 0000000000000005 R09: ffffffff8a5a9f2c R10: 0000000000000008 R11: ffff888081e30000 R12: ffff88803331e000 R13: 1ffff920009ecf3c R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fe5d2dff6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000f000 CR3: 0000000037790000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_write_internal+0x1498/0x1f00 net/rose/rose_subr.c:198 rose_release+0x29e/0x5a0 net/rose/af_rose.c:671 __sock_release net/socket.c:659 [inline] sock_close+0xbc/0x240 net/socket.c:1421 __fput+0x429/0x8a0 fs/file_table.c:423 task_work_run+0x24f/0x310 kernel/task_work.c:180 get_signal+0x1673/0x1850 kernel/signal.c:2683 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0xc9/0x360 kernel/entry/common.c:212 do_syscall_64+0x10a/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fe5d3a7dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe5d2dff0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: 0000000000000000 RBX: 00007fe5d3babf80 RCX: 00007fe5d3a7dda9 RDX: 0000000000000040 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007fe5d3aca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe5d3babf80 R15: 00007fff58e44e08 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:rose_transmit_link+0x32/0x6f0 net/rose/rose_link.c:266 Code: 56 41 55 41 54 53 48 83 ec 28 48 89 f5 49 89 fc 49 bf 00 00 00 00 00 fc ff df e8 49 e0 3a f7 48 8d 5d 32 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 4c 05 00 00 0f b6 1b 31 ff 89 de e8 25 RSP: 0018:ffffc90004f67920 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000032 RCX: 0000000000040000 RDX: ffffc9000c40a000 RSI: 0000000000000a47 RDI: 0000000000000a48 RBP: 0000000000000000 R08: 0000000000000005 R09: ffffffff8a5a9f2c R10: 0000000000000008 R11: ffff888081e30000 R12: ffff88803331e000 R13: 1ffff920009ecf3c R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fe5d2dff6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c825000 CR3: 0000000037790000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 56 push %rsi 1: 41 55 push %r13 3: 41 54 push %r12 5: 53 push %rbx 6: 48 83 ec 28 sub $0x28,%rsp a: 48 89 f5 mov %rsi,%rbp d: 49 89 fc mov %rdi,%r12 10: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 17: fc ff df 1a: e8 49 e0 3a f7 call 0xf73ae068 1f: 48 8d 5d 32 lea 0x32(%rbp),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 4c 05 00 00 jne 0x583 37: 0f b6 1b movzbl (%rbx),%ebx 3a: 31 ff xor %edi,%edi 3c: 89 de mov %ebx,%esi 3e: e8 .byte 0xe8 3f: 25 .byte 0x25