Following kernel oops found while booting arm 32 bit x15 device with kselftest configs enabled on stable-rc linux-5.15. This is specific to kselftest merge config build booting on arm TI BeagleBoard X15 device.
This is an intermittent issue and not specific to current stable rc release.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
[ 0.000000] Linux version 5.15.78-rc1 (tuxmake@tuxmake) (arm-linux-gnueabihf-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP @1667916073 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d ... [ 5.375946] 8<--- cut here --- [ 5.379089] Unable to handle kernel NULL pointer dereference at virtual address 00000369 [ 5.387237] pgd = (ptrval) [ 5.389953] [00000369] *pgd=00000000 [ 5.393585] Internal error: Oops: 5 [#1] SMP ARM [ 5.398223] Modules linked in: [ 5.401306] CPU: 0 PID: 8 Comm: kworker/0:0H Not tainted 5.15.78-rc1 #1 [ 5.407958] Hardware name: Generic DRA74X (Flattened Device Tree) [ 5.414093] PC is at do_page_fault+0x94/0x464 [ 5.418487] LR is at do_translation_fault+0xc0/0xc4 [ 5.423400] pc : [<c15cdbb0>] lr : [<c15ce040>] psr: 20000193 [ 5.429687] sp : c31ce020 ip : ffffe000 fp : c31ce06c [ 5.434936] r10: 00003b9a r9 : c31ce000 r8 : 00000000 [ 5.440216] r7 : c2110e10 r6 : 00000665 r5 : 00000005 r4 : c31ce0c8 [ 5.446777] r3 : c31ce000 r2 : 00000001 r1 : 2ca6c000 r0 : 00000665 [ 5.453338] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [ 5.460601] Control: 10c5387d Table: 8020406a DAC: 00000051 [ 5.466369] Register r0 information: non-paged memory [ 5.471466] Register r1 information: non-paged memory [ 5.476531] Register r2 information: non-paged memory [ 5.481628] Register r3 information: non-slab/vmalloc memory [ 5.487335] Register r4 information: non-slab/vmalloc memory [ 5.493011] Register r5 information: non-paged memory [ 5.498107] Register r6 information: non-paged memory [ 5.503204] Register r7 information: non-slab/vmalloc memory [ 5.508880] Register r8 information: NULL pointer [ 5.513610] Register r9 information: non-slab/vmalloc memory [ 5.519317] Register r10 information: non-paged memory [ 5.524475] Register r11 information: non-slab/vmalloc memory [ 5.530273] Register r12 information: non-paged memory [ 5.535430] Process kworker/0:0H (pid: 8, stack limit = 0x(ptrval)) [ 5.541748] Stack: (0xc31ce020 to 0xc31ce000) [ 5.546142] Backtrace: ... [ 7.896820] Code: e5942040 e3c3303f e3120080 e5932008 (e5927368) [ 7.902954] ---[ end trace 86f7fd8d70b6f6f9 ]--- [ 7.907592] note: kworker/0:0H[8] exited with preempt_count 2 [ 7.913360] ------------[ cut here ]------------ [ 7.917999] WARNING: CPU: 0 PID: 8 at kernel/sched/core.c:9542 __might_sleep+0xa8/0xac [ 7.925994] do not call blocking ops when !TASK_RUNNING; state=402 set at [<(ptrval)>] worker_thread+0xb8/0x554 [ 7.936126] Modules linked in: [ 7.939208] CPU: 0 PID: 8 Comm: kworker/0:0H Tainted: G D 5.15.78-rc1 #1 [ 7.947265] Hardware name: Generic DRA74X (Flattened Device Tree) [ 7.953399] Backtrace: ... [ 28.471862] Code: bad PC value [ 28.474945] ---[ end trace 86f7fd8d70b6f700 ]--- [ 28.479614] Fixing recursive fault but reboot is needed!
Test log link, https://lkft.validation.linaro.org/scheduler/job/5826464#L2710 https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.... https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15....
metadata: git_ref: linux-5.15.y git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc git_sha: f98185b81e483128439a76d6e64217b606c09bed git_describe: v5.15.77-145-gf98185b81e48 kernel_version: 5.15.78-rc1 kernel-config: https://builds.tuxbuild.com/2HGeIzgM9yCQbFVPZR0ItTY7Nt4/config build-url: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/pipelines/68... artifact-location: https://builds.tuxbuild.com/2HGeIzgM9yCQbFVPZR0ItTY7Nt4 toolchain: gcc-10 build_name: gcc-10-lkftconfig-kselftest-kernel
-- Linaro LKFT https://lkft.linaro.org