syzbot


BUG: unable to handle kernel paging request in scatterwalk_copychunks

Status: auto-obsoleted due to no activity on 2023/09/25 13:18
Reported-by: syzbot+f284950a44e32acbf81f@syzkaller.appspotmail.com
First crash: 543d, last: 543d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in scatterwalk_copychunks 3 595d 632d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:08
upstream general protection fault in scatterwalk_copychunks (4) net crypto C done done 1341 355d 1367d 25/28 fixed on 2023/12/22 15:08
linux-4.14 KASAN: use-after-free Read in scatterwalk_copychunks C inconclusive 4 1407d 2062d 0/1 upstream: reported C repro on 2019/04/21 07:18
linux-4.19 KASAN: use-after-free Read in scatterwalk_copychunks C error 17 681d 1897d 0/1 upstream: reported C repro on 2019/10/03 04:34
linux-4.14 KASAN: slab-out-of-bounds Read in scatterwalk_copychunks C inconclusive 6 1415d 1918d 0/1 upstream: reported C repro on 2019/09/11 08:57
linux-4.14 general protection fault in scatterwalk_copychunks C error 204 669d 2062d 0/1 upstream: reported C repro on 2019/04/21 07:15
upstream KASAN: use-after-free Read in scatterwalk_copychunks bcachefs C done 37 2d14h 221d 0/28 upstream: reported C repro on 2024/05/04 09:57
linux-4.19 general protection fault in scatterwalk_copychunks C error 152 671d 2001d 0/1 upstream: reported C repro on 2019/06/20 18:59
upstream general protection fault in scatterwalk_copychunks (5) crypto C done 2920 345d 351d 25/28 fixed on 2024/01/30 15:47

Sample crash report:
Unable to handle kernel paging request at virtual address dfff800000000001
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000001] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 12135 Comm: kworker/u4:30 Not tainted 6.1.34-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
Workqueue: pencrypt_parallel padata_parallel_worker
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : scatterwalk_start include/crypto/scatterwalk.h:63 [inline]
pc : scatterwalk_pagedone include/crypto/scatterwalk.h:83 [inline]
pc : scatterwalk_copychunks+0x3a8/0x558 crypto/scatterwalk.c:50
lr : scatterwalk_pagedone include/crypto/scatterwalk.h:83 [inline]
lr : scatterwalk_copychunks+0x384/0x558 crypto/scatterwalk.c:50
sp : ffff800020547520
x29: ffff800020547560 x28: 0000000000000000 x27: 0000000000000000
x26: 1ffff000040a8f20 x25: 0000000000000000 x24: 0000000000000008
x23: ffff800020547908 x22: 1ffff000040a8f21 x21: ffff800020547900
x20: 0000000000000001 x19: dfff800000000000 x18: ffff800020546f80
x17: ffff80000a78c294 x16: ffff800012054440 x15: ffff80000a78b00c
x14: ffff80000a78e9a4 x13: ffff80000802a8f8 x12: 0000000000000003
x11: ff8080000aa5d204 x10: 0000000000000000 x9 : ffff80000aa5d204
x8 : 0000000000000001 x7 : ffff80000896ca1c x6 : ffff800008969ee8
x5 : ffff0001496bdd00 x4 : ffff000000000000 x3 : ffff80000a7872ec
x2 : 0000000000000000 x1 : 0000000000000002 x0 : 0000000000000000
Call trace:
 scatterwalk_start include/crypto/scatterwalk.h:63 [inline]
 scatterwalk_pagedone include/crypto/scatterwalk.h:83 [inline]
 scatterwalk_copychunks+0x3a8/0x558 crypto/scatterwalk.c:50
 skcipher_next_slow+0x2e8/0x3c4 crypto/skcipher.c:278
 skcipher_walk_next+0x544/0x9d8 crypto/skcipher.c:363
 skcipher_walk_first crypto/skcipher.c:446 [inline]
 skcipher_walk_aead_common+0x6f8/0xd08 crypto/skcipher.c:539
 skcipher_walk_aead_encrypt+0x78/0xbc crypto/skcipher.c:552
 gcm_encrypt+0x264/0x66c arch/arm64/crypto/ghash-ce-glue.c:363
 crypto_aead_encrypt+0xb4/0xe0 crypto/aead.c:94
 pcrypt_aead_enc+0x20/0x90 crypto/pcrypt.c:83
 padata_parallel_worker+0x68/0x1bc kernel/padata.c:144
 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289
 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
Code: 9787974e 91002338 f90002b9 d343ff08 (38f36908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	9787974e 	bl	0xfffffffffe1e5d38
   4:	91002338 	add	x24, x25, #0x8
   8:	f90002b9 	str	x25, [x21]
   c:	d343ff08 	lsr	x8, x24, #3
* 10:	38f36908 	ldrsb	w8, [x8, x19] <-- trapping instruction

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/17 13:18 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in scatterwalk_copychunks
* Struck through repros no longer work on HEAD.