------------[ cut here ]------------ kernel BUG at include/linux/scatterlist.h:143! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4450 Comm: syz.2.37 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:143 [inline] RIP: 0010:sg_init_one+0x14a/0x160 lib/scatterlist.c:141 Code: 80 c1 03 38 c1 7c cf e8 54 cd d7 fd eb c8 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d2 4c 89 f7 e8 3d cd d7 fd eb c8 e8 d6 87 92 fd <0f> 0b e8 cf 87 92 fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 RSP: 0018:ffffc900039ff928 EFLAGS: 00010283 RAX: ffffffff83e69b8a RBX: ffffc900039ffc40 RCX: 0000000000080000 RDX: ffffc90005aa1000 RSI: 0000000000001801 RDI: 0000000000001802 RBP: 0000000000000000 R08: ffffc900039ffa9f R09: ffffc900039ffa88 R10: dffffc0000000000 R11: fffff5200073ff54 R12: 1ffff9200073ff50 R13: dffffc0000000000 R14: ffffc900039ffa80 R15: 0000000000000010 FS: 00007f979015b6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04b0850ff8 CR3: 0000000023f76000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: software_key_eds_op+0x4f6/0xb30 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+0x6c6/0xa20 security/keys/keyctl.c:1886 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f9791f03559 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:00007f979015b028 EFLAGS: 00000246 ORIG_RAX: 00000000000000fa RAX: ffffffffffffffda RBX: 00007f979218afa0 RCX: 00007f9791f03559 RDX: 0000200000000e40 RSI: 0000200000000e00 RDI: 0000000000000019 RBP: 00007f9791f9a8b0 R08: 0000200000000e80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f979218b038 R14: 00007f979218afa0 R15: 00007ffd6172ef38 Modules linked in: ---[ end trace 74d13a65cae7959b ]--- RIP: 0010:sg_set_buf include/linux/scatterlist.h:143 [inline] RIP: 0010:sg_init_one+0x14a/0x160 lib/scatterlist.c:141 Code: 80 c1 03 38 c1 7c cf e8 54 cd d7 fd eb c8 44 89 f1 80 e1 07 80 c1 03 38 c1 7c d2 4c 89 f7 e8 3d cd d7 fd eb c8 e8 d6 87 92 fd <0f> 0b e8 cf 87 92 fd 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 RSP: 0018:ffffc900039ff928 EFLAGS: 00010283 RAX: ffffffff83e69b8a RBX: ffffc900039ffc40 RCX: 0000000000080000 RDX: ffffc90005aa1000 RSI: 0000000000001801 RDI: 0000000000001802 RBP: 0000000000000000 R08: ffffc900039ffa9f R09: ffffc900039ffa88 R10: dffffc0000000000 R11: fffff5200073ff54 R12: 1ffff9200073ff50 R13: dffffc0000000000 R14: ffffc900039ffa80 R15: 0000000000000010 FS: 00007f979015b6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04b0850ff8 CR3: 0000000023f76000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400