syzbot


riscv/fixes test error: BUG: unable to handle kernel paging request in corrupted

Status: auto-closed as invalid on 2022/01/15 14:11
Subsystems: tomoyo
[Documentation on labels]
Reported-by: syzbot+fd2f89c6e52024e6118d@syzkaller.appspotmail.com
First crash: 954d, last: 944d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] riscv/fixes test error: BUG: unable to handle kernel paging request in corrupted 0 (1) 2021/09/11 21:19

Sample crash report:
Unable to handle kernel paging request at virtual address 0000000000002d48
Oops [#1]
Modules linked in:
CPU: 1 PID: 2922 Comm: dhcpcd Not tainted 5.14.0-syzkaller #0
Hardware name: riscv-virtio,qemu (DT)
epc : slab_alloc_node mm/slub.c:2900 [inline]
epc : slab_alloc mm/slub.c:2967 [inline]
epc : __kmalloc+0xce/0x388 mm/slub.c:4111
 ra : slab_pre_alloc_hook mm/slab.h:494 [inline]
 ra : slab_alloc_node mm/slub.c:2880 [inline]
 ra : slab_alloc mm/slub.c:2967 [inline]
 ra : __kmalloc+0x6e/0x388 mm/slub.c:4111
epc : ffffffff803e3568 ra : ffffffff803e3508 sp : ffffffe00bfcf4d0
 gp : ffffffff83f967d8 tp : ffffffe00bed97c0 t0 : ffffffe00ec973a8
 t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffe00bfcf570
 s1 : ffffffe005601640 a0 : 0000000000000000 a1 : ffffffe00bfcf8bc
 a2 : 1ffffffff07aa51f a3 : 0000000000002d48 a4 : 0000000004000000
 a5 : ffffffff82e4b2b0 a6 : 0000000000f00000 a7 : ffffffff8038ca52
 s2 : ffffffff83f96adc s3 : 0000000000002d40 s4 : 0000000000000030
 s5 : ffffffff80807294 s6 : ffffffff83f9a0d0 s7 : 0000000000000000
 s8 : 0000000000002d40 s9 : 0000000000000001 s10: ffffffffffffffff
 s11: ffffffe00bfcf671 t3 : 259093367511a400 t4 : ffffffc401d92ea0
 t5 : ffffffc401d92ea1 t6 : ffffffe00ede35af
status: 0000000000000120 badaddr: 0000000000002d48 cause: 000000000000000d
[<ffffffff803e3568>] slab_alloc_node mm/slub.c:2900 [inline]
[<ffffffff803e3568>] slab_alloc mm/slub.c:2967 [inline]
[<ffffffff803e3568>] __kmalloc+0xce/0x388 mm/slub.c:4111
[<ffffffff80807294>] kmalloc include/linux/slab.h:596 [inline]
[<ffffffff80807294>] kzalloc.constprop.0+0x24/0x2e include/linux/slab.h:721
[<ffffffff808074ba>] tomoyo_commit_ok+0x26/0x92 security/tomoyo/memory.c:76
[<ffffffff807ff40e>] tomoyo_update_domain+0x118/0x528 security/tomoyo/domain.c:139
[<ffffffff80804d96>] tomoyo_update_path_acl security/tomoyo/file.c:398 [inline]
[<ffffffff80804d96>] tomoyo_write_file+0x376/0x692 security/tomoyo/file.c:1022
[<ffffffff807f2ddc>] tomoyo_write_domain2+0xa4/0x118 security/tomoyo/common.c:1152
[<ffffffff807f9d48>] tomoyo_add_entry security/tomoyo/common.c:2042 [inline]
[<ffffffff807f9d48>] tomoyo_supervisor+0x2e6/0xb0c security/tomoyo/common.c:2103
[<ffffffff8080232e>] tomoyo_audit_path_log security/tomoyo/file.c:168 [inline]
[<ffffffff8080232e>] tomoyo_path_permission security/tomoyo/file.c:587 [inline]
[<ffffffff8080232e>] tomoyo_path_permission+0x152/0x18e security/tomoyo/file.c:573
[<ffffffff808040be>] tomoyo_check_open_permission+0x26a/0x288 security/tomoyo/file.c:777
[<ffffffff8080c23a>] tomoyo_file_open security/tomoyo/tomoyo.c:311 [inline]
[<ffffffff8080c23a>] tomoyo_file_open+0x78/0x7c security/tomoyo/tomoyo.c:306
[<ffffffff807eb766>] security_file_open+0x4c/0x2fa security/security.c:1634
[<ffffffff804228da>] do_dentry_open+0x1c6/0x7d4 fs/open.c:813
[<ffffffff80425bb8>] vfs_open+0x52/0x5e fs/open.c:949
[<ffffffff8044b89a>] do_open fs/namei.c:3374 [inline]
[<ffffffff8044b89a>] path_openat+0x11ae/0x1694 fs/namei.c:3507
[<ffffffff8044efda>] do_filp_open+0xac/0x1a8 fs/namei.c:3534
[<ffffffff804262be>] do_sys_openat2+0x102/0x26a fs/open.c:1204
[<ffffffff80426abe>] do_sys_open fs/open.c:1220 [inline]
[<ffffffff80426abe>] __do_sys_openat fs/open.c:1236 [inline]
[<ffffffff80426abe>] sys_openat+0x80/0xee fs/open.c:1231
[<ffffffff80005150>] ret_from_syscall+0x0/0x2
---[ end trace 96131c09dc22424f ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/17 14:10 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7d2a07b76933 70b76c1d .config console log report ci-qemu2-riscv64 riscv/fixes test error: BUG: unable to handle kernel paging request in corrupted
2021/09/08 10:33 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7d2a07b76933 e2776ee4 .config console log report ci-qemu2-riscv64 riscv/fixes test error: BUG: unable to handle kernel paging request in corrupted
2021/09/07 21:15 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7d2a07b76933 064c9eb7 .config console log report ci-qemu2-riscv64 riscv/fixes test error: BUG: unable to handle kernel paging request in corrupted
* Struck through repros no longer work on HEAD.