================================================================== BUG: KASAN: wild-memory-access in instrument_atomic_read_write include/linux/instrumented.h:102 [inline] BUG: KASAN: wild-memory-access in atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:176 [inline] BUG: KASAN: wild-memory-access in __refcount_sub_and_test include/linux/refcount.h:272 [inline] BUG: KASAN: wild-memory-access in __refcount_dec_and_test include/linux/refcount.h:315 [inline] BUG: KASAN: wild-memory-access in refcount_dec_and_test include/linux/refcount.h:333 [inline] BUG: KASAN: wild-memory-access in posix_acl_release include/linux/posix_acl.h:57 [inline] BUG: KASAN: wild-memory-access in v9fs_get_acl+0x1a4/0x390 fs/9p/acl.c:102 Write of size 4 at addr 8ee39fbd73cbf3ba by task syz-executor.0/12191 CPU: 1 PID: 12191 Comm: syz-executor.0 Not tainted 6.3.0-rc5-syzkaller-g9a03cbd79d3a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 print_report+0xe4/0x514 mm/kasan/report.c:433 kasan_report+0xd4/0x130 mm/kasan/report.c:536 kasan_check_range+0x264/0x2a4 mm/kasan/generic.c:187 __kasan_check_write+0x2c/0x3c mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:102 [inline] atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:176 [inline] __refcount_sub_and_test include/linux/refcount.h:272 [inline] __refcount_dec_and_test include/linux/refcount.h:315 [inline] refcount_dec_and_test include/linux/refcount.h:333 [inline] posix_acl_release include/linux/posix_acl.h:57 [inline] v9fs_get_acl+0x1a4/0x390 fs/9p/acl.c:102 v9fs_mount+0x77c/0xa5c fs/9p/vfs_super.c:183 legacy_get_tree+0xd4/0x16c fs/fs_context.c:610 vfs_get_tree+0x90/0x274 fs/super.c:1510 do_new_mount+0x25c/0x8c8 fs/namespace.c:3042 path_mount+0x590/0xe20 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3571 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 ================================================================== Unable to handle kernel paging request at virtual address 8ee39fbd73cbf3ba Mem abort info: ESR = 0x0000000096000021 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x21: alignment fault Data abort info: ISV = 0, ISS = 0x00000021 CM = 0, WnR = 0 [8ee39fbd73cbf3ba] address between user and kernel address ranges Internal error: Oops: 0000000096000021 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 12191 Comm: syz-executor.0 Tainted: G B 6.3.0-rc5-syzkaller-g9a03cbd79d3a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 pstate: 60400005 (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 : atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:177 [inline] pc : __refcount_sub_and_test include/linux/refcount.h:272 [inline] pc : __refcount_dec_and_test include/linux/refcount.h:315 [inline] pc : refcount_dec_and_test include/linux/refcount.h:333 [inline] pc : posix_acl_release include/linux/posix_acl.h:57 [inline] pc : v9fs_get_acl+0x1b0/0x390 fs/9p/acl.c:102 lr : arch_atomic_fetch_sub_release arch/arm64/include/asm/atomic.h:51 [inline] lr : atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:177 [inline] lr : __refcount_sub_and_test include/linux/refcount.h:272 [inline] lr : __refcount_dec_and_test include/linux/refcount.h:315 [inline] lr : refcount_dec_and_test include/linux/refcount.h:333 [inline] lr : posix_acl_release include/linux/posix_acl.h:57 [inline] lr : v9fs_get_acl+0x1ac/0x390 fs/9p/acl.c:102 sp : ffff80002d2a7970 x29: ffff80002d2a7970 x28: dfff800000000000 x27: 1ffff00005a54f3c x26: 1ffff00005a54f38 x25: ffff0000ddc754f8 x24: ffff0000ddc75490 x23: ffff000133dd0000 x22: dfff800000000000 x21: 8ee39fbd73cbf3ba x20: 00000000fffffffb x19: fffffffffffffffb x18: 1fffe000368517b6 x17: ffff800015c8d000 x16: ffff800012328c14 x15: 0000000000000000 x14: 0000000040000000 x13: 0000000000000002 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001fa59000 x9 : ffff800009ceccb0 x8 : 00000000ffffffff x7 : 1fffe000368517b7 x6 : ffff800008281cb4 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000081b2e2c x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: arch_atomic_fetch_sub_release arch/arm64/include/asm/atomic.h:51 [inline] atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:177 [inline] __refcount_sub_and_test include/linux/refcount.h:272 [inline] __refcount_dec_and_test include/linux/refcount.h:315 [inline] refcount_dec_and_test include/linux/refcount.h:333 [inline] posix_acl_release include/linux/posix_acl.h:57 [inline] v9fs_get_acl+0x1b0/0x390 fs/9p/acl.c:102 v9fs_mount+0x77c/0xa5c fs/9p/vfs_super.c:183 legacy_get_tree+0xd4/0x16c fs/fs_context.c:610 vfs_get_tree+0x90/0x274 fs/super.c:1510 do_new_mount+0x25c/0x8c8 fs/namespace.c:3042 path_mount+0x590/0xe20 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3571 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: 97b1f8e0 d503201f 97a049c8 12800008 (b86802b6) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97b1f8e0 bl 0xfffffffffec7e380 4: d503201f nop 8: 97a049c8 bl 0xfffffffffe812728 c: 12800008 mov w8, #0xffffffff // #-1 * 10: b86802b6 ldaddl w8, w22, [x21] <-- trapping instruction