Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 user pgtable: 4k pages, 52-bit VAs, pgdp=0000000069ca7180 [0000000000000000] pgd=080000007d9b2003, p4d=08000000603a3003, pud=080000007edad003, pmd=0000000000000000 Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 1 UID: 0 PID: 24497 Comm: syz.1.5955 Tainted: G B 6.11.0-syzkaller-09959-gabf2050f51fd #0 Tainted: [B]=BAD_PAGE Hardware name: linux,dummy-virt (DT) pstate: 61400009 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) pc : __pi_strlen+0x14/0x150 arch/arm64/lib/strlen.S:87 lr : audit_log_untrustedstring+0x20/0x40 kernel/audit.c:2135 sp : ffff80008319bc00 x29: ffff80008319bc00 x28: faf0000008d2b6c0 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000000000 x24: f5f0000009254800 x23: 00000000fffffff3 x22: 0000000000000000 x21: ffff80008051bff0 x20: f1f000000407b660 x19: 0000000000000000 x18: ffffffffffffffff x17: ffff800080027db0 x16: ffff8000804f38c8 x15: ffff80008319b9e0 x14: 0000000000000000 x13: f0f00000251da81f x12: ffff800080027eb8 x11: ffff800080011558 x10: 000000000000005f x9 : 000000000000028a x8 : 0101010101010101 x7 : 00000000000006c0 x6 : 0000000000000059 x5 : f0f00000251da859 x4 : 0000000000000000 x3 : 0000000000000061 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __pi_strlen+0x14/0x150 arch/arm64/lib/strlen.S:86 smack_log_callback+0x7c/0xc8 security/smack/smack_access.c:321 common_lsm_audit+0x5c/0x85c security/lsm_audit.c:456 smack_log+0xec/0x140 security/smack/smack_access.c:383 smk_access+0x104/0x148 security/smack/smack_access.c:199 smack_watch_key+0xe0/0xf8 security/smack/smack_lsm.c:4656 security_watch_key+0x58/0x148 security/security.c:4448 keyctl_watch_key+0xb0/0x1cc security/keys/keyctl.c:1813 __do_sys_keyctl security/keys/keyctl.c:2021 [inline] __se_sys_keyctl security/keys/keyctl.c:1874 [inline] __arm64_sys_keyctl+0x50/0x290 security/keys/keyctl.c:1874 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x48/0x110 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:132 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:151 el0_svc+0x34/0xec arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:598 Code: 92400c04 b200c3e8 f100009f 5400088c (a9400c02) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 92400c04 and x4, x0, #0xf 4: b200c3e8 mov x8, #0x101010101010101 // #72340172838076673 8: f100009f cmp x4, #0x0 c: 5400088c b.gt 0x11c * 10: a9400c02 ldp x2, x3, [x0] <-- trapping instruction