================================================================== BUG: KASAN: use-after-free in __mutex_waiter_is_first kernel/locking/mutex.c:191 [inline] BUG: KASAN: use-after-free in __mutex_lock_common+0xaf4/0x1ea4 kernel/locking/mutex.c:671 Read of size 8 at addr ffff0000da61c108 by task jfsCommit/248 CPU: 1 PID: 248 Comm: jfsCommit Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call trace: dump_backtrace+0x0/0x458 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x78/0x30c mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xec/0x158 mm/kasan/report.c:451 __asan_report_load8_noabort+0x44/0x50 mm/kasan/report_generic.c:309 __mutex_waiter_is_first kernel/locking/mutex.c:191 [inline] __mutex_lock_common+0xaf4/0x1ea4 kernel/locking/mutex.c:671 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xac/0x11c kernel/locking/mutex.c:743 jfs_syncpt+0x2c/0x94 fs/jfs/jfs_logmgr.c:1047 txEnd+0x294/0x500 fs/jfs/jfs_txnmgr.c:550 txLazyCommit fs/jfs/jfs_txnmgr.c:2719 [inline] jfs_lazycommit+0x4a4/0x9d4 fs/jfs/jfs_txnmgr.c:2767 kthread+0x37c/0x460 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:856 Allocated by task 4927: 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+0xb0/0xf0 mm/kasan/common.c:522 kasan_kmalloc include/linux/kasan.h:264 [inline] kmem_cache_alloc_trace+0x270/0x3f0 mm/slub.c:3252 kmalloc include/linux/slab.h:607 [inline] kzalloc include/linux/slab.h:738 [inline] open_inline_log fs/jfs/jfs_logmgr.c:1167 [inline] lmLogOpen+0x288/0xd78 fs/jfs/jfs_logmgr.c:1077 jfs_mount_rw+0xe8/0x52c fs/jfs/jfs_mount.c:253 jfs_fill_super+0x510/0x9bc fs/jfs/super.c:571 mount_bdev+0x264/0x35c fs/super.c:1411 jfs_do_mount+0x44/0x58 fs/jfs/super.c:676 legacy_get_tree+0xd8/0x174 fs/fs_context.c:611 vfs_get_tree+0x90/0x278 fs/super.c:1541 do_new_mount+0x228/0x818 fs/namespace.c:3060 path_mount+0x57c/0xfe8 fs/namespace.c:3418 do_mount fs/namespace.c:3431 [inline] __do_sys_mount fs/namespace.c:3639 [inline] __se_sys_mount fs/namespace.c:3616 [inline] __arm64_sys_mount+0x488/0x5f8 fs/namespace.c:3616 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x28c arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x5c/0x140 arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1d4 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Freed by task 4702: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4c/0x84 mm/kasan/common.c:46 kasan_set_free_info+0x28/0x4c mm/kasan/generic.c:360 ____kasan_slab_free+0x118/0x164 mm/kasan/common.c:366 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1710 [inline] slab_free_freelist_hook+0x128/0x1e4 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kfree+0x16c/0x404 mm/slub.c:4564 lmLogClose+0x234/0x4a0 fs/jfs/jfs_logmgr.c:-1 jfs_umount+0x240/0x324 fs/jfs/jfs_umount.c:116 jfs_put_super+0x90/0x18c fs/jfs/super.c:194 generic_shutdown_super+0x138/0x2f8 fs/super.c:475 kill_block_super+0x78/0xe0 fs/super.c:1438 deactivate_locked_super+0xc0/0x13c fs/super.c:335 deactivate_super+0xf0/0x110 fs/super.c:366 cleanup_mnt+0x3bc/0x470 fs/namespace.c:1148 __cleanup_mnt+0x20/0x30 fs/namespace.c:1155 task_work_run+0x13c/0x1e8 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x2488/0x30a8 arch/arm64/kernel/signal.c:949 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xf4/0x1d4 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Last potentially related work creation: kasan_save_stack+0x38/0x68 mm/kasan/common.c:38 kasan_record_aux_stack+0xcc/0x114 mm/kasan/generic.c:348 kvfree_call_rcu+0xb8/0x66c kernel/rcu/tree.c:3600 neigh_destroy+0x4a8/0x6e0 net/core/neighbour.c:860 neigh_release include/net/neighbour.h:419 [inline] neigh_cleanup_and_release+0x140/0x33c net/core/neighbour.c:103 neigh_flush_dev+0x190/0x848 net/core/neighbour.c:374 neigh_changeaddr+0x34/0x4c net/core/neighbour.c:382 ndisc_netdev_event+0x11c/0x348 net/ipv6/ndisc.c:1820 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd8/0x168 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2062 [inline] call_netdevice_notifiers_extack net/core/dev.c:2074 [inline] call_netdevice_notifiers net/core/dev.c:2088 [inline] dev_set_mac_address+0x268/0x398 net/core/dev.c:9141 dev_set_mac_address_user+0x44/0x68 net/core/dev.c:9155 do_setlink+0x5d8/0x20f8 net/core/rtnetlink.c:2748 __rtnl_newlink net/core/rtnetlink.c:3464 [inline] rtnl_newlink+0x1128/0x14ac net/core/rtnetlink.c:3586 rtnetlink_rcv_msg+0x6b0/0xcf8 net/core/rtnetlink.c:5698 netlink_rcv_skb+0x218/0x3dc net/netlink/af_netlink.c:2527 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:5716 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x6bc/0x92c net/netlink/af_netlink.c:1340 netlink_sendmsg+0x6ec/0x9e4 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] __sys_sendto+0x30c/0x420 net/socket.c:2073 __do_sys_sendto net/socket.c:2085 [inline] __se_sys_sendto net/socket.c:2081 [inline] __arm64_sys_sendto+0xe4/0x104 net/socket.c:2081 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x28c arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x5c/0x140 arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1d4 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 The buggy address belongs to the object at ffff0000da61c000 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 264 bytes inside of 1024-byte region [ffff0000da61c000, ffff0000da61c400) The buggy address belongs to the page: page:000000004f13988b refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11a618 head:000000004f13988b order:3 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 0000000100000001 ffff0000c0002780 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000da61c000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000da61c080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff0000da61c100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000da61c180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000da61c200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== Unable to handle kernel paging request at virtual address dfff800000000006 Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 [dfff800000000006] address between user and kernel address ranges Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 248 Comm: jfsCommit Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 pstate: 02400005 (nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : write_special_inodes fs/jfs/jfs_logmgr.c:207 [inline] pc : lmLogSync+0xf4/0x8a0 fs/jfs/jfs_logmgr.c:943 lr : write_special_inodes fs/jfs/jfs_logmgr.c:207 [inline] lr : lmLogSync+0xe8/0x8a0 fs/jfs/jfs_logmgr.c:943 sp : ffff80001f197b60 x29: ffff80001f197c10 x28: 1ffff00003d59222 x27: ffff800014933000 x26: 1ffff00002926714 x25: dfff800000000000 x24: ffff700003e32f6c x23: ffff0000da61c14c x22: ffff80001f197b60 x21: 0000000000000030 x20: ffff0000d2b676c8 x19: ffff0000da61c000 x18: 0000000000000002 x17: 0000000040000000 x16: ffff8000082ddc98 x15: 0000000000000002 x14: 0000000000000003 x13: 1ffff00003e32eb8 x12: 0000000000000000 x11: ff80800009811c7c x10: 0000000000000000 x9 : ffff80001b0aa250 x8 : 0000000000000006 x7 : 0000000000000000 x6 : ffff80000824ba20 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800009811cc4 x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000000 Call trace: write_special_inodes fs/jfs/jfs_logmgr.c:207 [inline] lmLogSync+0xf4/0x8a0 fs/jfs/jfs_logmgr.c:943 jfs_syncpt+0x70/0x94 fs/jfs/jfs_logmgr.c:1049 txEnd+0x294/0x500 fs/jfs/jfs_txnmgr.c:550 txLazyCommit fs/jfs/jfs_txnmgr.c:2719 [inline] jfs_lazycommit+0x4a4/0x9d4 fs/jfs/jfs_txnmgr.c:2767 kthread+0x37c/0x460 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:856 Code: 97c108cf f94002a8 9100c115 d343fea8 (38796908) ---[ end trace 758a7b9f44871884 ]--- ---------------- Code disassembly (best guess): 0: 97c108cf bl 0xffffffffff04233c 4: f94002a8 ldr x8, [x21] 8: 9100c115 add x21, x8, #0x30 c: d343fea8 lsr x8, x21, #3 * 10: 38796908 ldrb w8, [x8, x25] <-- trapping instruction