Unable to handle kernel NULL pointer dereference at virtual address 0000000000000009 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=000000010ec84000 [0000000000000009] pgd=0800000114a12403, p4d=0800000114a12403, pud=0000000000000000 Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 1 UID: 0 PID: 6709 Comm: syz.2.23 Not tainted 6.14.0-rc4-syzkaller-ge056da87c780 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : const_folio_flags include/linux/page-flags.h:310 [inline] pc : folio_test_active include/linux/page-flags.h:519 [inline] pc : slab_test_pfmemalloc mm/slab.h:176 [inline] pc : pfmemalloc_match mm/slub.c:3558 [inline] pc : ___slab_alloc+0x27c/0xf4c mm/slub.c:3699 lr : __slab_alloc+0x74/0xd0 mm/slub.c:3916 sp : ffff8000a4927330 x29: ffff8000a4927390 x28: 0000000000000000 x27: 0000000000000d40 x26: 0000000000000001 x25: 00000000ffffffff x24: 00007dfe9ba5c140 x23: 0000000000000001 x22: ffff8000828f1d08 x21: ffff8000977f7688 x20: fffffdffbf704140 x19: ffff0000d7bc4dc0 x18: ffff8000a4927100 x17: 0000000000020e58 x16: ffff8000832b5180 x15: 0000000000000001 x14: 1ffff000126db5b4 x13: dfff800000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000000003 x9 : ffff80008fbc1170 x8 : d9857198dde56c00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 00000000000000cc x4 : fffffdffbf704140 x3 : ffff8000828f1d08 x2 : 00000000ffffffff x1 : 0000000000000d40 x0 : ffff0000d7bc4dc0 Call trace: ___slab_alloc+0x27c/0xf4c (P) __slab_alloc+0x74/0xd0 mm/slub.c:3916 __slab_alloc_node mm/slub.c:3991 [inline] slab_alloc_node mm/slub.c:4152 [inline] kmem_cache_alloc_noprof+0x300/0x410 mm/slub.c:4171 f2fs_kmem_cache_alloc fs/f2fs/f2fs.h:2855 [inline] xattr_alloc fs/f2fs/xattr.c:30 [inline] lookup_all_xattrs fs/f2fs/xattr.c:333 [inline] f2fs_getxattr+0x400/0xcbc fs/f2fs/xattr.c:533 f2fs_xattr_generic_get+0x130/0x174 fs/f2fs/xattr.c:63 __vfs_getxattr+0x394/0x3c0 fs/xattr.c:423 cap_inode_need_killpriv+0x50/0x78 security/commoncap.c:330 security_inode_need_killpriv+0x90/0x298 security/security.c:2638 dentry_needs_remove_privs fs/inode.c:2220 [inline] file_remove_privs_flags+0x1d8/0x4d0 fs/inode.c:2251 file_modified_flags+0x5c/0x444 fs/inode.c:2411 file_modified+0x24/0x34 fs/inode.c:2440 f2fs_write_checks fs/f2fs/file.c:4765 [inline] f2fs_file_write_iter+0x328/0x1db8 fs/f2fs/file.c:5057 new_sync_write fs/read_write.c:586 [inline] vfs_write+0x704/0xa9c fs/read_write.c:679 ksys_pwrite64 fs/read_write.c:786 [inline] __do_sys_pwrite64 fs/read_write.c:794 [inline] __se_sys_pwrite64 fs/read_write.c:791 [inline] __arm64_sys_pwrite64+0x188/0x220 fs/read_write.c:791 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: aa1703e1 94a62da8 17ffffe3 12800019 (394022e8) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: aa1703e1 mov x1, x23 4: 94a62da8 bl 0x298b6a4 8: 17ffffe3 b 0xffffffffffffff94 c: 12800019 mov w25, #0xffffffff // #-1 * 10: 394022e8 ldrb w8, [x23, #8] <-- trapping instruction