loop0: detected capacity change from 0 to 32768 ================================================================== BUG: KASAN: slab-out-of-bounds in dtMoveEntry fs/jfs/jfs_dtree.c:3931 [inline] BUG: KASAN: slab-out-of-bounds in dtSplitPage+0x1bce/0x36a0 fs/jfs/jfs_dtree.c:1558 Write of size 1 at addr ffff88807ab480c0 by task syz.0.441/7878 CPU: 0 UID: 0 PID: 7878 Comm: syz.0.441 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 dtMoveEntry fs/jfs/jfs_dtree.c:3931 [inline] dtSplitPage+0x1bce/0x36a0 fs/jfs/jfs_dtree.c:1558 dtSplitUp fs/jfs/jfs_dtree.c:1089 [inline] dtInsert+0x1080/0x5cb0 fs/jfs/jfs_dtree.c:868 jfs_symlink+0x8a1/0xfb0 fs/jfs/namei.c:1021 vfs_symlink+0x18b/0x330 fs/namei.c:5889 filename_symlinkat+0x1cd/0x410 fs/namei.c:5914 __do_sys_symlinkat fs/namei.c:5934 [inline] __se_sys_symlinkat+0x4e/0x2b0 fs/namei.c:5929 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f637239e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f63732d5028 EFLAGS: 00000246 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 00007f6372625fa0 RCX: 00007f637239e159 RDX: 00002000000005c0 RSI: ffffffffffffff9c RDI: 0000200000000700 RBP: 00007f6372435024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6372626038 R14: 00007f6372625fa0 R15: 00007ffeccb1fbc8 Allocated by task 6084: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:340 [inline] __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:366 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4683 [inline] slab_alloc_node mm/slub.c:4996 [inline] kmem_cache_alloc_noprof+0x2b4/0x600 mm/slub.c:5010 __kernfs_new_node+0xe6/0x980 fs/kernfs/dir.c:665 kernfs_new_node+0xea/0x140 fs/kernfs/dir.c:751 __kernfs_create_file+0x4b/0x2e0 fs/kernfs/file.c:1050 sysfs_add_file_mode_ns+0x237/0x300 fs/sysfs/file.c:316 create_files fs/sysfs/group.c:82 [inline] internal_create_group+0x679/0x1180 fs/sysfs/group.c:189 internal_create_groups fs/sysfs/group.c:229 [inline] sysfs_create_groups+0x59/0x120 fs/sysfs/group.c:255 device_add_groups drivers/base/core.c:2911 [inline] device_add_attrs+0xde/0x600 drivers/base/core.c:2975 device_add+0x488/0xb80 drivers/base/core.c:3715 netdev_register_kobject+0x197/0x350 net/core/net-sysfs.c:2340 register_netdevice+0x142e/0x1eb0 net/core/dev.c:11503 nsim_init_netdevsim drivers/net/netdevsim/netdev.c:1080 [inline] nsim_create+0xbd7/0x1150 drivers/net/netdevsim/netdev.c:1162 __nsim_dev_port_add+0x7f8/0xcd0 drivers/net/netdevsim/dev.c:1434 nsim_dev_port_add_all+0x37/0xf0 drivers/net/netdevsim/dev.c:1495 nsim_dev_reload_create drivers/net/netdevsim/dev.c:1547 [inline] nsim_dev_reload_up+0x4dd/0x880 drivers/net/netdevsim/dev.c:983 devlink_reload+0x4b2/0x890 net/devlink/dev.c:475 devlink_pernet_pre_exit+0x1ff/0x420 net/devlink/core.c:578 ops_pre_exit_list net/core/net_namespace.c:161 [inline] ops_undo_list+0x17d/0x8f0 net/core/net_namespace.c:235 cleanup_net+0x572/0x810 net/core/net_namespace.c:706 process_one_work kernel/workqueue.c:3399 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3482 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3563 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff88807ab48000 which belongs to the cache kernfs_node_cache of size 176 The buggy address is located 16 bytes to the right of allocated 176-byte region [ffff88807ab48000, ffff88807ab480b0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7ab48 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000000 ffff88801ca908c0 dead000000000100 dead000000000122 raw: 0000000000000000 0000000200110011 00000000f5000000 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6084, tgid 6084 (kworker/u8:17), ts 269039855960 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1853 prep_new_page mm/page_alloc.c:1861 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3925 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5418 alloc_slab_page mm/slub.c:3347 [inline] allocate_slab+0x7d/0x620 mm/slub.c:3462 new_slab mm/slub.c:3513 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7416 refill_sheaf mm/slub.c:2885 [inline] __pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4774 alloc_from_pcs mm/slub.c:4850 [inline] slab_alloc_node mm/slub.c:4984 [inline] kmem_cache_alloc_noprof+0x394/0x600 mm/slub.c:5010 __kernfs_new_node+0xe6/0x980 fs/kernfs/dir.c:665 kernfs_new_node+0xea/0x140 fs/kernfs/dir.c:751 __kernfs_create_file+0x4b/0x2e0 fs/kernfs/file.c:1050 sysfs_add_file_mode_ns+0x237/0x300 fs/sysfs/file.c:316 create_files fs/sysfs/group.c:82 [inline] internal_create_group+0x679/0x1180 fs/sysfs/group.c:189 netdev_queue_add_kobject net/core/net-sysfs.c:1987 [inline] netdev_queue_update_kobjects+0x311/0x6b0 net/core/net-sysfs.c:2035 register_queue_kobjects net/core/net-sysfs.c:2098 [inline] netdev_register_kobject+0x277/0x350 net/core/net-sysfs.c:2344 register_netdevice+0x142e/0x1eb0 net/core/dev.c:11503 nsim_init_netdevsim drivers/net/netdevsim/netdev.c:1080 [inline] nsim_create+0xbd7/0x1150 drivers/net/netdevsim/netdev.c:1162 page last free pid 7750 tgid 7743 ts 268832357300 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1400 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2944 rcu_do_batch kernel/rcu/tree.c:2650 [inline] rcu_core+0x926/0x1260 kernel/rcu/tree.c:2919 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 Memory state around the buggy address: ffff88807ab47f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807ab48000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88807ab48080: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc 00 00 ^ ffff88807ab48100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807ab48180: 00 00 00 00 fc fc fc fc fc fc fc fc 00 00 00 00 ==================================================================