general protection fault, probably for non-canonical address 0xdffffc0000000071: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000388-0x000000000000038f] CPU: 0 PID: 9789 Comm: syz.2.1267 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:rose_link_up net/rose/rose_link.c:124 [inline] RIP: 0010:rose_transmit_link+0xd5/0x730 net/rose/rose_link.c:271 Code: e8 03 80 3c 08 00 74 08 4c 89 f7 e8 85 72 02 f9 41 bf 88 03 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df <42> 80 3c 30 00 74 08 4c 89 ff e8 5c 72 02 f9 4d 8b 2f 4c 89 24 24 RSP: 0018:ffffc9000301faf0 EFLAGS: 00010206 RAX: 0000000000000071 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc90017c05000 RSI: 00000000000000ce RDI: 00000000000000cf RBP: ffff88805e90f400 R08: dffffc0000000000 R09: ffffed100be8cd18 R10: ffffed100be8cd18 R11: 1ffff1100be8cd17 R12: ffff88802b771c80 R13: ffffffff964911e0 R14: dffffc0000000000 R15: 0000000000000388 FS: 00007f31a055b6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c217ff8 CR3: 0000000061779000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: rose_write_internal+0x673/0x1e80 net/rose/rose_subr.c:198 rose_connect+0xacd/0x1370 net/rose/af_rose.c:875 __sys_connect_file net/socket.c:1923 [inline] __sys_connect+0x389/0x410 net/socket.c:1940 __do_sys_connect net/socket.c:1950 [inline] __se_sys_connect net/socket.c:1947 [inline] __x64_sys_connect+0x76/0x80 net/socket.c:1947 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f31a2714929 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:00007f31a055b038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f31a293c080 RCX: 00007f31a2714929 RDX: 0000000000000040 RSI: 00002000000000c0 RDI: 0000000000000008 RBP: 00007f31a2796b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f31a293c080 R15: 00007ffd28e3ce18 Modules linked in: ---[ end trace f35c8b3224a1b1dc ]--- RIP: 0010:rose_link_up net/rose/rose_link.c:124 [inline] RIP: 0010:rose_transmit_link+0xd5/0x730 net/rose/rose_link.c:271 Code: e8 03 80 3c 08 00 74 08 4c 89 f7 e8 85 72 02 f9 41 bf 88 03 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df <42> 80 3c 30 00 74 08 4c 89 ff e8 5c 72 02 f9 4d 8b 2f 4c 89 24 24 RSP: 0018:ffffc9000301faf0 EFLAGS: 00010206 RAX: 0000000000000071 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc90017c05000 RSI: 00000000000000ce RDI: 00000000000000cf RBP: ffff88805e90f400 R08: dffffc0000000000 R09: ffffed100be8cd18 R10: ffffed100be8cd18 R11: 1ffff1100be8cd17 R12: ffff88802b771c80 R13: ffffffff964911e0 R14: dffffc0000000000 R15: 0000000000000388 FS: 00007f31a055b6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7f720022d8 CR3: 0000000061779000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 03 80 3c 08 call 0x83c8008 5: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 9: 89 f7 mov %esi,%edi b: e8 85 72 02 f9 call 0xf9027295 10: 41 bf 88 03 00 00 mov $0x388,%r15d 16: 4d 03 3e add (%r14),%r15 19: 4c 89 f8 mov %r15,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 27: fc ff df * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 5c 72 02 f9 call 0xf9027295 39: 4d 8b 2f mov (%r15),%r13 3c: 4c 89 24 24 mov %r12,(%rsp)