loop2: detected capacity change from 0 to 32768 UFO tlock:0xffffc900028a2048 ================================================================== BUG: KASAN: slab-out-of-bounds in dtInsertEntry+0x8a5/0x1270 fs/jfs/jfs_dtree.c:3999 Read of size 1 at addr ffff88802b1d7e00 by task syz.2.49/4527 CPU: 0 PID: 4527 Comm: syz.2.49 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 dtInsertEntry+0x8a5/0x1270 fs/jfs/jfs_dtree.c:3999 dtInsert+0x928/0x57a0 fs/jfs/jfs_dtree.c:894 jfs_mkdir+0x6e5/0xa70 fs/jfs/namei.c:270 vfs_mkdir+0x387/0x570 fs/namei.c:4073 do_mkdirat+0x1d7/0x5a0 fs/namei.c:4098 __do_sys_mkdirat fs/namei.c:4113 [inline] __se_sys_mkdirat fs/namei.c:4111 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4111 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f6906275e97 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007f69044dde68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f69044ddef0 RCX: 00007f6906275e97 RDX: 00000000000001ff RSI: 0000200000000000 RDI: 00000000ffffff9c RBP: 00002000000002c0 R08: 0000200000000080 R09: 0000000000000000 R10: 00002000000002c0 R11: 0000000000000246 R12: 0000200000000000 R13: 00007f69044ddeb0 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 4200: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x100/0x290 mm/slub.c:3238 getname_flags+0xb5/0x500 fs/namei.c:138 do_sys_openat2+0xcf/0x4a0 fs/open.c:1249 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Freed by task 4200: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1710 [inline] slab_free_freelist_hook+0xea/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kmem_cache_free+0x8f/0x210 mm/slub.c:3520 do_sys_openat2+0x207/0x4a0 fs/open.c:1264 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff88802b1d6600 which belongs to the cache names_cache of size 4096 The buggy address is located 2048 bytes to the right of 4096-byte region [ffff88802b1d6600, ffff88802b1d7600) The buggy address belongs to the page: page:ffffea0000ac7400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2b1d0 head:ffffea0000ac7400 order:3 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000122 ffff8880169e9500 raw: 0000000000000000 0000000000070007 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 4200, ts 57997964268, free_ts 57875001802 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5487 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x81e/0xdf0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x195/0x290 mm/slub.c:3238 getname_flags+0xb5/0x500 fs/namei.c:138 user_path_at_empty+0x2a/0x190 fs/namei.c:2890 user_path_at include/linux/namei.h:57 [inline] inotify_find_inode fs/notify/inotify/inotify_user.c:370 [inline] __do_sys_inotify_add_watch fs/notify/inotify/inotify_user.c:769 [inline] __se_sys_inotify_add_watch+0x18e/0xea0 fs/notify/inotify/inotify_user.c:722 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x94/0x280 mm/page_alloc.c:3396 qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xd0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] kmem_cache_alloc_node+0x12d/0x2d0 mm/slub.c:3261 __alloc_skb+0xf4/0x750 net/core/skbuff.c:415 alloc_skb include/linux/skbuff.h:1162 [inline] mld_newpack+0x12a/0xb90 net/ipv6/mcast.c:1745 add_grhead+0x5a/0x240 net/ipv6/mcast.c:1856 add_grec+0x1341/0x15d0 net/ipv6/mcast.c:1994 mld_send_initial_cr+0xed/0x240 net/ipv6/mcast.c:2241 ipv6_mc_dad_complete+0x84/0x210 net/ipv6/mcast.c:2252 addrconf_dad_completed+0x6c7/0xca0 net/ipv6/addrconf.c:4255 addrconf_dad_work+0xc70/0x1520 net/ipv6/addrconf.c:-1 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 Memory state around the buggy address: ffff88802b1d7d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88802b1d7d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88802b1d7e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88802b1d7e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88802b1d7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================