================================================================== BUG: KASAN: user-memory-access in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: user-memory-access in atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:400 [inline] BUG: KASAN: user-memory-access in __refcount_sub_and_test include/linux/refcount.h:264 [inline] BUG: KASAN: user-memory-access in __refcount_dec_and_test include/linux/refcount.h:307 [inline] BUG: KASAN: user-memory-access in refcount_dec_and_test include/linux/refcount.h:325 [inline] BUG: KASAN: user-memory-access in posix_acl_release include/linux/posix_acl.h:57 [inline] BUG: KASAN: user-memory-access in __destroy_inode+0x49c/0x860 fs/inode.c:302 Write of size 4 at addr 0000000b00000000 by task syz.1.103/7098 CPU: 0 UID: 0 PID: 7098 Comm: syz.1.103 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 print_report+0xf8/0x538 mm/kasan/report.c:491 kasan_report+0xd8/0x138 mm/kasan/report.c:601 kasan_check_range+0x268/0x2a8 mm/kasan/generic.c:189 __kasan_check_write+0x20/0x30 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:400 [inline] __refcount_sub_and_test include/linux/refcount.h:264 [inline] __refcount_dec_and_test include/linux/refcount.h:307 [inline] refcount_dec_and_test include/linux/refcount.h:325 [inline] posix_acl_release include/linux/posix_acl.h:57 [inline] __destroy_inode+0x49c/0x860 fs/inode.c:302 destroy_inode fs/inode.c:313 [inline] evict+0x71c/0x978 fs/inode.c:756 dispose_list fs/inode.c:774 [inline] evict_inodes+0x708/0x7a0 fs/inode.c:828 generic_shutdown_super+0xa0/0x2bc fs/super.c:627 kill_block_super+0x44/0x90 fs/super.c:1710 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x4ec/0x1ad0 kernel/exit.c:939 do_group_exit+0x194/0x22c kernel/exit.c:1088 get_signal+0x1410/0x152c kernel/signal.c:2918 do_signal+0x1b0/0x391c arch/arm64/kernel/signal.c:1645 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_da+0xbc/0x178 arch/arm64/kernel/entry-common.c:605 el0t_64_sync_handler+0xcc/0x108 arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 ================================================================== Unable to handle kernel paging request at virtual address 0000000b00000000 Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=0000000116364000 [0000000b00000000] pgd=0000000000000000, p4d=0000000000000000 Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 7098 Comm: syz.1.103 Tainted: G B 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __lse_atomic_fetch_add_release arch/arm64/include/asm/atomic_lse.h:62 [inline] pc : __lse_atomic_fetch_sub_release arch/arm64/include/asm/atomic_lse.h:76 [inline] pc : arch_atomic_fetch_sub_release arch/arm64/include/asm/atomic.h:51 [inline] pc : raw_atomic_fetch_sub_release include/linux/atomic/atomic-arch-fallback.h:944 [inline] pc : atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:401 [inline] pc : __refcount_sub_and_test include/linux/refcount.h:264 [inline] pc : __refcount_dec_and_test include/linux/refcount.h:307 [inline] pc : refcount_dec_and_test include/linux/refcount.h:325 [inline] pc : posix_acl_release include/linux/posix_acl.h:57 [inline] pc : __destroy_inode+0x4a8/0x860 fs/inode.c:302 lr : arch_atomic_fetch_sub_release arch/arm64/include/asm/atomic.h:51 [inline] lr : raw_atomic_fetch_sub_release include/linux/atomic/atomic-arch-fallback.h:944 [inline] lr : atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:401 [inline] lr : __refcount_sub_and_test include/linux/refcount.h:264 [inline] lr : __refcount_dec_and_test include/linux/refcount.h:307 [inline] lr : refcount_dec_and_test include/linux/refcount.h:325 [inline] lr : posix_acl_release include/linux/posix_acl.h:57 [inline] lr : __destroy_inode+0x4a4/0x860 fs/inode.c:302 sp : ffff8000a06a7370 x29: ffff8000a06a7370 x28: dfff800000000000 x27: 1fffe0001e3b678a x26: ffff7000140d4e80 x25: 1fffe0001e3b67a4 x24: dfff800000000000 x23: ffff0000f1db3c00 x22: ffff0000c9c36068 x21: 0000000000000001 x20: 0000000000000000 x19: 0000000b00000000 x18: 1fffe000366c3876 x17: ffff80008f8cd000 x16: ffff8000831615b0 x15: 0000000000000001 x14: 1ffff000125bc2e8 x13: 0000000000000000 x12: 0000000000000000 x11: ffff7000125bc2e9 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : 00000000ffffffff x7 : 1fffe000366c3877 x6 : ffff8000802c419c x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000801ea814 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: arch_atomic_fetch_sub_release arch/arm64/include/asm/atomic.h:51 [inline] (P) raw_atomic_fetch_sub_release include/linux/atomic/atomic-arch-fallback.h:944 [inline] (P) atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:401 [inline] (P) __refcount_sub_and_test include/linux/refcount.h:264 [inline] (P) __refcount_dec_and_test include/linux/refcount.h:307 [inline] (P) refcount_dec_and_test include/linux/refcount.h:325 [inline] (P) posix_acl_release include/linux/posix_acl.h:57 [inline] (P) __destroy_inode+0x4a8/0x860 fs/inode.c:302 (P) arch_atomic_fetch_sub_release arch/arm64/include/asm/atomic.h:51 [inline] (L) raw_atomic_fetch_sub_release include/linux/atomic/atomic-arch-fallback.h:944 [inline] (L) atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:401 [inline] (L) __refcount_sub_and_test include/linux/refcount.h:264 [inline] (L) __refcount_dec_and_test include/linux/refcount.h:307 [inline] (L) refcount_dec_and_test include/linux/refcount.h:325 [inline] (L) posix_acl_release include/linux/posix_acl.h:57 [inline] (L) __destroy_inode+0x4a4/0x860 fs/inode.c:302 (L) destroy_inode fs/inode.c:313 [inline] evict+0x71c/0x978 fs/inode.c:756 dispose_list fs/inode.c:774 [inline] evict_inodes+0x708/0x7a0 fs/inode.c:828 generic_shutdown_super+0xa0/0x2bc fs/super.c:627 kill_block_super+0x44/0x90 fs/super.c:1710 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x4ec/0x1ad0 kernel/exit.c:939 do_group_exit+0x194/0x22c kernel/exit.c:1088 get_signal+0x1410/0x152c kernel/signal.c:2918 do_signal+0x1b0/0x391c arch/arm64/kernel/signal.c:1645 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_da+0xbc/0x178 arch/arm64/kernel/entry-common.c:605 el0t_64_sync_handler+0xcc/0x108 arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: 97fa6443 d503201f 97e5539b 12800008 (b8680274) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97fa6443 bl 0xffffffffffe9910c 4: d503201f nop 8: 97e5539b bl 0xffffffffff954e74 c: 12800008 mov w8, #0xffffffff // #-1 * 10: b8680274 ldaddl w8, w20, [x19] <-- trapping instruction