[v5.15] BUG: unable to handle kernel paging request in scatterwalk_copychunks

5 views
Skip to first unread message

syzbot

unread,
Mar 20, 2023, 2:37:58 PM3/20/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 8020ae3c051d Linux 5.15.103
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17e5ba9ac80000
kernel config: https://syzkaller.appspot.com/x/.config?x=f95b212e0ccdd4d1
dashboard link: https://syzkaller.appspot.com/bug?extid=734a8ea53c5741ddfb42
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/6153dfa8dcc0/disk-8020ae3c.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/2093d52db59f/vmlinux-8020ae3c.xz
kernel image: https://storage.googleapis.com/syzbot-assets/85041d0bd356/Image-8020ae3c.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+734a8e...@syzkaller.appspotmail.com

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: 4534 Comm: kworker/u4:9 Not tainted 5.15.103-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 : ffff80001d1974e0
x29: ffff80001d197520 x28: 0000000000000000 x27: 0000000000000000
x26: 1ffff00003a32f20 x25: 0000000000000000 x24: 0000000000000008
x23: ffff80001d197908 x22: 1ffff00003a32f21 x21: ffff80001d197900
x20: 0000000000000010 x19: dfff800000000000 x18: ffff80001d197140
x17: ffff800008169230 x16: ffff80000824ff34 x15: ffff80000a6eb55c
x14: ffff80000a6e9b94 x13: ffffffffffffffff x12: 0000000000000000
x11: ff8080000a9a2434 x10: 0000000000000000 x9 : ffff80000a9a2434
x8 : 0000000000000001 x7 : 0000000000000000 x6 : ffff8000088cf5a0
x5 : ffff0000c5407900 x4 : ffff000000000000 x3 : ffff80000a6e5e74
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
gcm_encrypt+0x250/0xf10 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+0x84c/0x14b8 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: 9787affe 91002338 f90002b9 d343ff08 (38f36908)
---[ end trace 06feafc714e8d848 ]---
----------------
Code disassembly (best guess):
0: 9787affe bl 0xfffffffffe1ebff8
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


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Aug 23, 2023, 5:08:36 AM8/23/23
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages