Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037]
CPU: 1 UID: 0 PID: 9189 Comm: syz.0.26045 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:rose_transmit_link+0x32/0xac0
Code: 56 41 55 41 54 53 48 83 ec 40 48 89 f3 48 89 fd 49 bc 00 00 00 00 00 fc ff df e8 a9 3a 30 f7 4c 8d 73 36 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 13 09 00 00 45 0f b6 36 31 ff 44 89 f6
RSP: 0018:ffffc9002cabf8e8 EFLAGS: 00010207
RAX: 0000000000000006 RBX: 0000000000000000 RCX: ffff8880460c9d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888175dae900
RBP: ffff888175dae900 R08: ffff8880460c9d00 R09: 0000000000000008
R10: 000000000000000f R11: 0000000000000000 R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000036 R15: 1ffff92005957f3c
FS:  00007f77813d56c0(0000) GS:ffff8882a9464000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fc12ff8 CR3: 00000001dfada000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 rose_write_internal+0x1256/0x1b60
 rose_release+0x25b/0x510
 sock_close+0xc3/0x240
 __fput+0x44f/0xa70
 task_work_run+0x1d9/0x270
 get_signal+0x11eb/0x1330
 arch_do_signal_or_restart+0xbc/0x830
 exit_to_user_mode_loop+0x86/0x480
 do_syscall_64+0x32d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f778319c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f77813d5028 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: 0000000000000000 RBX: 00007f7783416090 RCX: 00007f778319c799
RDX: 000000000000001c RSI: 0000200000000040 RDI: 0000000000000013
RBP: 00007f7783232bd9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7783416128 R14: 00007f7783416090 R15: 00007ffe43638f48
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rose_transmit_link+0x32/0xac0
Code: 56 41 55 41 54 53 48 83 ec 40 48 89 f3 48 89 fd 49 bc 00 00 00 00 00 fc ff df e8 a9 3a 30 f7 4c 8d 73 36 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 13 09 00 00 45 0f b6 36 31 ff 44 89 f6
RSP: 0018:ffffc9002cabf8e8 EFLAGS: 00010207
RAX: 0000000000000006 RBX: 0000000000000000 RCX: ffff8880460c9d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888175dae900
RBP: ffff888175dae900 R08: ffff8880460c9d00 R09: 0000000000000008
R10: 000000000000000f R11: 0000000000000000 R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000036 R15: 1ffff92005957f3c
FS:  00007f77813d56c0(0000) GS:ffff8882a9464000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005625d50e9000 CR3: 00000001dfada000 CR4: 00000000000006f0
