IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds ================================================================== BUG: KASAN: use-after-free in nilfs_find_entry+0x58a/0x6e0 fs/nilfs2/dir.c:356 Read of size 2 at addr ffff8801d6529008 by task syz.2.15/4008 CPU: 0 PID: 4008 Comm: syz.2.15 Not tainted 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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 __asan_report_load2_noabort+0x14/0x20 mm/kasan/report.c:431 nilfs_find_entry+0x58a/0x6e0 fs/nilfs2/dir.c:356 nilfs_inode_by_name+0x63/0x190 fs/nilfs2/dir.c:407 nilfs_lookup fs/nilfs2/namei.c:62 [inline] nilfs_lookup+0x64/0x100 fs/nilfs2/namei.c:54 lookup_open+0x5c5/0x1d20 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0xde7/0x2870 fs/namei.c:3534 do_filp_open+0x177/0x250 fs/namei.c:3564 do_sys_open+0x1dc/0x350 fs/open.c:1063 __do_sys_openat fs/open.c:1090 [inline] __se_sys_openat fs/open.c:1084 [inline] __x64_sys_openat+0x98/0xf0 fs/open.c:1084 do_syscall_64+0xd0/0x340 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fe96e421719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe96dea2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fe96e5d8f80 RCX: 00007fe96e421719 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007fe96e49475e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe96e5d8f80 R15: 00007ffebb2bed18 The buggy address belongs to the page: page:ffffea0007594a40 count:0 mapcount:0 mapping:0000000000000000 index:0x1 flags: 0x200000000000000() raw: 0200000000000000 ffffea00074f65c8 ffffea00074d49c8 0000000000000000 raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not active (free page?) Memory state around the buggy address: ffff8801d6528f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8801d6528f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8801d6529000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8801d6529080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8801d6529100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================