syzbot
BUG: unable to handle kernel paging request in scatterwalk_copychunks
Status:
auto-obsoleted due to no activity on 2023/08/23 09:08
Reported-by: syzbot+734a8ea53c5741ddfb42@syzkaller.appspotmail.com
First crash: 1226d, last: 1189d
▶
▼
Similar bugs (12)
| Kernel |
Title |
Rank
🛈
|
Repro |
Cause bisect |
Fix bisect |
Count |
Last |
Reported |
Patched |
Status |
| linux-6.1 |
BUG: unable to handle kernel paging request in scatterwalk_copychunks
|
8 |
|
|
|
1 |
1137d |
1137d
|
0/3 |
auto-obsoleted due to no activity on 2023/09/25 13:18
|
| upstream |
general protection fault in scatterwalk_copychunks (4)
net
crypto
|
19 |
syz, C |
done |
done |
1341 |
949d |
1960d
|
25/29 |
fixed on 2023/12/22 15:08
|
| linux-4.14 |
KASAN: use-after-free Read in scatterwalk_copychunks
|
19 |
syz, C |
|
inconclusive |
4 |
2000d |
2655d
|
0/1 |
upstream: reported C repro on 2019/04/21 07:18
|
| linux-4.19 |
KASAN: use-after-free Read in scatterwalk_copychunks
|
19 |
syz, C |
|
error |
17 |
1275d |
2490d
|
0/1 |
upstream: reported C repro on 2019/10/03 04:34
|
| linux-4.14 |
KASAN: slab-out-of-bounds Read in scatterwalk_copychunks
|
17 |
syz, C |
|
inconclusive |
6 |
2008d |
2512d
|
0/1 |
upstream: reported C repro on 2019/09/11 08:57
|
| linux-4.14 |
general protection fault in scatterwalk_copychunks
|
2 |
syz, C |
|
error |
204 |
1263d |
2655d
|
0/1 |
upstream: reported C repro on 2019/04/21 07:15
|
| upstream |
KASAN: use-after-free Read in scatterwalk_copychunks
bcachefs
|
19 |
syz, C |
done |
done |
67 |
485d |
815d
|
0/29 |
auto-obsoleted due to no activity on 2025/06/22 13:02
|
| linux-4.19 |
general protection fault in scatterwalk_copychunks
|
2 |
syz, C |
|
error |
152 |
1264d |
2595d
|
0/1 |
upstream: reported C repro on 2019/06/20 18:59
|
| upstream |
general protection fault in scatterwalk_copychunks (5)
crypto
|
2 |
syz, C |
done |
|
2920 |
938d |
945d
|
25/29 |
fixed on 2024/01/30 15:47
|
| upstream |
general protection fault in scatterwalk_copychunks (3)
crypto
|
2 |
syz, C |
|
|
95 |
2835d |
2961d
|
0/29 |
closed as invalid on 2019/06/10 23:08
|
| upstream |
general protection fault in scatterwalk_copychunks (2)
crypto
|
2 |
syz, C |
|
|
141 |
3126d |
3153d
|
3/29 |
fixed on 2018/01/11 01:23
|
| upstream |
general protection fault in scatterwalk_copychunks
crypto
|
2 |
syz, C |
|
|
414 |
3154d |
3164d
|
3/29 |
fixed on 2017/12/08 02:32
|
Sample crash report:
Unable to handle kernel paging request at virtual address dfff800000000001
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: 96000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 1600 Comm: kworker/u4:5 Not tainted 5.15.109-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: pencrypt_parallel padata_parallel_worker
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : scatterwalk_start include/crypto/scatterwalk.h:68 [inline]
pc : scatterwalk_pagedone include/crypto/scatterwalk.h:88 [inline]
pc : scatterwalk_copychunks+0x3a8/0x558 crypto/scatterwalk.c:50
lr : scatterwalk_pagedone include/crypto/scatterwalk.h:88 [inline]
lr : scatterwalk_copychunks+0x384/0x558 crypto/scatterwalk.c:50
sp : ffff800020d57560
x29: ffff800020d575a0 x28: 0000000000000000 x27: 0000000000000000
x26: 1ffff000041aaf28 x25: 0000000000000000 x24: 0000000000000008
x23: ffff800020d57948 x22: 1ffff000041aaf29 x21: ffff800020d57940
x20: 0000000000000010 x19: dfff800000000000 x18: 1fffe000368ffd8e
x17: ffff80000816e1c4 x16: ffff80000824cb18 x15: ffff80000a68395c
x14: ffff80000a681f94 x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a936774 x10: 0000000000000000 x9 : ffff80000a936774
x8 : 0000000000000001 x7 : 0000000000000000 x6 : ffff8000088c22e0
x5 : ffff0000d78a1500 x4 : ffff000000000000 x3 : ffff80000a67e274
x2 : 0000000000000000 x1 : 0000000000000002 x0 : 0000000000000000
Call trace:
scatterwalk_start include/crypto/scatterwalk.h:68 [inline]
scatterwalk_pagedone include/crypto/scatterwalk.h:88 [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
ccm_encrypt+0x334/0xab8 arch/arm64/crypto/aes-ce-ccm-glue.c:242
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+0x790/0x11b8 kernel/workqueue.c:2306
worker_thread+0x910/0x1034 kernel/workqueue.c:2453
kthread+0x37c/0x45c kernel/kthread.c:319
ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
Code: 97891a33 91002338 f90002b9 d343ff08 (38f36908)
---[ end trace 1fd873f913a78ad3 ]---
----------------
Code disassembly (best guess):
0: 97891a33 bl 0xfffffffffe2468cc
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
* Struck through repros no longer work on HEAD.