================================================================== BUG: KASAN: vmalloc-out-of-bounds in idempotent kernel/module/main.c:3078 [inline] BUG: KASAN: vmalloc-out-of-bounds in init_module_from_file+0x62c/0x6a0 kernel/module/main.c:3124 Read of size 8 at addr ffffc900036f7e20 by task syz-executor.5/32158 CPU: 0 PID: 32158 Comm: syz-executor.5 Not tainted 6.4.0-syzkaller-11312-gb5641a5d8b8b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 print_address_description.constprop.0+0x2c/0x3c0 mm/kasan/report.c:364 print_report mm/kasan/report.c:475 [inline] kasan_report+0x11d/0x130 mm/kasan/report.c:588 idempotent kernel/module/main.c:3078 [inline] init_module_from_file+0x62c/0x6a0 kernel/module/main.c:3124 __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:0x7f78c768c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f78c84ce168 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 00007f78c77abf80 RCX: 00007f78c768c389 RDX: 0000000000000002 RSI: 00000000200011c0 RDI: 0000000000000003 RBP: 00007f78c76d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc015548bf R14: 00007f78c84ce300 R15: 0000000000022000 Memory state around the buggy address: ffffc900036f7d00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900036f7d80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc900036f7e00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc900036f7e80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900036f7f00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================