Oops: general protection fault, probably for non-canonical address 0xdffffc0000000016: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000000b0-0x00000000000000b7] CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:create_link fs/configfs/symlink.c:81 [inline] RIP: 0010:configfs_symlink+0x5fc/0x1030 fs/configfs/symlink.c:199 Code: 03 42 80 3c 20 00 74 08 48 89 df e8 1e da bd ff 41 bc b0 00 00 00 4c 03 23 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 f6 d9 bd ff 4d 8b 2c 24 4c 89 ef e8 RSP: 0018:ffffc9000e62fc80 EFLAGS: 00010202 RAX: 0000000000000016 RBX: ffff88803fbfcc48 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff8c4bed60 RDI: 00000000ffffffff RBP: ffffc9000e62fd88 R08: ffffffff9057c237 R09: 1ffffffff20af846 R10: dffffc0000000000 R11: fffffbfff20af847 R12: 00000000000000b0 R13: 0000000000000000 R14: ffffffff8cb13fa8 R15: 1ffff92001cc5fa0 FS: 00007f0dbf8266c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055705991f1c0 CR3: 00000000400ce000 CR4: 0000000000352ef0 Call Trace: vfs_symlink+0x18b/0x330 fs/namei.c:5660 filename_symlinkat+0x1cd/0x410 fs/namei.c:5685 __do_sys_symlinkat fs/namei.c:5705 [inline] __se_sys_symlinkat+0x4e/0x2b0 fs/namei.c:5700 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0dbe99e019 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:00007f0dbf825fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 00007f0dbec26090 RCX: 00007f0dbe99e019 RDX: 0000200000000480 RSI: 0000000000000003 RDI: 0000200000000400 RBP: 00007f0dbea3500c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0dbec26128 R14: 00007f0dbec26090 R15: 00007ffd8678b858 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:create_link fs/configfs/symlink.c:81 [inline] RIP: 0010:configfs_symlink+0x5fc/0x1030 fs/configfs/symlink.c:199 Code: 03 42 80 3c 20 00 74 08 48 89 df e8 1e da bd ff 41 bc b0 00 00 00 4c 03 23 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 f6 d9 bd ff 4d 8b 2c 24 4c 89 ef e8 RSP: 0018:ffffc9000e62fc80 EFLAGS: 00010202 RAX: 0000000000000016 RBX: ffff88803fbfcc48 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff8c4bed60 RDI: 00000000ffffffff RBP: ffffc9000e62fd88 R08: ffffffff9057c237 R09: 1ffffffff20af846 R10: dffffc0000000000 R11: fffffbfff20af847 R12: 00000000000000b0 R13: 0000000000000000 R14: ffffffff8cb13fa8 R15: 1ffff92001cc5fa0 FS: 00007f0dbf8266c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005570598f9168 CR3: 00000000400ce000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 03 42 80 add -0x80(%rdx),%eax 3: 3c 20 cmp $0x20,%al 5: 00 74 08 48 add %dh,0x48(%rax,%rcx,1) 9: 89 df mov %ebx,%edi b: e8 1e da bd ff call 0xffbdda2e 10: 41 bc b0 00 00 00 mov $0xb0,%r12d 16: 4c 03 23 add (%rbx),%r12 19: 4c 89 e0 mov %r12,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 e7 mov %r12,%rdi 33: e8 f6 d9 bd ff call 0xffbdda2e 38: 4d 8b 2c 24 mov (%r12),%r13 3c: 4c 89 ef mov %r13,%rdi 3f: e8 .byte 0xe8