process 'syz-executor.0' launched './file1' with NULL argv: empty string added loop4: detected capacity change from 0 to 40 ================================================================== BUG: KASAN: out-of-bounds in init_module_from_file+0x630/0x6b0 Read of size 8 at addr ffff8880433b7e20 by task syz-executor.6/4634 CPU: 0 PID: 4634 Comm: syz-executor.6 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:0x7fcdad2a9b19 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:00007fcdaa7dd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 00007fcdad3bd0e0 RCX: 00007fcdad2a9b19 RDX: 0000000000000002 RSI: 0000000020000180 RDI: 0000000000000004 RBP: 00007fcdad303f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1299deef R14: 00007fcdaa7dd300 R15: 0000000000022000 loop1: detected capacity change from 0 to 40 The buggy address belongs to the physical page: page:00000000c62304a7 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x433b7 flags: 0x100000000000000(node=0|zone=1) page_type: 0xffffffff() raw: 0100000000000000 0000000000000000 ffffea00010cedc8 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880433b7d00: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00 ffff8880433b7d80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 04 f3 f3 f3 >ffff8880433b7e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff8880433b7e80: 00 f1 f1 f1 f1 00 f2 f2 f2 00 00 f3 f3 00 00 00 ffff8880433b7f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== syz-executor.3: attempt to access beyond end of device loop3: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop3, logical block 10, lost async page write syz-executor.4: attempt to access beyond end of device loop4: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop4, logical block 10, lost async page write syz-executor.1: attempt to access beyond end of device loop1: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop1, logical block 10, lost async page write loop6: detected capacity change from 0 to 40 loop3: detected capacity change from 0 to 40 loop7: detected capacity change from 0 to 40 loop4: detected capacity change from 0 to 40 loop1: detected capacity change from 0 to 40 syz-executor.1: attempt to access beyond end of device loop1: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop1, logical block 10, lost async page write syz-executor.4: attempt to access beyond end of device loop4: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop4, logical block 10, lost async page write syz-executor.3: attempt to access beyond end of device loop3: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop3, logical block 10, lost async page write syz-executor.7: attempt to access beyond end of device loop7: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop7, logical block 10, lost async page write syz-executor.6: attempt to access beyond end of device loop6: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop6, logical block 10, lost async page write loop1: detected capacity change from 0 to 40 loop4: detected capacity change from 0 to 40 syz-executor.1: attempt to access beyond end of device loop1: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop1, logical block 10, lost async page write syz-executor.4: attempt to access beyond end of device loop4: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop4, logical block 10, lost async page write loop4: detected capacity change from 0 to 40 loop7: detected capacity change from 0 to 40 loop1: detected capacity change from 0 to 40 loop3: detected capacity change from 0 to 40 syz-executor.1: attempt to access beyond end of device loop1: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop1, logical block 10, lost async page write loop5: detected capacity change from 0 to 40 loop6: detected capacity change from 0 to 40 syz-executor.4: attempt to access beyond end of device loop4: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop4, logical block 10, lost async page write syz-executor.3: attempt to access beyond end of device loop3: rw=2049, sector=40, nr_sectors = 4 limit=40 Buffer I/O error on dev loop3, logical block 10, lost async page write