Oops: general protection fault, probably for non-canonical address 0xe008c208660a09ca: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: maybe wild-memory-access in range [0x0046304330504e50-0x0046304330504e57] CPU: 1 UID: 3327 PID: 10107 Comm: syz.1.683 Not tainted 6.11.0-syzkaller-04744-gbdf56c7580d2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:strlen+0x2c/0x70 lib/string.c:402 Code: 1e fa 41 57 41 56 41 54 53 49 89 fe 48 c7 c0 ff ff ff ff 49 bf 00 00 00 00 00 fc ff df 48 89 fb 49 89 c4 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 12 48 ff c3 49 8d 44 24 01 43 80 7c 26 01 RSP: 0018:ffffc900036c7838 EFLAGS: 00010206 RAX: 0008c608660a09ca RBX: 0046304330504e50 RCX: 0000000000040000 RDX: ffffc90009f7c000 RSI: 00000000000002eb RDI: 0046304330504e50 RBP: 00000000fffffff3 R08: ffffffff897a37ca R09: 3d7463656a626f20 R10: dffffc0000000000 R11: ffffed100f30ea0d R12: ffffffffffffffff R13: ffff88802d81bc00 R14: 0046304330504e50 R15: dffffc0000000000 FS: 00007fa09cb2f6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef0dff8 CR3: 000000002d828000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: audit_log_untrustedstring+0x25/0x1b0 kernel/audit.c:2135 smack_log_callback+0x105/0x1b0 security/smack/smack_access.c:321 common_lsm_audit+0xfd/0x1b30 security/lsm_audit.c:456 smack_log+0x421/0x540 security/smack/smack_access.c:383 smk_access+0x4a4/0x4e0 security/smack/smack_access.c:199 smack_watch_key+0x2f4/0x3a0 security/smack/smack_lsm.c:4656 security_watch_key+0x86/0x250 security/security.c:4448 keyctl_watch_key+0x2b7/0x480 security/keys/keyctl.c:1813 __do_sys_keyctl security/keys/keyctl.c:2021 [inline] __se_sys_keyctl+0x106/0xa50 security/keys/keyctl.c:1874 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa09bd7def9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa09cb2f038 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 00007fa09bf35f80 RCX: 00007fa09bd7def9 RDX: 0000000000000008 RSI: 000000003ec28e02 RDI: 0000000000000020 RBP: 00007fa09bdf0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa09bf35f80 R15: 00007ffc96686378 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:strlen+0x2c/0x70 lib/string.c:402 Code: 1e fa 41 57 41 56 41 54 53 49 89 fe 48 c7 c0 ff ff ff ff 49 bf 00 00 00 00 00 fc ff df 48 89 fb 49 89 c4 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 12 48 ff c3 49 8d 44 24 01 43 80 7c 26 01 RSP: 0018:ffffc900036c7838 EFLAGS: 00010206 RAX: 0008c608660a09ca RBX: 0046304330504e50 RCX: 0000000000040000 RDX: ffffc90009f7c000 RSI: 00000000000002eb RDI: 0046304330504e50 RBP: 00000000fffffff3 R08: ffffffff897a37ca R09: 3d7463656a626f20 R10: dffffc0000000000 R11: ffffed100f30ea0d R12: ffffffffffffffff R13: ffff88802d81bc00 R14: 0046304330504e50 R15: dffffc0000000000 FS: 00007fa09cb2f6c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2db1eff8 CR3: 000000002d828000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: fa cli 1: 41 57 push %r15 3: 41 56 push %r14 5: 41 54 push %r12 7: 53 push %rbx 8: 49 89 fe mov %rdi,%r14 b: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax 12: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 19: fc ff df 1c: 48 89 fb mov %rdi,%rbx 1f: 49 89 c4 mov %rax,%r12 22: 48 89 d8 mov %rbx,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 75 12 jne 0x44 32: 48 ff c3 inc %rbx 35: 49 8d 44 24 01 lea 0x1(%r12),%rax 3a: 43 rex.XB 3b: 80 .byte 0x80 3c: 7c 26 jl 0x64 3e: 01 .byte 0x1