do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Unable to handle kernel paging request at virtual address dfff800000000004 KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] 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 [dfff800000000004] address between user and kernel address ranges Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 7023 Comm: syz.2.189 Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : crypto_shash_alg include/crypto/hash.h:733 [inline] pc : crypto_shash_update+0x50/0xa8 crypto/shash.c:52 lr : crypto_shash_update+0x30/0xa8 crypto/shash.c:51 sp : ffff8000a0c56620 x29: ffff8000a0c56620 x28: fff1000040000000 x27: ffff8000a0c56800 x26: ffff0000c5a3e7d0 x25: dfff800000000000 x24: ffff8000a0c56800 x23: dfff800000000000 x22: 0000000000000020 x21: ffff8000a0c56800 x20: ffff0000d4ff9000 x19: 0000000000001000 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082f8f174 x15: 0000000000000001 x14: 1ffff00011e7a636 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700011e7a637 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : 0000000000000004 x7 : 0000000000000001 x6 : 0000000000000001 x5 : 00000000ffffffff x4 : 0000000000000cc0 x3 : 0000000000000040 x2 : 0000000000001000 x1 : ffff0000d4ff9000 x0 : ffff8000a0c56800 Call trace: crypto_shash_alg include/crypto/hash.h:733 [inline] crypto_shash_update+0x50/0xa8 crypto/shash.c:52 __bch2_checksum_bio+0xbf4/0x10d8 fs/bcachefs/checksum.c:300 bch2_checksum_bio+0xc0/0x10c fs/bcachefs/checksum.c:319 bch2_write_extent fs/bcachefs/io_write.c:1044 [inline] __bch2_write+0x1d20/0x47f4 fs/bcachefs/io_write.c:1461 bch2_write+0x8bc/0x153c fs/bcachefs/io_write.c:1634 closure_queue include/linux/closure.h:269 [inline] closure_call include/linux/closure.h:425 [inline] bch2_dio_write_loop fs/bcachefs/fs-io-direct.c:531 [inline] bch2_direct_write+0x1670/0x2988 fs/bcachefs/fs-io-direct.c:654 bch2_write_iter+0x1a8/0x2d24 fs/bcachefs/fs-io-buffered.c:1135 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x8f8/0xc38 fs/read_write.c:590 ksys_write+0x15c/0x26c fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:652 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: 9778c38d f94002a8 91008116 d343fec8 (38776908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 9778c38d bl 0xfffffffffde30e34 4: f94002a8 ldr x8, [x21] 8: 91008116 add x22, x8, #0x20 c: d343fec8 lsr x8, x22, #3 * 10: 38776908 ldrb w8, [x8, x23] <-- trapping instruction