Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 2 UID: 0 PID: 10669 Comm: syz.0.1296 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:rose_transmit_link+0x32/0x5d0 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 fa 8c f7 48 8d 7b 36 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 bb 04 00 00 RSP: 0018:ffffc90003cd78d0 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8a7c609a RDX: 0000000000000006 RSI: ffffffff8a7bbd9d RDI: 0000000000000036 RBP: ffff8880247928c0 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000013 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000010 R14: 0000000000000013 R15: ffff8880140b93da FS: 0000000000000000(0000) GS:ffff8880d6545000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2237f87900 CR3: 000000000e598000 CR4: 0000000000352ef0 Call Trace: rose_write_internal+0x3ee/0x1700 net/rose/rose_subr.c:198 rose_release+0x1f1/0x740 net/rose/af_rose.c:671 __sock_release+0xb3/0x260 net/socket.c:662 sock_close+0x1c/0x30 net/socket.c:1455 __fput+0x3ff/0xb40 fs/file_table.c:469 task_work_run+0x150/0x240 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x8b8/0x2b60 kernel/exit.c:976 do_group_exit+0xd5/0x2a0 kernel/exit.c:1118 get_signal+0x1ec7/0x21e0 kernel/signal.c:3034 arch_do_signal_or_restart+0x91/0x7a0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop+0x86/0x4a0 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline] do_syscall_64+0x67c/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2237f9c799 Code: Unable to access opcode bytes at 0x7f2237f9c76f. RSP: 002b:00007f2238ee60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007f2238216188 RCX: 00007f2237f9c799 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2238216188 RBP: 00007f2238216180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2238216218 R14: 00007ffd35799c10 R15: 00007ffd35799cf8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:rose_transmit_link+0x32/0x5d0 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 fa 8c f7 48 8d 7b 36 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 bb 04 00 00 RSP: 0018:ffffc90003cd78d0 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8a7c609a RDX: 0000000000000006 RSI: ffffffff8a7bbd9d RDI: 0000000000000036 RBP: ffff8880247928c0 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000013 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000010 R14: 0000000000000013 R15: ffff8880140b93da FS: 0000000000000000(0000) GS:ffff8880d6545000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2237f87900 CR3: 000000000e598000 CR4: 0000000000352ef0 ---------------- 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 fa 8c f7 call 0xf78cfa18 15: 48 8d 7b 36 lea 0x36(%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 bb 04 00 00 jne 0x4fb