------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:163! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 28065 Comm: syz.2.5537 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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 24 7f c5 fd eb c8 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d2 4c 89 f7 e8 0d 7f c5 fd eb c8 e8 d6 1a 74 fd <0f> 0b e8 cf 1a 74 fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 RSP: 0018:ffffc900146cf948 EFLAGS: 00010283 RAX: ffffffff840e4dca RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc900059d1000 RSI: 0000000000023942 RDI: 0000000000023943 RBP: 0000000000000000 R08: ffffc900146cfa9f R09: ffffc900146cfa88 R10: dffffc0000000000 R11: fffff520028d9f54 R12: 1ffff920028d9f50 R13: dffffc0000000000 R14: ffffc900146cfa80 R15: 0000000000000010 FS: 00007f00522e06c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd18210058 CR3: 000000001cf4a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000008000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 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:2010 [inline] __se_sys_keyctl+0x647/0x870 security/keys/keyctl.c:1887 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:0x7f00513a9559 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:00007f00522e0028 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 00007f0051625fa0 RCX: 00007f00513a9559 RDX: 00002000000033c0 RSI: 0000200000003380 RDI: 0000000000000019 RBP: 00007f0051438136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0051626038 R14: 00007f0051625fa0 R15: 00007ffe095fa648 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 24 7f c5 fd eb c8 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d2 4c 89 f7 e8 0d 7f c5 fd eb c8 e8 d6 1a 74 fd <0f> 0b e8 cf 1a 74 fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 RSP: 0018:ffffc900146cf948 EFLAGS: 00010283 RAX: ffffffff840e4dca RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc900059d1000 RSI: 0000000000023942 RDI: 0000000000023943 RBP: 0000000000000000 R08: ffffc900146cfa9f R09: ffffc900146cfa88 R10: dffffc0000000000 R11: fffff520028d9f54 R12: 1ffff920028d9f50 R13: dffffc0000000000 R14: ffffc900146cfa80 R15: 0000000000000010 FS: 00007f00522e06c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556d27590138 CR3: 000000001cf4a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400