general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 PID: 21445 Comm: syz-executor.0 Not tainted 6.7.0-rc5-syzkaller-01533-g3ab5720881a9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:rose_transmit_link+0x32/0x600 net/rose/rose_link.c:266 Code: 41 55 41 54 55 48 89 fd 53 48 89 f3 48 83 ec 08 e8 03 1c 13 f8 48 8d 7b 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 e0 04 00 00 RSP: 0000:ffffc90005277a40 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8975091f RDX: 0000000000000006 RSI: ffffffff8974819d RDI: 0000000000000032 RBP: ffff88801ea5adc0 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000013 R11: 0000000000000002 R12: ffff88802d6a555a R13: 0000000000000010 R14: 0000000000000001 R15: ffff8880391f6000 FS: 00007f449a6176c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcd76f9c000 CR3: 0000000041d8c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_write_internal+0x2f7/0x1840 net/rose/rose_subr.c:198 rose_release+0x1c0/0x570 net/rose/af_rose.c:645 __sock_release+0xae/0x260 net/socket.c:659 sock_close+0x1c/0x20 net/socket.c:1419 __fput+0x270/0xbb0 fs/file_table.c:394 task_work_run+0x14d/0x240 kernel/task_work.c:180 get_signal+0x106f/0x2790 kernel/signal.c:2680 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x121/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f449987cce9 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:00007f449a6170c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: 0000000000000000 RBX: 00007f449999bf80 RCX: 00007f449987cce9 RDX: 0000000000000040 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f44998c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f449999bf80 R15: 00007ffe0185db18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:rose_transmit_link+0x32/0x600 net/rose/rose_link.c:266 Code: 41 55 41 54 55 48 89 fd 53 48 89 f3 48 83 ec 08 e8 03 1c 13 f8 48 8d 7b 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 e0 04 00 00 RSP: 0000:ffffc90005277a40 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8975091f RDX: 0000000000000006 RSI: ffffffff8974819d RDI: 0000000000000032 RBP: ffff88801ea5adc0 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000013 R11: 0000000000000002 R12: ffff88802d6a555a R13: 0000000000000010 R14: 0000000000000001 R15: ffff8880391f6000 FS: 00007f449a6176c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c016aa4000 CR3: 0000000041d8c000 CR4: 00000000003506f0 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: 55 push %rbp 5: 48 89 fd mov %rdi,%rbp 8: 53 push %rbx 9: 48 89 f3 mov %rsi,%rbx c: 48 83 ec 08 sub $0x8,%rsp 10: e8 03 1c 13 f8 call 0xf8131c18 15: 48 8d 7b 32 lea 0x32(%rbx),%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 e0 04 00 00 jne 0x520