general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 1 PID: 9179 Comm: syz-executor.0 Not tainted 6.3.0-rc4-syzkaller-00176-g2584024b2355 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:rose_transmit_link+0x32/0x5e0 net/rose/rose_link.c:266 Code: 41 55 41 54 49 89 fc 55 48 89 f5 53 48 83 ec 08 e8 23 5b 81 f8 48 8d 7d 32 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 ce 04 00 00 RSP: 0000:ffffc90005c27930 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88802a180f5a RCX: 0000000000000000 RDX: 0000000000000006 RSI: ffffffff89017d2d RDI: 0000000000000032 RBP: 0000000000000000 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000013 R11: 0000000000094001 R12: ffff8880638e6c80 R13: 0000000000000010 R14: 0000000000000013 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9b9d763ff8 CR3: 000000001c4b0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_write_internal+0x301/0x1810 net/rose/rose_subr.c:198 rose_release+0x1be/0x570 net/rose/af_rose.c:645 __sock_release+0xcd/0x290 net/socket.c:653 sock_close+0x1c/0x20 net/socket.c:1395 __fput+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xad3/0x2960 kernel/exit.c:869 do_group_exit+0xd4/0x2a0 kernel/exit.c:1019 get_signal+0x2315/0x25b0 kernel/signal.c:2859 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcaefe3e284 Code: Unable to access opcode bytes at 0x7fcaefe3e25a. RSP: 002b:00007fcaf0bed090 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: fffffffffffffffe RBX: 00007fcaeffac050 RCX: 00007fcaefe3e284 RDX: 0000000000000000 RSI: 00007fcaefee69fb RDI: 00000000ffffff9c RBP: 00007fcaefee69fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffca61f1daf R14: 00007fcaf0bed300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:rose_transmit_link+0x32/0x5e0 net/rose/rose_link.c:266 Code: 41 55 41 54 49 89 fc 55 48 89 f5 53 48 83 ec 08 e8 23 5b 81 f8 48 8d 7d 32 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 ce 04 00 00 RSP: 0000:ffffc90005c27930 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88802a180f5a RCX: 0000000000000000 RDX: 0000000000000006 RSI: ffffffff89017d2d RDI: 0000000000000032 RBP: 0000000000000000 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000013 R11: 0000000000094001 R12: ffff8880638e6c80 R13: 0000000000000010 R14: 0000000000000013 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020403000 CR3: 0000000048e4d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 55 push %r13 2: 41 54 push %r12 4: 49 89 fc mov %rdi,%r12 7: 55 push %rbp 8: 48 89 f5 mov %rsi,%rbp b: 53 push %rbx c: 48 83 ec 08 sub $0x8,%rsp 10: e8 23 5b 81 f8 callq 0xf8815b38 15: 48 8d 7d 32 lea 0x32(%rbp),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 48 89 fa mov %rdi,%rdx 31: 83 e2 07 and $0x7,%edx 34: 38 d0 cmp %dl,%al 36: 7f 08 jg 0x40 38: 84 c0 test %al,%al 3a: 0f 85 ce 04 00 00 jne 0x50e