syzbot


general protection fault in scatterwalk_copychunks (3)

Status: closed as invalid on 2019/06/10 23:08
Reported-by: syzbot+db0b320fadd1b9853ebb@syzkaller.appspotmail.com
First crash: 1471d, last: 1345d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in scatterwalk_copychunks (4) C done 104 2d12h 470d 0/22 upstream: reported C repro on 2021/03/16 06:48
upstream general protection fault in scatterwalk_copychunks (2) C 141 1636d 1663d 3/22 fixed on 2018/01/11 01:23
linux-4.14 general protection fault in scatterwalk_copychunks C error 189 48d 1165d 0/1 upstream: reported C repro on 2019/04/21 07:15
linux-4.19 general protection fault in scatterwalk_copychunks C error 125 6d05h 1104d 0/1 upstream: reported C repro on 2019/06/20 18:59
upstream general protection fault in scatterwalk_copychunks C 414 1664d 1673d 3/22 fixed on 2017/12/08 02:32

Sample crash report:
RBP: 00007fff94c3a530 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000006 R14: 0000000000000000 R15: 0000000000000000
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
CPU: 0 PID: 4538 Comm: syz-executor098 Not tainted 4.18.0-rc1+ #108
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:86 [inline]
RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline]
RIP: 0010:scatterwalk_copychunks+0x3ae/0x500 crypto/scatterwalk.c:55
Code: 4c 89 f8 48 c1 e8 03 80 3c 08 00 0f 85 2b 01 00 00 49 8d 7c 24 08 4d 89 27 48 ba 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <0f> b6 04 10 84 c0 74 08 3c 03 0f 8e 34 01 00 00 48 8b 45 c8 0f b6 
RSP: 0018:ffff8801d920eb10 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000022 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: ffffffff835bb712 RDI: 0000000000000008
RBP: ffff8801d920eb60 R08: ffff8801d8d86400 R09: ffffed0038774002
R10: ffffed0038774004 R11: ffff8801c3ba0021 R12: 0000000000000000
R13: 0000000000000022 R14: 0000000000000005 R15: ffff8801d920eba8
FS:  00000000010b6880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004b63d8 CR3: 00000001acd52000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 scatterwalk_map_and_copy+0x1f0/0x260 crypto/scatterwalk.c:72
 gcmaes_crypt_by_sg+0xcee/0x1ee0 arch/x86/crypto/aesni-intel_glue.c:908
 gcmaes_encrypt.constprop.16+0x716/0xf10 arch/x86/crypto/aesni-intel_glue.c:929
 generic_gcmaes_encrypt+0x12d/0x186 arch/x86/crypto/aesni-intel_glue.c:1294
 crypto_aead_encrypt include/crypto/aead.h:335 [inline]
 gcmaes_wrapper_encrypt+0x162/0x200 arch/x86/crypto/aesni-intel_glue.c:1127
 crypto_aead_encrypt include/crypto/aead.h:335 [inline]
 tls_do_encryption net/tls/tls_sw.c:211 [inline]
 tls_push_record+0x966/0x1400 net/tls/tls_sw.c:247
 tls_sw_sendpage+0x5ff/0xf60 net/tls/tls_sw.c:601
 inet_sendpage+0x1de/0x750 net/ipv4/af_inet.c:815
 kernel_sendpage+0x93/0xf0 net/socket.c:3367
 sock_sendpage+0x8c/0xc0 net/socket.c:870
 pipe_to_sendpage+0x2d0/0x400 fs/splice.c:452
 splice_from_pipe_feed fs/splice.c:503 [inline]
 __splice_from_pipe+0x38e/0x7c0 fs/splice.c:627
 splice_from_pipe+0x1ea/0x340 fs/splice.c:662
 generic_splice_sendpage+0x3c/0x50 fs/splice.c:833
 do_splice_from fs/splice.c:852 [inline]
 direct_splice_actor+0x128/0x190 fs/splice.c:1019
 splice_direct_to_actor+0x318/0x8f0 fs/splice.c:974
 do_splice_direct+0x2d4/0x420 fs/splice.c:1062
 do_sendfile+0x623/0xe20 fs/read_write.c:1440
 __do_sys_sendfile64 fs/read_write.c:1495 [inline]
 __se_sys_sendfile64 fs/read_write.c:1487 [inline]
 __x64_sys_sendfile64+0x15d/0x250 fs/read_write.c:1487
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x440cc9
Code: e8 0c b6 02 00 48 83 c4 18 c3 0f 1f 80 00 00 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 0f 83 9b 10 fc ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007fff94c3a518 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440cc9
RDX: 00000000200000c0 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007fff94c3a530 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000006 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace 687f8ba94a271f8a ]---
RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:86 [inline]
RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline]
RIP: 0010:scatterwalk_copychunks+0x3ae/0x500 crypto/scatterwalk.c:55
Code: 4c 89 f8 48 c1 e8 03 80 3c 08 00 0f 85 2b 01 00 00 49 8d 7c 24 08 4d 89 27 48 ba 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <0f> b6 04 10 84 c0 74 08 3c 03 0f 8e 34 01 00 00 48 8b 45 c8 0f b6 
RSP: 0018:ffff8801d920eb10 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000022 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: ffffffff835bb712 RDI: 0000000000000008
RBP: ffff8801d920eb60 R08: ffff8801d8d86400 R09: ffffed0038774002
R10: ffffed0038774004 R11: ffff8801c3ba0021 R12: 0000000000000000
R13: 0000000000000022 R14: 0000000000000005 R15: ffff8801d920eba8
FS:  00000000010b6880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004b63d8 CR3: 00000001acd52000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (95):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2018/06/18 20:49 upstream 9ffc59d57228 45c54f75 .config log report syz C
ci-upstream-kasan-gce 2018/10/23 07:16 upstream ca9eb48fe01f ecb386fe .config log report
ci-upstream-kasan-gce 2018/10/12 10:19 upstream 0778a9f2dd92 ba6ddb43 .config log report
ci-upstream-kasan-gce 2018/10/11 17:38 upstream 9dcd936c5312 5f818b4b .config log report
ci-upstream-kasan-gce-smack-root 2018/10/06 21:40 upstream 091a1eaa0e30 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/04 03:06 upstream 6bebe37927f3 8b311eaf .config log report
ci-upstream-kasan-gce 2018/09/30 13:25 upstream 291d0e5d81e1 41e4b329 .config log report
ci-upstream-kasan-gce-smack-root 2018/09/26 00:17 upstream 846e8dd47c26 b7e11289 .config log report
ci-upstream-kasan-gce 2018/09/24 22:01 upstream 02214bfc89c7 2f485cdf .config log report
ci-upstream-kasan-gce 2018/09/21 19:30 upstream 234b69e3e089 37079712 .config log report
ci-upstream-kasan-gce 2018/08/31 02:24 upstream 58c3f14f86c9 938220fd .config log report
ci-upstream-kasan-gce 2018/08/30 08:34 upstream ff69279a44e9 6c7e9d3d .config log report
ci-upstream-kasan-gce 2018/08/29 07:12 upstream 3f16503b7d22 53ff8784 .config log report
ci-upstream-kasan-gce 2018/08/23 04:21 upstream 899fbc33fd77 95b5c82b .config log report
ci-upstream-kasan-gce 2018/08/18 05:18 upstream 1f7a4c73a739 db1858f6 .config log report
ci-upstream-kasan-gce 2018/08/17 08:51 upstream 5c60a7389d79 9ccc1d45 .config log report
ci-upstream-kasan-gce 2018/08/16 09:24 upstream dafa5f6577a9 9ccc1d45 .config log report
ci-upstream-kasan-gce-root 2018/08/14 14:06 upstream 10f3e23f07cb 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/14 07:19 upstream 7796916146b8 7a88b141 .config log report
ci-upstream-kasan-gce-root 2018/08/13 15:56 upstream 94710cac0ef4 7a88b141 .config log report
ci-upstream-kasan-gce 2018/08/12 06:14 upstream ec0c96714e7d 7a88b141 .config log report
ci-upstream-kasan-gce 2018/08/09 17:05 upstream fedb8da96355 1fb62d58 .config log report
ci-upstream-kasan-gce 2018/08/06 01:02 upstream a8c199208cd6 1beb8136 .config log report
ci-upstream-kasan-gce 2018/08/01 21:31 upstream 44960f2a7b63 0a7cf4ec .config log report
ci-upstream-kasan-gce 2018/07/31 22:32 upstream c1d61e7fe376 1477993e .config log report
ci-upstream-kasan-gce 2018/07/30 21:26 upstream acb1872577b3 1a381291 .config log report
ci-upstream-kasan-gce-root 2018/06/18 19:06 upstream 9ffc59d57228 45c54f75 .config log report
ci-upstream-net-this-kasan-gce 2018/10/22 12:57 net 23469de647c4 ecb386fe .config log report
ci-upstream-net-this-kasan-gce 2018/10/20 13:17 net d55bef5059dd ecb386fe .config log report
ci-upstream-net-this-kasan-gce 2018/10/18 23:51 net 6b839b6cf9ea 9aba67b5 .config log report
ci-upstream-net-this-kasan-gce 2018/10/13 17:47 net bab5c80b2110 caf12900 .config log report
ci-upstream-net-this-kasan-gce 2018/10/13 02:36 net bab5c80b2110 caf12900 .config log report
ci-upstream-net-this-kasan-gce 2018/10/10 22:01 net 52b5d6f5dcf0 5b11ac2c .config log report
ci-upstream-net-this-kasan-gce 2018/10/06 23:16 net c1d84a1b42ef 8b311eaf .config log report
ci-upstream-net-this-kasan-gce 2018/10/05 09:29 net 9d2f67e43b73 8b311eaf .config log report
ci-upstream-net-this-kasan-gce 2018/10/03 18:18 net 9003b369499b 8b311eaf .config log report
ci-upstream-net-this-kasan-gce 2018/10/03 17:46 net 9003b369499b 8b311eaf .config log report
ci-upstream-net-this-kasan-gce 2018/10/02 18:09 net ad5f97faff42 a316a2af .config log report
ci-upstream-net-this-kasan-gce 2018/10/02 07:17 net 1ad98e9d1bdf e06f7713 .config log report
ci-upstream-net-this-kasan-gce 2018/10/01 19:46 net 43955a45dc0b 48a50c6b .config log report
ci-upstream-net-this-kasan-gce 2018/09/29 07:24 net 05c5e9ff22e3 41e4b329 .config log report
ci-upstream-net-this-kasan-gce 2018/09/27 22:45 net d4ce58082f20 0c2fa87b .config log report
ci-upstream-net-this-kasan-gce 2018/09/25 13:06 net f4a518797b40 0e7547d7 .config log report
ci-upstream-net-this-kasan-gce 2018/09/23 07:02 net 8ac1ee6f4d62 37079712 .config log report
ci-upstream-linux-next-kasan-gce-root 2018/08/13 12:51 linux-next 5ed5da74de9e 7a88b141 .config log report
ci-upstream-linux-next-kasan-gce-root 2018/08/01 00:14 linux-next d1e0b8e0cb7a 1477993e .config log report