[moderation] [arm?] BUG: unable to handle kernel paging request in sched_balance_update_blocked_averages

0 views
Skip to first unread message

syzbot

unread,
Jun 2, 2024, 5:45:28 AMJun 2
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: e0cce98fe279 Merge tag 'tpmdd-next-6.10-rc2' of git://git...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=116fd162980000
kernel config: https://syzkaller.appspot.com/x/.config?x=bd6024aedb15e15c
dashboard link: https://syzkaller.appspot.com/bug?extid=01d2d7cbeae03540f79d
compiler: aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
CC: [catalin...@arm.com linux-ar...@lists.infradead.org linux-...@vger.kernel.org wi...@kernel.org]

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

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/384ffdcca292/non_bootable_disk-e0cce98f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/57317d5558d6/vmlinux-e0cce98f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e78d15a47f70/Image-e0cce98f.gz.xz

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

Unable to handle kernel paging request at virtual address 007000000c9c0b60
Mem abort info:
ESR = 0x0000000096000004
EC = 0x25: DABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
FSC = 0x04: level 0 translation fault
Data abort info:
ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
CM = 0, WnR = 0, TnD = 0, TagAccess = 0
GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[007000000c9c0b60] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3979 Comm: syz-executor.0 Not tainted 6.10.0-rc1-syzkaller-00021-ge0cce98fe279 #0
Hardware name: linux,dummy-virt (DT)
pstate: 204000c9 (nzCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : skip_blocked_update kernel/sched/fair.c:4446 [inline]
pc : __update_blocked_fair kernel/sched/fair.c:9406 [inline]
pc : sched_balance_update_blocked_averages+0x240/0x5a4 kernel/sched/fair.c:9500
lr : update_cfs_rq_load_avg kernel/sched/fair.c:4634 [inline]
lr : __update_blocked_fair kernel/sched/fair.c:9394 [inline]
lr : sched_balance_update_blocked_averages+0x22c/0x5a4 kernel/sched/fair.c:9500
sp : ffff800080003e80
x29: ffff800080003e80
x28: 0000000000000100
x27: 0000003e832edae0

x26: fdf000000c9c0800
x25: 0000000000000000
x24: fff000007f8d6cc0

x23: 0000000000000000 x22: 0000000000000000 x21: fdf000000c9c0948
x20: fff000007f8d6340 x19: fcf000000a03c000 x18: 0000000000000000
x17: fff07ffffd319000 x16: ffff800080000000 x15: 0000ffffe1769e78
x14: 00000000000003b6 x13: 00000000000003b6 x12: 0000000000000000
x11: 0000000000000000 x10: 00000048195b50b0 x9 : 0000000000000800
x8 : fdf000000c9c0880 x7 : fdf000000c9c0800 x6 : 0000000000000400
x5 : f3f000000c5c4980 x4 : 0000000000000002 x3 : 0000000000000000
x2 : 0000003e832ed800 x1 : fa7000000c9c0a80 x0 : f0f000000438cdc0
Call trace:
__update_blocked_fair kernel/sched/fair.c:9406 [inline]
sched_balance_update_blocked_averages+0x240/0x5a4 kernel/sched/fair.c:9500
sched_balance_softirq+0x44/0x74 kernel/sched/fair.c:12502
handle_softirqs+0x10c/0x240 kernel/softirq.c:554
__do_softirq+0x14/0x20 kernel/softirq.c:588
____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:81
call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:889
do_softirq_own_stack+0x1c/0x28 arch/arm64/kernel/irq.c:86
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu kernel/softirq.c:637 [inline]
irq_exit_rcu+0xbc/0xd8 kernel/softirq.c:649
__el1_irq arch/arm64/kernel/entry-common.c:537 [inline]
el1_interrupt+0x38/0x64 arch/arm64/kernel/entry-common.c:551
el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:556
el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:594
tlb_get_level arch/arm64/include/asm/tlb.h:45 [inline]
tlb_flush arch/arm64/include/asm/tlb.h:63 [inline]
tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:465 [inline]
tlb_end_vma include/asm-generic/tlb.h:566 [inline]
madvise_free_single_vma+0x208/0x2bc mm/madvise.c:817
madvise_dontneed_free mm/madvise.c:929 [inline]
madvise_vma_behavior+0x1d0/0x790 mm/madvise.c:1046
madvise_walk_vmas+0xbc/0x12c mm/madvise.c:1268
do_madvise+0x160/0x418 mm/madvise.c:1464
__do_sys_madvise mm/madvise.c:1481 [inline]
__se_sys_madvise mm/madvise.c:1479 [inline]
__arm64_sys_madvise+0x24/0x34 mm/madvise.c:1479
__invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
invoke_syscall+0x48/0x118 arch/arm64/kernel/syscall.c:48
el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:133
do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:152
el0_svc+0x34/0xf8 arch/arm64/kernel/entry-common.c:712
el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730
el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:598
Code: f940af41 f9406420 f8776801 b4000101 (f9407020)
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
0: f940af41 ldr x1, [x26, #344]
4: f9406420 ldr x0, [x1, #200]
8: f8776801 ldr x1, [x0, x23]
c: b4000101 cbz x1, 0x2c
* 10: f9407020 ldr x0, [x1, #224] <-- 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.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages