R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffca84fd02f R14: 00007f119731b300 R15: 0000000000022000 ================================================================== BUG: KASAN: stack-out-of-bounds in init_module_from_file+0x630/0x6b0 Read of size 8 at addr ffff888042f8fe20 by task syz-executor.4/8608 CPU: 0 PID: 8608 Comm: syz-executor.4 Not tainted 6.4.0-next-20230630 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0x91/0xf0 print_report+0xcc/0x620 kasan_report+0xbe/0xf0 init_module_from_file+0x630/0x6b0 __x64_sys_finit_module+0xee/0x160 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7fead5731b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fead2c86188 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 00007fead5845020 RCX: 00007fead5731b19 RDX: 0000000000000002 RSI: 0000000020000040 RDI: 0000000000000006 RBP: 00007fead578bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc5f66854f R14: 00007fead2c86300 R15: 0000000000022000 The buggy address belongs to the physical page: page:00000000d272f93a refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42f8f flags: 0x100000000000000(node=0|zone=1) page_type: 0xffffffff() raw: 0100000000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888042f8fd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888042f8fd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 >ffff888042f8fe00: f1 f1 f1 f1 04 f2 00 00 f2 f2 00 00 00 f3 f3 f3 ^ ffff888042f8fe80: f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888042f8ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================