syzbot


upstream boot error: BUG: unable to handle kernel NULL pointer dereference in load_balance

Status: fixed on 2023/07/01 16:05
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+d4b00edc2d0c910d4bf4@syzkaller.appspotmail.com
Fix commit: 2b951b0efbaa ARM: 9297/1: vfp: avoid unbalanced stack on 'success' return path
First crash: 347d, last: 340d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream boot error: BUG: unable to handle kernel NULL pointer dereference in do_page_fault gpio 2 341d 341d 0/26 closed as dup on 2023/05/10 10:54
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] upstream boot error: BUG: unable to handle kernel NULL pointer dereference in load_balance 3 (5) 2023/05/06 17:06
Last patch testing requests (12)
Created Duration User Patch Repo Result
2023/05/06 16:58 7m ardb@kernel.org git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git f4fd69d8877146677709f66778c40bc3c7bcb40f OK
2023/05/05 20:46 34m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git c76c6c4ecbec0deb56a4f9e932b26866024a508f error OK
2023/05/05 19:29 6m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1881b4d64700e54ab8706a43c1ad119c3ad653dc OK
2023/05/05 19:18 6m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3a2bdad0b46649cc73fb3b3f9e2b91ef97a7fa63 OK
2023/05/05 18:34 33m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 60261442c1b91d9e0cdc611222034286aeb18946 error OK
2023/05/05 18:01 6m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e03ad4ee2783e41afc90cc7848468aef10741c0e OK
2023/05/05 17:17 35m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 487c20b016dc48230367a7be017f40313e53e3bd error OK
2023/05/05 16:22 33m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 72eaa0967b594cb9886c2f277a69ac1ea935b1a8 error OK
2023/05/05 15:38 33m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 5af4b523ba9be70372eafab02ebfb9babf77ec7d error OK
2023/05/05 14:54 34m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 60eb45074234b90333b6241b4fd8d196aa2dfd98 error OK
2023/05/05 14:10 34m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0f50767d7e380618f81134a62e9a753dea2aecfb error OK
2023/05/05 13:37 13m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 457391b03803 OK

Sample crash report:
8<--- cut here ---
Unable to handle kernel NULL pointer dereference at virtual address 00000018 when read
[00000018] *pgd=80000080004003, *pmd=00000000
Internal error: Oops: 206 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.4.0-rc1-syzkaller #0
Hardware name: ARM-Versatile Express
PC is at find_next_and_bit include/linux/find.h:93 [inline]
PC is at should_we_balance kernel/sched/fair.c:10717 [inline]
PC is at load_balance+0x130/0xcdc kernel/sched/fair.c:10760
LR is at load_balance+0x78/0xcdc kernel/sched/fair.c:10743
pc : [<8028b60c>]    lr : [<8028b554>]    psr: 80000113
sp : df805df8  ip : df805e84  fp : df805ebc
r10: 8309a800  r9 : df805e84  r8 : 00000001
r7 : 8309a800  r6 : ddddb400  r5 : 830b4640  r4 : 00000001
r3 : 00000000  r2 : ddddb400  r1 : 00000000  r0 : df805e48
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 30c5387d  Table: 80003000  DAC: 00000000
Register r0 information: non-paged memory
Register r1 information:
8<--- cut here ---
Unable to handle kernel NULL pointer dereference at virtual address 000001ff when read
[000001ff] *pgd=80000080004003, *pmd=00000000
Internal error: Oops: 206 [#2] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.4.0-rc1-syzkaller #0
Hardware name: ARM-Versatile Express
PC is at __find_vmap_area mm/vmalloc.c:841 [inline]
PC is at find_vmap_area mm/vmalloc.c:1862 [inline]
PC is at find_vm_area mm/vmalloc.c:2623 [inline]
PC is at vmalloc_dump_obj+0x38/0xb4 mm/vmalloc.c:4221
LR is at __raw_spin_lock include/linux/spinlock_api_smp.h:132 [inline]
LR is at _raw_spin_lock+0x18/0x58 kernel/locking/spinlock.c:154
pc : [<8047a2ec>]    lr : [<81801fd4>]    psr: 20000193
sp : df805c60  ip : df805c48  fp : df805c74
r10: 831f4680  r9 : 8261c9a4  r8 : 8285041c
r7 : 60000113  r6 : 00000002  r5 : 00000000  r4 : 00000207
r3 : 830e13a0  r2 : 00001f84  r1 : 00000000  r0 : 00000001
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 30c5387d  Table: 80003000  DAC: 00000000

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/11 02:10 upstream 80e62bc8487b 0fbd49f4 .config console log report ci-qemu2-arm32 upstream boot error: BUG: unable to handle kernel NULL pointer dereference in load_balance
2023/05/09 19:01 upstream 16a8829130ca 1964022b .config console log report ci-qemu2-arm32 upstream boot error: BUG: unable to handle kernel NULL pointer dereference in load_balance
2023/05/09 19:01 upstream 16a8829130ca 1964022b .config console log report ci-qemu2-arm32 upstream boot error: BUG: unable to handle kernel NULL pointer dereference in load_balance
2023/05/04 09:52 upstream 1a5304fecee5 5b7ff9dd .config console log report ci-qemu2-arm32 upstream boot error: BUG: unable to handle kernel NULL pointer dereference in load_balance
2023/05/04 09:52 upstream 1a5304fecee5 5b7ff9dd .config console log report ci-qemu2-arm32 upstream boot error: BUG: unable to handle kernel NULL pointer dereference in load_balance
* Struck through repros no longer work on HEAD.