------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:163! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 21961 Comm: syz.7.4341 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:ffffc90005a77948 EFLAGS: 00010287 RAX: ffffffff841413fa RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc90003d89000 RSI: 0000000000000823 RDI: 0000000000000824 RBP: 0000000000000000 R08: ffffc90005a77a9f R09: ffffc90005a77a88 R10: dffffc0000000000 R11: fffff52000b4ef54 R12: 1ffff92000b4ef50 R13: dffffc0000000000 R14: ffffc90005a77a80 R15: 0000000000000010 FS: 00007f45f21066c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2f493b CR3: 0000000067180000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 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:0x7f45f119e199 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:00007f45f2106028 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 00007f45f1425fa0 RCX: 00007f45f119e199 RDX: 00002000000007c0 RSI: 0000200000000780 RDI: 000000000000001b RBP: 00007f45f12350b8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f45f1426038 R14: 00007f45f1425fa0 R15: 00007ffc1affec48 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:ffffc90005a77948 EFLAGS: 00010287 RAX: ffffffff841413fa RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc90003d89000 RSI: 0000000000000823 RDI: 0000000000000824 RBP: 0000000000000000 R08: ffffc90005a77a9f R09: ffffc90005a77a88 R10: dffffc0000000000 R11: fffff52000b4ef54 R12: 1ffff92000b4ef50 R13: dffffc0000000000 R14: ffffc90005a77a80 R15: 0000000000000010 FS: 00007f45f21066c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efdee1f24b8 CR3: 0000000067180000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400