ERROR: (device loop2): dtReadFirst: stbl[0] out of bound ERROR: (device loop2): remounting filesystem as read-only ================================================================== BUG: KASAN: slab-out-of-bounds in addressPXD fs/jfs/jfs_types.h:80 [inline] BUG: KASAN: slab-out-of-bounds in dtSearch+0x1560/0x1b28 fs/jfs/jfs_dtree.c:785 Read of size 4 at addr ffff0000ee15afe0 by task syz.2.209/6902 CPU: 0 PID: 6902 Comm: syz.2.209 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Call trace: dump_backtrace+0x1c8/0x1f4 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+0xf8/0x160 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/0x100 mm/kasan/report.c:524 __asan_report_load4_noabort+0x2c/0x38 mm/kasan/report_generic.c:350 addressPXD fs/jfs/jfs_types.h:80 [inline] dtSearch+0x1560/0x1b28 fs/jfs/jfs_dtree.c:785 jfs_lookup+0x13c/0x32c fs/jfs/namei.c:1459 __lookup_slow+0x24c/0x370 fs/namei.c:1698 lookup_slow+0x5c/0x80 fs/namei.c:1715 walk_component+0x270/0x364 fs/namei.c:2006 lookup_last fs/namei.c:2463 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2487 do_o_path+0xa0/0x1d0 fs/namei.c:3762 path_openat+0x216c/0x2680 fs/namei.c:3784 do_filp_open+0x174/0x344 fs/namei.c:3818 do_sys_openat2+0x128/0x3d8 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1347 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 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 6425: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x28/0x34 mm/kasan/generic.c:505 __kasan_slab_alloc+0x70/0x88 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x74/0x43c mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x234/0x318 mm/slub.c:3383 kmem_cache_zalloc include/linux/slab.h:689 [inline] __kernfs_new_node+0xe4/0x5d8 fs/kernfs/dir.c:614 kernfs_new_node+0x11c/0x230 fs/kernfs/dir.c:690 kernfs_create_link+0x98/0x1e0 fs/kernfs/symlink.c:39 sysfs_do_create_link_sd+0x8c/0x120 fs/sysfs/symlink.c:44 sysfs_do_create_link fs/sysfs/symlink.c:80 [inline] sysfs_create_link+0x74/0x94 fs/sysfs/symlink.c:92 netdev_adjacent_sysfs_add net/core/dev.c:7523 [inline] __netdev_adjacent_dev_insert+0x3b0/0x7b4 net/core/dev.c:7579 __netdev_adjacent_dev_link_lists net/core/dev.c:7656 [inline] __netdev_adjacent_dev_link_neighbour net/core/dev.c:7685 [inline] __netdev_upper_dev_link+0x3b8/0x5a8 net/core/dev.c:7745 netdev_upper_dev_link+0xb0/0xf4 net/core/dev.c:7791 hsr_portdev_setup net/hsr/hsr_slave.c:152 [inline] hsr_add_port+0x43c/0x624 net/hsr/hsr_slave.c:197 hsr_dev_finalize+0x53c/0x748 net/hsr/hsr_device.c:692 hsr_newlink+0x4a4/0x53c net/hsr/hsr_netlink.c:102 rtnl_newlink_create net/core/rtnetlink.c:3422 [inline] __rtnl_newlink net/core/rtnetlink.c:3642 [inline] rtnl_newlink+0x102c/0x1a1c net/core/rtnetlink.c:3655 rtnetlink_rcv_msg+0x734/0xce4 net/core/rtnetlink.c:6150 netlink_rcv_skb+0x208/0x3c4 net/netlink/af_netlink.c:2511 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6168 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x60c/0x824 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x6e8/0x9b0 net/netlink/af_netlink.c:1872 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x304/0x3fc net/socket.c:2152 __do_sys_sendto net/socket.c:2164 [inline] __se_sys_sendto net/socket.c:2160 [inline] __arm64_sys_sendto+0xd8/0xf8 net/socket.c:2160 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 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 ffff0000ee15ae80 which belongs to the cache kernfs_node_cache of size 168 The buggy address is located 184 bytes to the right of 168-byte region [ffff0000ee15ae80, ffff0000ee15af28) The buggy address belongs to the physical page: page:0000000034da78c4 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x12e15a flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 fffffc00038bbd80 dead000000000003 ffff0000c03dca80 raw: 0000000000000000 0000000000110011 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000ee15ae80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000ee15af00: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc >ffff0000ee15af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000ee15b000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000ee15b080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== ERROR: (device loop2): dtSearch: stack overrun! btstack dump: bn = 0, index = 0 bn = 20, index = 0 bn = 0, index = 0 bn = 20, index = 0 bn = 0, index = 0 bn = 20, index = 0 bn = 0, index = 0 bn = 0, index = 0 jfs_lookup: dtSearch returned -5