general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] CPU: 0 PID: 5044 Comm: syz-executor157 Not tainted 6.4.0-next-20230630-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:idempotent kernel/module/main.c:3078 [inline] RIP: 0010:init_module_from_file+0x1c1/0x6a0 kernel/module/main.c:3124 Code: 0f 84 c0 01 00 00 e8 de f1 12 00 4d 89 e7 49 83 ef 08 74 61 e8 d0 f1 12 00 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 59 04 00 00 4d 3b 2f 0f 84 ae 00 00 00 e8 a7 f1 RSP: 0018:ffffc90003a7fd28 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 00000000000000f1 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff81722200 RDI: ffffc90003a4fe28 RBP: ffff88802a2f4000 R08: 0000000000000001 R09: fffff5200074ff97 R10: 0000000000000003 R11: 0000000000000001 R12: ffffc90003a4fe28 R13: ffff888077bfd2b0 R14: ffffffff921588a8 R15: 000000000000003e FS: 0000555555700300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7a4b634290 CR3: 000000002a24a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_finit_module kernel/module/main.c:3171 [inline] __se_sys_finit_module kernel/module/main.c:3154 [inline] __x64_sys_finit_module+0xfd/0x190 kernel/module/main.c:3154 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7a4b5c05b9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffec98a1ea8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 00000000000124f4 RCX: 00007f7a4b5c05b9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007ffec98a1ed0 R09: 00007ffec98a1ed0 R10: 00007ffec98a1ed0 R11: 0000000000000246 R12: 00007ffec98a1ecc R13: 00007ffec98a1f00 R14: 00007ffec98a1ee0 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:idempotent kernel/module/main.c:3078 [inline] RIP: 0010:init_module_from_file+0x1c1/0x6a0 kernel/module/main.c:3124 Code: 0f 84 c0 01 00 00 e8 de f1 12 00 4d 89 e7 49 83 ef 08 74 61 e8 d0 f1 12 00 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 59 04 00 00 4d 3b 2f 0f 84 ae 00 00 00 e8 a7 f1 RSP: 0018:ffffc90003a7fd28 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 00000000000000f1 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff81722200 RDI: ffffc90003a4fe28 RBP: ffff88802a2f4000 R08: 0000000000000001 R09: fffff5200074ff97 R10: 0000000000000003 R11: 0000000000000001 R12: ffffc90003a4fe28 R13: ffff888077bfd2b0 R14: ffffffff921588a8 R15: 000000000000003e FS: 0000555555700300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7a4b634290 CR3: 000000002a24a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 0f 84 c0 01 00 00 je 0x1c6 6: e8 de f1 12 00 callq 0x12f1e9 b: 4d 89 e7 mov %r12,%r15 e: 49 83 ef 08 sub $0x8,%r15 12: 74 61 je 0x75 14: e8 d0 f1 12 00 callq 0x12f1e9 19: 4c 89 fa mov %r15,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 59 04 00 00 jne 0x48d 34: 4d 3b 2f cmp (%r15),%r13 37: 0f 84 ae 00 00 00 je 0xeb 3d: e8 .byte 0xe8 3e: a7 cmpsl %es:(%rdi),%ds:(%rsi) 3f: f1 icebp