BUG: spinlock bad magic on CPU#1, jfsCommit/94 ================================================================== BUG: KASAN: slab-out-of-bounds in string_nocheck lib/vsprintf.c:643 [inline] BUG: KASAN: slab-out-of-bounds in string+0x1ec/0x278 lib/vsprintf.c:725 Read of size 1 at addr ffff0000f5aa1ba0 by task jfsCommit/94 CPU: 1 PID: 94 Comm: jfsCommit 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_load1_noabort+0x2c/0x38 mm/kasan/report_generic.c:348 string_nocheck lib/vsprintf.c:643 [inline] string+0x1ec/0x278 lib/vsprintf.c:725 vsnprintf+0x10ec/0x18d8 lib/vsprintf.c:2805 vprintk_store+0x36c/0xb60 kernel/printk/printk.c:2187 vprintk_emit+0x118/0x2f0 kernel/printk/printk.c:2284 vprintk_default+0x54/0x80 kernel/printk/printk.c:2318 vprintk+0x200/0x2a0 kernel/printk/printk_safe.c:45 _printk+0xe0/0x130 kernel/printk/printk.c:2328 spin_dump+0x10c/0x1fc kernel/locking/spinlock_debug.c:63 spin_bug kernel/locking/spinlock_debug.c:77 [inline] debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] do_raw_spin_lock+0x1ec/0x2f8 kernel/locking/spinlock_debug.c:114 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x74/0xb0 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xe8/0x180 kernel/sched/wait.c:160 unlock_metapage fs/jfs/jfs_metapage.c:38 [inline] release_metapage+0x19c/0xc4c fs/jfs/jfs_metapage.c:736 xtTruncate+0xb8c/0x266c fs/jfs/jfs_xtree.c:-1 jfs_free_zero_link+0x2c0/0x424 fs/jfs/namei.c:758 jfs_evict_inode+0x2f4/0x3e4 fs/jfs/inode.c:159 evict+0x3d8/0x824 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x728/0x7e8 fs/inode.c:1860 txUpdateMap+0x68c/0x7b0 fs/jfs/jfs_txnmgr.c:2368 txLazyCommit fs/jfs/jfs_txnmgr.c:2665 [inline] jfs_lazycommit+0x360/0x930 fs/jfs/jfs_txnmgr.c:2733 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Allocated by task 4340: 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_slab_alloc+0x70/0x88 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x74/0x430 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_lru+0x1a8/0x284 mm/slub.c:3390 alloc_inode_sb include/linux/fs.h:3278 [inline] jfs_alloc_inode+0x2c/0x68 fs/jfs/super.c:105 alloc_inode fs/inode.c:261 [inline] iget_locked+0x174/0x754 fs/inode.c:1373 jfs_iget+0x30/0x400 fs/jfs/inode.c:29 jfs_lookup+0x1c0/0x378 fs/jfs/namei.c:1469 __lookup_slow+0x25c/0x38c fs/namei.c:1698 lookup_slow+0x60/0x84 fs/namei.c:1715 walk_component+0x278/0x374 fs/namei.c:2006 lookup_last fs/namei.c:2463 [inline] path_lookupat+0x168/0x3f0 fs/namei.c:2487 filename_lookup+0x1d4/0x490 fs/namei.c:2516 user_path_at_empty+0x5c/0x84 fs/namei.c:2956 user_path_at include/linux/namei.h:57 [inline] ksys_umount fs/namespace.c:1829 [inline] __do_sys_umount fs/namespace.c:1837 [inline] __se_sys_umount fs/namespace.c:1835 [inline] __arm64_sys_umount+0xf8/0x184 fs/namespace.c:1835 __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 ffff0000f5aa1280 which belongs to the cache jfs_ip of size 2240 The buggy address is located 96 bytes to the right of 2240-byte region [ffff0000f5aa1280, ffff0000f5aa1b40) The buggy address belongs to the physical page: page:00000000406c593e refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x135aa0 head:00000000406c593e order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff0000d07df501 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 dead000000000122 ffff0000c4e59e00 raw: 0000000000000000 00000000800d000d 00000001ffffffff ffff0000d07df501 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000f5aa1a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000f5aa1b00: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc >ffff0000f5aa1b80: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ^ ffff0000f5aa1c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000f5aa1c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== lock: 0xffff0000f5aa1328, .magic: ffff8000, .owner: /0, .owner_cpu: 512 CPU: 1 PID: 94 Comm: jfsCommit Tainted: G B 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 dump_stack+0x1c/0x5c lib/dump_stack.c:113 spin_dump+0x110/0x1fc kernel/locking/spinlock_debug.c:69 spin_bug kernel/locking/spinlock_debug.c:77 [inline] debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] do_raw_spin_lock+0x1ec/0x2f8 kernel/locking/spinlock_debug.c:114 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x74/0xb0 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xe8/0x180 kernel/sched/wait.c:160 unlock_metapage fs/jfs/jfs_metapage.c:38 [inline] release_metapage+0x19c/0xc4c fs/jfs/jfs_metapage.c:736 xtTruncate+0xb8c/0x266c fs/jfs/jfs_xtree.c:-1 jfs_free_zero_link+0x2c0/0x424 fs/jfs/namei.c:758 jfs_evict_inode+0x2f4/0x3e4 fs/jfs/inode.c:159 evict+0x3d8/0x824 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x728/0x7e8 fs/inode.c:1860 txUpdateMap+0x68c/0x7b0 fs/jfs/jfs_txnmgr.c:2368 txLazyCommit fs/jfs/jfs_txnmgr.c:2665 [inline] jfs_lazycommit+0x360/0x930 fs/jfs/jfs_txnmgr.c:2733 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 ================================================================================ UBSAN: array-index-out-of-bounds in kernel/locking/qspinlock.c:131:9 index 1152 is out of range for type 'unsigned long[8]' CPU: 1 PID: 94 Comm: jfsCommit Tainted: G B 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 dump_stack+0x1c/0x5c lib/dump_stack.c:113 ubsan_epilogue+0x14/0x48 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xd0/0xf8 lib/ubsan.c:282 decode_tail kernel/locking/qspinlock.c:131 [inline] queued_spin_lock_slowpath+0x8a8/0xc14 kernel/locking/qspinlock.c:471 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x2f4/0x2f8 kernel/locking/spinlock_debug.c:115 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x74/0xb0 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xe8/0x180 kernel/sched/wait.c:160 unlock_metapage fs/jfs/jfs_metapage.c:38 [inline] release_metapage+0x19c/0xc4c fs/jfs/jfs_metapage.c:736 xtTruncate+0xb8c/0x266c fs/jfs/jfs_xtree.c:-1 jfs_free_zero_link+0x2c0/0x424 fs/jfs/namei.c:758 jfs_evict_inode+0x2f4/0x3e4 fs/jfs/inode.c:159 evict+0x3d8/0x824 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x728/0x7e8 fs/inode.c:1860 txUpdateMap+0x68c/0x7b0 fs/jfs/jfs_txnmgr.c:2368 txLazyCommit fs/jfs/jfs_txnmgr.c:2665 [inline] jfs_lazycommit+0x360/0x930 fs/jfs/jfs_txnmgr.c:2733 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 ================================================================================ Unable to handle kernel paging request at virtual address ffff80001530b1a0 KASAN: probably user-memory-access in range [0x00000000a9858d00-0x00000000a9858d07] Mem abort info: ESR = 0x0000000096000047 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x07: level 3 translation fault Data abort info: ISV = 0, ISS = 0x00000047 CM = 0, WnR = 1 swapper pgtable: 4k pages, 48-bit VAs, pgdp=000000020dd40000 [ffff80001530b1a0] pgd=100000023ffff003, p4d=100000023ffff003, pud=100000023fffe003, pmd=100000023fff9003, pte=0000000000000000 Internal error: Oops: 0000000096000047 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 94 Comm: jfsCommit Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026 pstate: 824000c5 (Nzcv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : queued_spin_lock_slowpath+0x598/0xc14 kernel/locking/qspinlock.c:474 lr : decode_tail kernel/locking/qspinlock.c:131 [inline] lr : queued_spin_lock_slowpath+0x8a8/0xc14 kernel/locking/qspinlock.c:471 sp : ffff8000206a7380 x29: ffff8000206a7420 x28: 1fffe00033e74a30 x27: ffff80001530b1a0 x26: ffff00019f3a5188 x25: ffff8000206a73a0 x24: 1fffe0001eb54265 x23: dfff800000000000 x22: ffff7000040d4e74 x21: ffff80001530b1a0 x20: ffff00019f3a5180 x19: ffff0000f5aa1328 x18: 1fffe00033e7217e x17: 3d3d3d3d3d3d3d3d x16: ffff800008195558 x15: 3d3d3d3d3d3d3d3d x14: ffff700002ff42bc x13: 1ffff00002ff42bc x12: 0000000000000004 x11: ff008000081955dc x10: ffff80001530b180 x9 : 0000000000000002 x8 : 0000000000000000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000206a6dd8 x4 : ffff800015484e80 x3 : ffff8000081955a4 x2 : 0000000000000001 x1 : 0000000000000004 x0 : ffff00019f3a5188 Call trace: queued_spin_lock_slowpath+0x598/0xc14 kernel/locking/qspinlock.c:477 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x2f4/0x2f8 kernel/locking/spinlock_debug.c:115 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x74/0xb0 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xe8/0x180 kernel/sched/wait.c:160 unlock_metapage fs/jfs/jfs_metapage.c:38 [inline] release_metapage+0x19c/0xc4c fs/jfs/jfs_metapage.c:736 xtTruncate+0xb8c/0x266c fs/jfs/jfs_xtree.c:-1 jfs_free_zero_link+0x2c0/0x424 fs/jfs/namei.c:758 jfs_evict_inode+0x2f4/0x3e4 fs/jfs/inode.c:159 evict+0x3d8/0x824 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x728/0x7e8 fs/inode.c:1860 txUpdateMap+0x68c/0x7b0 fs/jfs/jfs_txnmgr.c:2368 txLazyCommit fs/jfs/jfs_txnmgr.c:2665 [inline] jfs_lazycommit+0x360/0x930 fs/jfs/jfs_txnmgr.c:2733 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Code: aa1503e0 978da152 91002280 52800081 (f90002b4) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: aa1503e0 mov x0, x21 4: 978da152 bl 0xfffffffffe36854c 8: 91002280 add x0, x20, #0x8 c: 52800081 mov w1, #0x4 // #4 * 10: f90002b4 str x20, [x21] <-- trapping instruction