loop0: detected capacity change from 0 to 32768 ================================================================== BUG: KASAN: slab-out-of-bounds in dtSplitRoot+0x7e0/0x11b8 fs/jfs/jfs_dtree.c:1999 Read of size 4 at addr ffff0000d7ea74fc by task syz.0.17/4490 CPU: 0 PID: 4490 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load4_noabort+0x2c/0x38 mm/kasan/report_generic.c:350 dtSplitRoot+0x7e0/0x11b8 fs/jfs/jfs_dtree.c:1999 dtSplitUp fs/jfs/jfs_dtree.c:993 [inline] dtInsert+0xb10/0x5710 fs/jfs/jfs_dtree.c:871 jfs_symlink+0x6cc/0xe08 fs/jfs/namei.c:1019 vfs_symlink+0x238/0x3b0 fs/namei.c:4522 do_symlinkat+0x178/0x35c fs/namei.c:4551 __do_sys_symlinkat fs/namei.c:4568 [inline] __se_sys_symlinkat fs/namei.c:4565 [inline] __arm64_sys_symlinkat+0xa4/0xbc fs/namei.c:4565 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Allocated by task 4415: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc_node_track_caller+0xcc/0x174 mm/slab_common.c:956 kstrdup mm/util.c:61 [inline] kstrdup_const+0x90/0xdc mm/util.c:84 __kernfs_new_node+0xb0/0x5fc fs/kernfs/dir.c:610 kernfs_new_node+0x120/0x230 fs/kernfs/dir.c:690 kernfs_create_dir_ns+0x58/0x138 fs/kernfs/dir.c:1046 sysfs_create_dir_ns+0x120/0x264 fs/sysfs/dir.c:59 create_dir lib/kobject.c:63 [inline] kobject_add_internal+0x5a8/0xb18 lib/kobject.c:231 kobject_add_varg lib/kobject.c:366 [inline] kobject_add+0x144/0x20c lib/kobject.c:418 device_add+0x3dc/0xe4c drivers/base/core.c:3632 netdev_register_kobject+0x170/0x2f4 net/core/net-sysfs.c:2013 register_netdevice+0xf28/0x1650 net/core/dev.c:10243 macvlan_common_newlink+0xd7c/0x1374 drivers/net/macvlan.c:1521 macvtap_newlink+0x15c/0x1dc drivers/net/macvtap.c:109 rtnl_newlink_create net/core/rtnetlink.c:3436 [inline] __rtnl_newlink net/core/rtnetlink.c:3656 [inline] rtnl_newlink+0x10b4/0x1af0 net/core/rtnetlink.c:3669 rtnetlink_rcv_msg+0x694/0xcc4 net/core/rtnetlink.c:6166 netlink_rcv_skb+0x220/0x3ec net/netlink/af_netlink.c:2516 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6184 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5fc/0x80c net/netlink/af_netlink.c:1344 netlink_sendmsg+0x6f0/0x9d8 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x324/0x440 net/socket.c:2153 __do_sys_sendto net/socket.c:2165 [inline] __se_sys_sendto net/socket.c:2161 [inline] __arm64_sys_sendto+0xe4/0x104 net/socket.c:2161 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the object at ffff0000d7ea7400 which belongs to the cache kmalloc-128 of size 128 The buggy address is located 124 bytes to the right of 128-byte region [ffff0000d7ea7400, ffff0000d7ea7480) The buggy address belongs to the physical page: page:00000000933a3a08 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x117ea7 flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 0000000000000000 dead000000000122 ffff0000c0002300 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d7ea7380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d7ea7400: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000d7ea7480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000d7ea7500: 00 01 fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d7ea7580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== find_entry called with index = 0 find_entry called with index = 0 find_entry called with index = 0 find_entry called with index >= next_index