------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:163! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10192 Comm: syz.1.1282 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:sg_set_buf include/linux/scatterlist.h:163 [inline] RIP: 0010:sg_init_one+0x14a/0x160 lib/scatterlist.c:141 Code: 80 c1 03 38 c1 7c cf e8 a4 8d bf fd eb c8 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d2 4c 89 f7 e8 8d 8d bf fd eb c8 e8 86 32 6e fd <0f> 0b e8 7f 32 6e fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 RSP: 0018:ffffc90003f3f948 EFLAGS: 00010287 RAX: ffffffff841413fa RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc90006359000 RSI: 0000000000000eda RDI: 0000000000000edb RBP: 0000000000000000 R08: ffffc90003f3fa9f R09: ffffc90003f3fa88 R10: dffffc0000000000 R11: fffff520007e7f54 R12: 1ffff920007e7f50 R13: dffffc0000000000 R14: ffffc90003f3fa80 R15: 0000000000000010 FS: 00007ffac11bc6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000006000 CR3: 0000000043334000 CR4: 00000000003506e0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083 DR3: ffffffffefffff15 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: software_key_eds_op+0x4f7/0xba0 crypto/asymmetric_keys/public_key.c:277 keyctl_pkey_e_d_s+0x208/0x300 security/keys/keyctl_pkey.c:262 __do_sys_keyctl security/keys/keyctl.c:2009 [inline] __se_sys_keyctl+0x647/0x870 security/keys/keyctl.c:1886 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ffac039e199 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffac11bc028 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 00007ffac0625fa0 RCX: 00007ffac039e199 RDX: 00002000000007c0 RSI: 0000200000000140 RDI: 0000000000000019 RBP: 00007ffac04358e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffac0626038 R14: 00007ffac0625fa0 R15: 00007ffefe74d8d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:sg_set_buf include/linux/scatterlist.h:163 [inline] RIP: 0010:sg_init_one+0x14a/0x160 lib/scatterlist.c:141 Code: 80 c1 03 38 c1 7c cf e8 a4 8d bf fd eb c8 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d2 4c 89 f7 e8 8d 8d bf fd eb c8 e8 86 32 6e fd <0f> 0b e8 7f 32 6e fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 RSP: 0018:ffffc90003f3f948 EFLAGS: 00010287 RAX: ffffffff841413fa RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc90006359000 RSI: 0000000000000eda RDI: 0000000000000edb RBP: 0000000000000000 R08: ffffc90003f3fa9f R09: ffffc90003f3fa88 R10: dffffc0000000000 R11: fffff520007e7f54 R12: 1ffff920007e7f50 R13: dffffc0000000000 R14: ffffc90003f3fa80 R15: 0000000000000010 FS: 00007ffac11bc6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b8786e3180 CR3: 0000000043334000 CR4: 00000000003506f0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083 DR3: ffffffffefffff15 DR6: 00000000fffe0ff0 DR7: 0000000000000400