syzbot


WARNING: locking bug in sched_core_balance

Status: upstream: reported on 2024/06/21 21:02
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+14641d8d78cc029add8a@syzkaller.appspotmail.com
First crash: 156d, last: 1d19h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING: locking bug in sched_core_balance 0 (1) 2024/06/21 21:02
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: slab-use-after-free Read in sched_core_balance kernel 21 85d 92d 0/28 closed as invalid on 2024/09/13 10:29

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use))
WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:5172 __lock_acquire+0x15fd/0x2050 kernel/locking/lockdep.c:5172
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.12.0-syzkaller-00239-gc6d64479d609 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:__lock_acquire+0x15fd/0x2050 kernel/locking/lockdep.c:5172
Code: 0f b6 04 08 84 c0 0f 85 d7 09 00 00 83 3d 8a 1b ad 0e 00 75 19 90 48 c7 c7 a0 ca 0a 8c 48 c7 c6 80 f3 0a 8c e8 24 6c e5 ff 90 <0f> 0b 90 90 90 e9 09 fe ff ff 90 0f 0b 90 e9 5f fd ff ff 90 e8 6a
RSP: 0018:ffffffff8e607670 EFLAGS: 00010046
RAX: 202d94a0e99f8600 RBX: 0000000029804b68 RCX: ffffffff8e694700
RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff8e695208 R08: ffffffff8155e312 R09: fffffbfff1cfa3fc
R10: dffffc0000000000 R11: fffffbfff1cfa3fc R12: ffffffff8e694700
R13: ffffffff8e6951d8 R14: 0000000000000000 R15: ffffffff8e695228
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fddaeb8ef98 CR3: 000000006b3ee000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378
 raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:606
 raw_spin_rq_lock kernel/sched/sched.h:1506 [inline]
 raw_spin_rq_lock_irq kernel/sched/sched.h:1512 [inline]
 sched_core_balance+0xfa6/0x1180 kernel/sched/core.c:6362
 do_balance_callbacks kernel/sched/core.c:4980 [inline]
 __balance_callbacks+0x18a/0x280 kernel/sched/core.c:5034
 finish_lock_switch kernel/sched/core.c:5081 [inline]
 finish_task_switch+0x1d3/0x870 kernel/sched/core.c:5200
 context_switch kernel/sched/core.c:5331 [inline]
 __schedule+0x1857/0x4c30 kernel/sched/core.c:6693
 schedule_idle+0x56/0x90 kernel/sched/core.c:6811
 do_idle+0x56a/0x5d0 kernel/sched/idle.c:354
 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:424
 rest_init+0x2dc/0x300 init/main.c:747
 start_kernel+0x47f/0x500 init/main.c:1105
 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507
 x86_64_start_kernel+0x9f/0xa0 arch/x86/kernel/head64.c:488
 common_startup_64+0x13e/0x147
 </TASK>

Crashes (32):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/19 11:44 upstream c6d64479d609 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/11/16 18:03 upstream e8bdb3c8be08 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/11/14 06:47 upstream f1b785f4c787 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/11/08 12:49 upstream 906bd684e4b1 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/10/30 07:28 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/10/26 12:19 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/10/24 01:29 upstream c2ee9f594da8 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/09/30 14:15 upstream 9852d85ec9d4 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/09/26 10:08 upstream aa486552a110 0d19f247 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/09/12 19:19 upstream 77f587896757 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/09/10 23:39 upstream 8d8d276ba2fb 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/08/12 22:54 upstream d74da846046a 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/08/12 09:47 upstream 7c626ce4bae1 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/08/03 11:02 upstream 17712b7ea075 53683cf2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/07/31 09:17 upstream 22f546873149 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/07/20 04:40 upstream d7e78951a8b8 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/07/09 13:47 upstream 4376e966ecb7 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/07/08 20:59 upstream 256abd8e550c cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/07/08 20:49 upstream 256abd8e550c cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/06/23 16:54 upstream 5f583a3162ff edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/06/22 07:20 upstream 4545981f33be edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/06/19 13:36 upstream 2ccbdf43d5e7 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/06/19 02:37 upstream 2ccbdf43d5e7 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/06/17 20:56 upstream 2ccbdf43d5e7 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in sched_core_balance
2024/11/18 16:27 upstream adc218676eef 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in sched_core_balance
2024/11/15 07:27 upstream cfaaa7d010d1 f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in sched_core_balance
2024/11/13 21:03 upstream f1b785f4c787 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in sched_core_balance
2024/11/11 02:40 upstream a9cda7c0ffed 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: wild-memory-access Read in sched_core_balance
2024/11/06 01:21 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: wild-memory-access Read in sched_core_balance
2024/11/04 23:10 upstream 557329bcecc2 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: wild-memory-access Read in sched_core_balance
2024/09/21 19:06 upstream 1868f9d0260e 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in sched_core_balance
2024/09/21 19:05 upstream 1868f9d0260e 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: unable to handle kernel paging request in sched_core_balance
* Struck through repros no longer work on HEAD.