All of lore.kernel.org
 help / color / mirror / Atom feed
From: Naresh Kamboju <naresh.kamboju@linaro.org>
To: linux-mm <linux-mm@kvack.org>,
	 "open list:KERNEL SELFTEST FRAMEWORK"
	<linux-kselftest@vger.kernel.org>,
	 Linux ARM <linux-arm-kernel@lists.infradead.org>,
	lkft-triage@lists.linaro.org,  regressions@lists.linux.dev
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Will Deacon <will@kernel.org>,  Mark Brown <broonie@kernel.org>,
	Catalin Marinas <catalin.marinas@arm.com>,
	 Dan Carpenter <dan.carpenter@linaro.org>
Subject: WARNING: CPU: 6 PID: 474 at include/linux/maple_tree.h:712 mmap_region (include/linux/maple_tree.h:556 include/linux/maple_tree.h:731
Date: Thu, 9 Nov 2023 18:57:08 +0530	[thread overview]
Message-ID: <CA+G9fYs-j2FYZSFSVZj48mgoM9gQd4-7M2mu2Ez3D1DqDdW2bQ@mail.gmail.com> (raw)

Following kernel panic noticed while running  selftests: exec: load_address
on Fastmodels (FVP) running Linux next-20231109.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

log:
---

# timeout set to 45
# selftests: exec: load_address_16777216
[  238.405168] ------------[ cut here ]------------
[  238.405244] WARNING: CPU: 6 PID: 474 at
include/linux/maple_tree.h:712 mmap_region
(include/linux/maple_tree.h:556 include/linux/maple_tree.h:731
include/linux/maple_tree.h:747 include/linux/mm.h:1033 mm/mmap.c:2828)
[  238.405432] Modules linked in: arm_spe_pmu crct10dif_ce
panel_simple pl111_drm drm_dma_helper drm_kms_helper fuse drm
backlight dm_mod ip_tables x_tables
[  238.405932] CPU: 6 PID: 474 Comm: load_address_16 Not tainted
6.6.0-next-20231109 #1
[  238.406070] Hardware name: FVP Base RevC (DT)
[  238.406151] pstate: 123402009 (nzCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
[  238.406294] pc : mmap_region (include/linux/maple_tree.h:556
include/linux/maple_tree.h:731 include/linux/maple_tree.h:747
include/linux/mm.h:1033 mm/mmap.c:2828)
[  238.406424] lr : mmap_region (mm/mmap.c:2836)
[  238.406554] sp : ffff8000819639b0
[  238.406629] x29: ffff8000819639c0 x28: ffff000806f79000 x27: 0000000002002000
[  238.406829] x26: ffff000806f798f0 x25: ffff000806f790b0 x24: 0000000000000006
[  238.407029] x23: 0000000000000ffc x22: ffff000805d6e100 x21: ffff0008016adf00
[  238.407229] x20: 0000000000100073 x19: 0000000001ffc000 x18: ffffffffffffffff
[  238.407425] x17: 0000000000000000 x16: ffffd7c64ceb7c10 x15: ffffffffffffffff
[  238.407627] x14: 0000000000000000 x13: 1fffe001002bc9a1 x12: ffff0008015e4d0c
[  238.407825] x11: ffff800081963a48 x10: ffff0008015e4d00 x9 : ffffd7c64b49c9f0
[  238.408028] x8 : ffff800081963778 x7 : 0000000000000000 x6 : 0000000000000000
[  238.408223] x5 : ffffd7c64e35f000 x4 : ffffd7c64e35f278 x3 : 0000000000000000
[  238.408420] x2 : ffffd7c64e92fd78 x1 : 0000000002001fff x0 : 0000000000479fff
[  238.408618] Call trace:
[  238.408681] mmap_region (include/linux/maple_tree.h:556
include/linux/maple_tree.h:731 include/linux/maple_tree.h:747
include/linux/mm.h:1033 mm/mmap.c:2828)
[  238.408812] do_mmap (arch/arm64/include/asm/mman.h:18
include/linux/mman.h:147 mm/mmap.c:1274)
[  238.408940] vm_mmap_pgoff (mm/util.c:546)
[  238.409088] vm_mmap (mm/util.c:559)
[  238.409229] elf_load (fs/binfmt_elf.c:385 fs/binfmt_elf.c:408)
[  238.409337] load_elf_binary (fs/binfmt_elf.c:1134 (discriminator 1))
[  238.409454] bprm_execve (fs/exec.c:1940)
[  238.409598] do_execveat_common.isra.0 (fs/exec.c:1938)
[  238.409757] __arm64_sys_execve (fs/exec.c:2106)
[  238.409910] invoke_syscall (arch/arm64/kernel/syscall.c:46
(discriminator 19))
[  238.410058] el0_svc_common.constprop.0 (arch/arm64/kernel/syscall.c:136)
[  238.410218] do_el0_svc (arch/arm64/kernel/syscall.c:155)
[  238.410363] el0_svc (arch/arm64/include/asm/daifflags.h:75
arch/arm64/kernel/entry-common.c:677)
[  238.410508] el0t_64_sync_handler (arch/arm64/kernel/entry-common.c:697)
[  238.410623] el0t_64_sync (arch/arm64/kernel/entry.S:595)
[  238.410735] ---[ end trace 0000000000000000 ]---


Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231109/testrun/21009598/suite/log-parser-test/test/check-kernel-exception/log
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231109/testrun/21009598/suite/log-parser-test/tests/
 - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2Xv9wca3SPRN4lh73fIuUxVRNHI
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Xv9vEpjybxlDA4IvgDBm4bjzVT/

--
Linaro LKFT
https://lkft.linaro.org

WARNING: multiple messages have this Message-ID (diff)
From: Naresh Kamboju <naresh.kamboju@linaro.org>
To: linux-mm <linux-mm@kvack.org>,
	 "open list:KERNEL SELFTEST FRAMEWORK"
	<linux-kselftest@vger.kernel.org>,
	 Linux ARM <linux-arm-kernel@lists.infradead.org>,
	lkft-triage@lists.linaro.org,  regressions@lists.linux.dev
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Will Deacon <will@kernel.org>,  Mark Brown <broonie@kernel.org>,
	Catalin Marinas <catalin.marinas@arm.com>,
	 Dan Carpenter <dan.carpenter@linaro.org>
Subject: WARNING: CPU: 6 PID: 474 at include/linux/maple_tree.h:712 mmap_region (include/linux/maple_tree.h:556 include/linux/maple_tree.h:731
Date: Thu, 9 Nov 2023 18:57:08 +0530	[thread overview]
Message-ID: <CA+G9fYs-j2FYZSFSVZj48mgoM9gQd4-7M2mu2Ez3D1DqDdW2bQ@mail.gmail.com> (raw)

Following kernel panic noticed while running  selftests: exec: load_address
on Fastmodels (FVP) running Linux next-20231109.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

log:
---

# timeout set to 45
# selftests: exec: load_address_16777216
[  238.405168] ------------[ cut here ]------------
[  238.405244] WARNING: CPU: 6 PID: 474 at
include/linux/maple_tree.h:712 mmap_region
(include/linux/maple_tree.h:556 include/linux/maple_tree.h:731
include/linux/maple_tree.h:747 include/linux/mm.h:1033 mm/mmap.c:2828)
[  238.405432] Modules linked in: arm_spe_pmu crct10dif_ce
panel_simple pl111_drm drm_dma_helper drm_kms_helper fuse drm
backlight dm_mod ip_tables x_tables
[  238.405932] CPU: 6 PID: 474 Comm: load_address_16 Not tainted
6.6.0-next-20231109 #1
[  238.406070] Hardware name: FVP Base RevC (DT)
[  238.406151] pstate: 123402009 (nzCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
[  238.406294] pc : mmap_region (include/linux/maple_tree.h:556
include/linux/maple_tree.h:731 include/linux/maple_tree.h:747
include/linux/mm.h:1033 mm/mmap.c:2828)
[  238.406424] lr : mmap_region (mm/mmap.c:2836)
[  238.406554] sp : ffff8000819639b0
[  238.406629] x29: ffff8000819639c0 x28: ffff000806f79000 x27: 0000000002002000
[  238.406829] x26: ffff000806f798f0 x25: ffff000806f790b0 x24: 0000000000000006
[  238.407029] x23: 0000000000000ffc x22: ffff000805d6e100 x21: ffff0008016adf00
[  238.407229] x20: 0000000000100073 x19: 0000000001ffc000 x18: ffffffffffffffff
[  238.407425] x17: 0000000000000000 x16: ffffd7c64ceb7c10 x15: ffffffffffffffff
[  238.407627] x14: 0000000000000000 x13: 1fffe001002bc9a1 x12: ffff0008015e4d0c
[  238.407825] x11: ffff800081963a48 x10: ffff0008015e4d00 x9 : ffffd7c64b49c9f0
[  238.408028] x8 : ffff800081963778 x7 : 0000000000000000 x6 : 0000000000000000
[  238.408223] x5 : ffffd7c64e35f000 x4 : ffffd7c64e35f278 x3 : 0000000000000000
[  238.408420] x2 : ffffd7c64e92fd78 x1 : 0000000002001fff x0 : 0000000000479fff
[  238.408618] Call trace:
[  238.408681] mmap_region (include/linux/maple_tree.h:556
include/linux/maple_tree.h:731 include/linux/maple_tree.h:747
include/linux/mm.h:1033 mm/mmap.c:2828)
[  238.408812] do_mmap (arch/arm64/include/asm/mman.h:18
include/linux/mman.h:147 mm/mmap.c:1274)
[  238.408940] vm_mmap_pgoff (mm/util.c:546)
[  238.409088] vm_mmap (mm/util.c:559)
[  238.409229] elf_load (fs/binfmt_elf.c:385 fs/binfmt_elf.c:408)
[  238.409337] load_elf_binary (fs/binfmt_elf.c:1134 (discriminator 1))
[  238.409454] bprm_execve (fs/exec.c:1940)
[  238.409598] do_execveat_common.isra.0 (fs/exec.c:1938)
[  238.409757] __arm64_sys_execve (fs/exec.c:2106)
[  238.409910] invoke_syscall (arch/arm64/kernel/syscall.c:46
(discriminator 19))
[  238.410058] el0_svc_common.constprop.0 (arch/arm64/kernel/syscall.c:136)
[  238.410218] do_el0_svc (arch/arm64/kernel/syscall.c:155)
[  238.410363] el0_svc (arch/arm64/include/asm/daifflags.h:75
arch/arm64/kernel/entry-common.c:677)
[  238.410508] el0t_64_sync_handler (arch/arm64/kernel/entry-common.c:697)
[  238.410623] el0t_64_sync (arch/arm64/kernel/entry.S:595)
[  238.410735] ---[ end trace 0000000000000000 ]---


Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231109/testrun/21009598/suite/log-parser-test/test/check-kernel-exception/log
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231109/testrun/21009598/suite/log-parser-test/tests/
 - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2Xv9wca3SPRN4lh73fIuUxVRNHI
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Xv9vEpjybxlDA4IvgDBm4bjzVT/

--
Linaro LKFT
https://lkft.linaro.org

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2023-11-09 13:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-09 13:27 Naresh Kamboju [this message]
2023-11-09 13:27 ` WARNING: CPU: 6 PID: 474 at include/linux/maple_tree.h:712 mmap_region (include/linux/maple_tree.h:556 include/linux/maple_tree.h:731 Naresh Kamboju
2023-11-09 14:03 ` Mark Brown
2023-11-09 14:03   ` Mark Brown
2023-11-10  5:45   ` Kees Cook
2023-11-10  5:45     ` Kees Cook
2023-12-06 22:38     ` Kees Cook
2023-12-06 22:38       ` Kees Cook
2023-12-07  1:41       ` Liam R. Howlett
2023-12-07  1:41         ` Liam R. Howlett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+G9fYs-j2FYZSFSVZj48mgoM9gQd4-7M2mu2Ez3D1DqDdW2bQ@mail.gmail.com \
    --to=naresh.kamboju@linaro.org \
    --cc=akpm@linux-foundation.org \
    --cc=broonie@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=dan.carpenter@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkft-triage@lists.linaro.org \
    --cc=regressions@lists.linux.dev \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.