IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready ================================================================== BUG: KASAN: use-after-free in diWrite+0x90e/0x12a0 fs/jfs/jfs_imap.c:764 Write of size 32 at addr ffff8801de5a20c0 by task syz-executor.0/3810 CPU: 1 PID: 3810 Comm: syz-executor.0 Not tainted 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x10c/0x17a lib/dump_stack.c:113 print_address_description.cold.6+0x9/0x244 mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold.7+0x242/0x305 mm/kasan/report.c:396 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x13c/0x1b0 mm/kasan/kasan.c:267 memcpy+0x37/0x50 mm/kasan/kasan.c:303 diWrite+0x90e/0x12a0 fs/jfs/jfs_imap.c:764 txCommit+0x55f/0x3f40 fs/jfs/jfs_txnmgr.c:1263 add_missing_indices fs/jfs/jfs_dtree.c:2967 [inline] jfs_readdir+0x23b2/0x3af0 fs/jfs/jfs_dtree.c:3315 iterate_dir+0x1b0/0x5f0 fs/readdir.c:53 ksys_getdents64+0x102/0x1d0 fs/readdir.c:314 __do_sys_getdents64 fs/readdir.c:333 [inline] __se_sys_getdents64 fs/readdir.c:330 [inline] __x64_sys_getdents64+0x6e/0xb0 fs/readdir.c:330 do_syscall_64+0xd0/0x340 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f7e27af0ea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7e276720c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f7e27c1ef80 RCX: 00007f7e27af0ea9 RDX: 000000000000005d RSI: 00000000200002c0 RDI: 0000000000000005 RBP: 00007f7e27b3d4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7e27c1ef80 R15: 00007ffd0811deb8 The buggy address belongs to the page: page:ffffea0007796880 count:0 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0x200000000000000() raw: 0200000000000000 ffffea00077968c8 ffff8801f6d302c8 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not active (free page?) Memory state around the buggy address: ffff8801de5a1f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8801de5a2000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8801de5a2080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8801de5a2100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8801de5a2180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================