syzbot
kernel BUG at include/linux/scatterlist.h:LINE!
Status:
upstream: reported C repro on 2019/11/13 05:58
Reported-by: syzbot+224805123e079ddfc388@syzkaller.appspotmail.com
First crash: 2451d, last: 2258d
▶
▼
Last patch testing requests (4)
▶
▼
Fix bisection attempts (4)
Sample crash report:
audit: type=1400 audit(1573651526.783:36): avc: denied { map } for pid=7145 comm="syz-executor088" path="/root/syz-executor088833851" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
------------[ cut here ]------------
kernel BUG at include/linux/scatterlist.h:124!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 7171 Comm: syz-executor088 Not tainted 4.14.153 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880a1936240 task.stack: ffff888074840000
RIP: 0010:sg_page include/linux/scatterlist.h:124 [inline]
RIP: 0010:gcmaes_decrypt.constprop.0+0x910/0xd20 arch/x86/crypto/aesni-intel_glue.c:828
RSP: 0018:ffff8880748479b8 EFLAGS: 00010297
RAX: ffff8880a1936240 RBX: ffff8880a1ac7a48 RCX: 0000000087654321
RDX: 0000000000000000 RSI: 1ffff11014358eda RDI: ffff8880a1ac76e4
RBP: ffff888074847a90 R08: ffff8880a1aa0060 R09: ffffed100e908f5a
R10: ffffed100e908f59 R11: ffff888074847acb R12: ffffea0001c304c2
R13: ffff8880a1ac7a7c R14: 0000000000000010 R15: ffff8880a061d080
FS: 0000000001cea880(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020c18000 CR3: 00000000961b8000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
generic_gcmaes_decrypt+0xf4/0x130 arch/x86/crypto/aesni-intel_glue.c:1126
crypto_aead_decrypt include/crypto/aead.h:362 [inline]
gcmaes_wrapper_decrypt+0x162/0x200 arch/x86/crypto/aesni-intel_glue.c:961
crypto_aead_decrypt include/crypto/aead.h:362 [inline]
_aead_recvmsg crypto/algif_aead.c:316 [inline]
aead_recvmsg+0x821/0x1d70 crypto/algif_aead.c:335
aead_recvmsg_nokey+0x5d/0x80 crypto/algif_aead.c:453
sock_recvmsg_nosec net/socket.c:819 [inline]
sock_recvmsg net/socket.c:826 [inline]
sock_recvmsg+0xc6/0x110 net/socket.c:822
SYSC_recvfrom+0x1d2/0x300 net/socket.c:1815
SyS_recvfrom+0x40/0x50 net/socket.c:1787
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x4412b9
RSP: 002b:00007fffeaf20fc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002d
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004412b9
RDX: 0000000100000205 RSI: 0000000020003240 RDI: 0000000000000004
RBP: 000000000000ab44 R08: 0000000000000000 R09: 0000000000000415
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004020e0
R13: 0000000000402170 R14: 0000000000000000 R15: 0000000000000000
Code: 0f 0b e8 74 16 2e 00 0f 0b e8 6d 16 2e 00 0f 0b e8 66 16 2e 00 0f 0b e8 5f 16 2e 00 e8 c6 64 d1 ff e9 63 ff ff ff e8 50 16 2e 00 <0f> 0b e8 49 16 2e 00 0f 0b 4c 89 85 58 ff ff ff e8 3b 16 2e 00
RIP: sg_page include/linux/scatterlist.h:124 [inline] RSP: ffff8880748479b8
RIP: gcmaes_decrypt.constprop.0+0x910/0xd20 arch/x86/crypto/aesni-intel_glue.c:828 RSP: ffff8880748479b8
---[ end trace 7a11f54f6fcfe709 ]---
* Struck through repros no longer work on HEAD.