================================================================== BUG: KASAN: use-after-free in lbmIODone+0x12ac/0x1690 fs/jfs/jfs_logmgr.c:2194 Read of size 4 at addr ffff88801a3e1c08 by task ksoftirqd/0/14 CPU: 0 PID: 14 Comm: ksoftirqd/0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Call Trace: dump_stack_lvl+0x188/0x250 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 lbmIODone+0x12ac/0x1690 fs/jfs/jfs_logmgr.c:2194 req_bio_endio block/blk-core.c:261 [inline] blk_update_request+0x85a/0x1180 block/blk-core.c:1441 blk_mq_end_request+0x3a/0x70 block/blk-mq.c:576 blk_complete_reqs block/blk-mq.c:588 [inline] blk_done_softirq+0xfa/0x140 block/blk-mq.c:593 handle_softirqs+0x336/0x830 kernel/softirq.c:576 run_ksoftirqd+0xa4/0x100 kernel/softirq.c:943 smpboot_thread_fn+0x520/0x990 kernel/smpboot.c:164 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Allocated by task 4436: 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_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0xaf/0xe0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:607 [inline] lbmLogInit fs/jfs/jfs_logmgr.c:1830 [inline] lmLogInit+0x353/0x1a60 fs/jfs/jfs_logmgr.c:1278 open_inline_log fs/jfs/jfs_logmgr.c:1183 [inline] lmLogOpen+0x4d2/0xf90 fs/jfs/jfs_logmgr.c:1077 jfs_mount_rw+0xfb/0x5a0 fs/jfs/jfs_mount.c:253 jfs_fill_super+0x58d/0xad0 fs/jfs/super.c:570 mount_bdev+0x28a/0x3c0 fs/super.c:1400 legacy_get_tree+0xe6/0x180 fs/fs_context.c:611 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x247/0xa40 fs/namespace.c:3034 do_mount fs/namespace.c:3377 [inline] __do_sys_mount fs/namespace.c:3585 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3562 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 4190: 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+0xec/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kfree+0xef/0x2a0 mm/slub.c:4564 lbmLogShutdown fs/jfs/jfs_logmgr.c:1873 [inline] lmLogShutdown+0x453/0x850 fs/jfs/jfs_logmgr.c:1692 lmLogClose+0x288/0x530 fs/jfs/jfs_logmgr.c:1468 jfs_umount+0x288/0x360 fs/jfs/jfs_umount.c:116 jfs_put_super+0x88/0x190 fs/jfs/super.c:194 generic_shutdown_super+0x130/0x300 fs/super.c:475 kill_block_super+0x7c/0xe0 fs/super.c:1427 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x426/0x4d0 fs/namespace.c:1148 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Last potentially related work creation: kasan_save_stack+0x35/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348 insert_work+0x54/0x3d0 kernel/workqueue.c:1366 __queue_work+0x90b/0xc80 kernel/workqueue.c:1532 queue_work_on+0x124/0x1f0 kernel/workqueue.c:1559 queue_work include/linux/workqueue.h:512 [inline] netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:659 [inline] netdevice_event+0x898/0x930 drivers/infiniband/core/roce_gid_mgmt.c:802 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391 call_netdevice_notifiers_extack net/core/dev.c:2074 [inline] call_netdevice_notifiers net/core/dev.c:2088 [inline] register_netdevice+0x12a8/0x1720 net/core/dev.c:10454 br_dev_newlink+0x23/0x110 net/bridge/br_netlink.c:1443 __rtnl_newlink net/core/rtnetlink.c:3530 [inline] rtnl_newlink+0x139e/0x1920 net/core/rtnetlink.c:3578 rtnetlink_rcv_msg+0x82c/0xf00 net/core/rtnetlink.c:5688 netlink_rcv_skb+0x1e9/0x430 net/netlink/af_netlink.c:2512 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x78f/0x940 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1923 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] __sys_sendto+0x46d/0x620 net/socket.c:2073 __do_sys_sendto net/socket.c:2085 [inline] __se_sys_sendto net/socket.c:2081 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2081 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 ffff88801a3e1c00 which belongs to the cache kmalloc-192 of size 192 The buggy address is located 8 bytes inside of 192-byte region [ffff88801a3e1c00, ffff88801a3e1cc0) The buggy address belongs to the page: page:ffffea000068f840 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1a3e1 flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 ffffea000068f440 0000000400000002 ffff888016c41a00 raw: 0000000000000000 0000000000100010 00000001ffffffff 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 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, ts 2459286244, free_ts 0 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 alloc_page_interleave+0x24/0x1e0 mm/mempolicy.c:2031 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+0x807/0xdd0 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] __kmalloc_track_caller+0x11b/0x330 mm/slub.c:4930 __do_krealloc mm/slab_common.c:1244 [inline] krealloc+0x5a/0xf0 mm/slab_common.c:1277 add_sysfs_param+0x169/0x920 kernel/params.c:654 kernel_add_sysfs_param+0xaf/0x120 kernel/params.c:798 param_sysfs_builtin+0x183/0x200 kernel/params.c:837 param_sysfs_init+0x66/0x70 kernel/params.c:958 do_one_initcall+0x272/0x730 init/main.c:1315 do_initcall_level+0x13d/0x1f0 init/main.c:1388 do_initcalls+0x4b/0x90 init/main.c:1404 kernel_init_freeable+0x3d5/0x560 init/main.c:1628 kernel_init+0x19/0x1b0 init/main.c:1519 page_owner free stack trace missing Memory state around the buggy address: ffff88801a3e1b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88801a3e1b80: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88801a3e1c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88801a3e1c80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff88801a3e1d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================