From: Naresh Kamboju <naresh.kamboju@linaro.org>
To: linux- stable <stable@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>,
linux-mm <linux-mm@kvack.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
Andrew Morton <akpm@linux-foundation.org>,
Roman Gushchin <guro@fb.com>, Michal Hocko <mhocko@kernel.org>,
lkft-triage@lists.linaro.org, Chris Down <chris@chrisdown.name>,
Linus Torvalds <torvalds@linux-foundation.org>,
Michel Lespinasse <walken@google.com>,
Fan_Yang@sjtu.edu.cn, bgeffon@google.com,
anshuman.khandual@arm.com, Will Deacon <will@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
pugaowei@gmail.com, jglisse@redhat.com,
Joel Fernandes <joel@joelfernandes.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Mel Gorman <mgorman@techsingularity.net>,
Hugh Dickins <hughd@google.com>,
Al Viro <viro@zeniv.linux.org.uk>, Tejun Heo <tj@kernel.org>,
Sasha Levin <sashal@kernel.org>
Subject: WARNING: at mm/mremap.c:211 move_page_tables in i386
Date: Thu, 9 Jul 2020 10:58:04 +0530 [thread overview]
Message-ID: <CA+G9fYt+6OeibZMD0fP=O3nqFbcN3O4xcLkjq0mpQbZJ2uxB9w@mail.gmail.com> (raw)
While running LTP mm test suite on i386 or qemu_i386 this kernel warning
has been noticed from stable 5.4 to stable 5.7 branches and mainline 5.8.0-rc4
and linux next.
metadata:
git branch: master
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git commit: dcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258
kernel-config:
https://builds.tuxbuild.com/zFkvGKyEbfYdZOMzwrbl-w/kernel.config
vmlinux: https://builds.tuxbuild.com/zFkvGKyEbfYdZOMzwrbl-w/vmlinux.xz
system.map: https://builds.tuxbuild.com/zFkvGKyEbfYdZOMzwrbl-w/System.map
steps to reproduce:
- boot i386 kernel or qemu_i386 device
- cd /opt/ltp
- ./runltp -f mm
code snippet:
file: mm/mremap.c
#ifdef CONFIG_HAVE_MOVE_PMD
static bool move_normal_pmd(struct vm_area_struct *vma, unsigned long old_addr,
...
/*
* The destination pmd shouldn't be established, free_pgtables()
* should have release it.
*/
if (WARN_ON(!pmd_none(*new_pmd)))
return false;
------------[ cut here ]------------
[ 720.642524] WARNING: CPU: 3 PID: 27091 at mm/mremap.c:211
move_page_tables+0x6ef/0x720
[ 720.650437] Modules linked in: x86_pkg_temp_thermal
[ 720.655314] CPU: 3 PID: 27091 Comm: true Not tainted 5.8.0-rc4 #1
[ 720.661408] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
2.0b 07/27/2017
[ 720.668886] EIP: move_page_tables+0x6ef/0x720
[ 720.673245] Code: 85 0c ff ff ff 8b 45 08 8b 4d d4 05 00 00 40 00
25 00 00 c0 ff 2b 45 08 39 c1 0f 46 c1 89 45 d4 01 f0 89 45 cc e9 d6
fa ff ff <0f> 0b 80 7d be 00 0f 84 80 fd ff ff e9 02 fe ff ff a8 80 0f
84 4d
[ 720.691990] EAX: f3250bf8 EBX: f3250bfc ECX: 8c46a067 EDX: 000002fe
[ 720.698249] ESI: bfc00000 EDI: f3250bf8 EBP: eea31dd4 ESP: eea31d74
[ 720.704514] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010282
[ 720.711353] CR0: 80050033 CR2: b7d9e3b0 CR3: 33250000 CR4: 003406d0
[ 720.717634] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 720.723952] DR6: fffe0ff0 DR7: 00000400
[ 720.727843] Call Trace:
[ 720.730325] setup_arg_pages+0x22b/0x310
[ 720.734277] ? get_random_u32+0x49/0x70
[ 720.738167] ? get_random_u32+0x49/0x70
[ 720.742006] load_elf_binary+0x30e/0x10e0
[ 720.746019] __do_execve_file+0x4c3/0x9f0
[ 720.750031] __ia32_sys_execve+0x25/0x30
[ 720.753959] do_syscall_32_irqs_on+0x3d/0x250
[ 720.758317] ? do_user_addr_fault+0x1a0/0x3c0
[ 720.762701] ? __prepare_exit_to_usermode+0x50/0x1a0
[ 720.767703] ? prepare_exit_to_usermode+0x8/0x20
[ 720.772349] do_fast_syscall_32+0x39/0xb0
[ 720.776361] do_SYSENTER_32+0x15/0x20
[ 720.780028] entry_SYSENTER_32+0x9f/0xf2
[ 720.783951] EIP: 0xb7f1d549
[ 720.786741] Code: Bad RIP value.
[ 720.789965] EAX: ffffffda EBX: bfbbc7c0 ECX: 08067420 EDX: bfbbc9f4
[ 720.796225] ESI: 08058a14 EDI: bfbbc7c9 EBP: bfbbc868 ESP: bfbbc798
[ 720.802489] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000292
[ 720.809276] ---[ end trace bc662e76cba2d081 ]---
[ 724.934902] ------------[ cut here ]------------
------------[ cut here ]------------
[ 738.099993] WARNING: CPU: 1 PID: 29339 at mm/mremap.c:211
move_page_tables+0x6ef/0x720
[ 738.107928] Modules linked in: x86_pkg_temp_thermal
[ 738.112860] CPU: 1 PID: 29339 Comm: true Tainted: G W
5.8.0-rc4 #1
[ 738.120374] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
2.0b 07/27/2017
[ 738.127904] EIP: move_page_tables+0x6ef/0x720
[ 738.132316] Code: 85 0c ff ff ff 8b 45 08 8b 4d d4 05 00 00 40 00
25 00 00 c0 ff 2b 45 08 39 c1 0f 46 c1 89 45 d4 01 f0 89 45 cc e9 d6
fa ff ff <0f> 0b 80 7d be 00 0f 84 80 fd ff ff e9 02 fe ff ff a8 80 0f
84 4d
[ 738.151112] EAX: e0f3bbf8 EBX: e0f3bbfc ECX: 8c4b8067 EDX: 000002fe
[ 738.157422] ESI: bfc00000 EDI: e0f3bbf8 EBP: f3809dd4 ESP: f3809d74
[ 738.163756] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010282
[ 738.170587] CR0: 80050033 CR2: b7d9e3b0 CR3: 20f3b000 CR4: 003406d0
[ 738.176895] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 738.183179] DR6: fffe0ff0 DR7: 00000400
[ 738.187019] Call Trace:
[ 738.189489] setup_arg_pages+0x22b/0x310
[ 738.193423] ? get_random_u32+0x49/0x70
[ 738.197280] ? get_random_u32+0x49/0x70
[ 738.201119] load_elf_binary+0x30e/0x10e0
[ 738.205159] __do_execve_file+0x4c3/0x9f0
[ 738.209198] __ia32_sys_execve+0x25/0x30
[ 738.213122] do_syscall_32_irqs_on+0x3d/0x250
[ 738.217484] ? do_user_addr_fault+0x1a0/0x3c0
[ 738.221841] ? __prepare_exit_to_usermode+0x50/0x1a0
[ 738.226808] ? prepare_exit_to_usermode+0x8/0x20
[ 738.231427] do_fast_syscall_32+0x39/0xb0
[ 738.235438] do_SYSENTER_32+0x15/0x20
[ 738.239107] entry_SYSENTER_32+0x9f/0xf2
[ 738.243030] EIP: 0xb7f1d549
[ 738.245830] Code: Bad RIP value.
[ 738.249067] EAX: ffffffda EBX: bfbbc7c0 ECX: 08067420 EDX: bfbbc9f4
[ 738.255331] ESI: 08058a14 EDI: bfbbc7c9 EBP: bfbbc868 ESP: bfbbc798
[ 738.261595] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000292
[ 738.268382] ---[ end trace bc662e76cba2d083 ]---
[ 770.832465] true (1218) used greatest stack depth: 5252 bytes left
[ 781.451530] ------------[ cut here ]------------
------------[ cut here ]------------
[ 784.798244] WARNING: CPU: 3 PID: 3053 at mm/mremap.c:211
move_page_tables+0x6ef/0x720
[ 784.806090] Modules linked in: x86_pkg_temp_thermal
[ 784.811007] CPU: 3 PID: 3053 Comm: true Tainted: G W
5.8.0-rc4 #1
[ 784.818449] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
2.0b 07/27/2017
[ 784.825928] EIP: move_page_tables+0x6ef/0x720
[ 784.830341] Code: 85 0c ff ff ff 8b 45 08 8b 4d d4 05 00 00 40 00
25 00 00 c0 ff 2b 45 08 39 c1 0f 46 c1 89 45 d4 01 f0 89 45 cc e9 d6
fa ff ff <0f> 0b 80 7d be 00 0f 84 80 fd ff ff e9 02 fe ff ff a8 80 0f
84 4d
[ 784.849138] EAX: e0663bf8 EBX: e0663bfc ECX: 8c463067 EDX: 000002fe
[ 784.855456] ESI: bfc00000 EDI: e0663bf8 EBP: f3e39dd4 ESP: f3e39d74
[ 784.861750] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010282
[ 784.868532] CR0: 80050033 CR2: b7d9e3b0 CR3: 20663000 CR4: 003406d0
[ 784.874843] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 784.881160] DR6: fffe0ff0 DR7: 00000400
[ 784.885053] Call Trace:
[ 784.887522] setup_arg_pages+0x22b/0x310
[ 784.891483] ? get_random_u32+0x49/0x70
[ 784.895347] ? get_random_u32+0x49/0x70
[ 784.899232] load_elf_binary+0x30e/0x10e0
[ 784.903295] __do_execve_file+0x4c3/0x9f0
[ 784.907359] __ia32_sys_execve+0x25/0x30
[ 784.911339] do_syscall_32_irqs_on+0x3d/0x250
[ 784.915750] ? do_user_addr_fault+0x1a0/0x3c0
[ 784.920161] ? __prepare_exit_to_usermode+0x50/0x1a0
[ 784.925180] ? prepare_exit_to_usermode+0x8/0x20
[ 784.929799] do_fast_syscall_32+0x39/0xb0
[ 784.933862] do_SYSENTER_32+0x15/0x20
[ 784.937580] entry_SYSENTER_32+0x9f/0xf2
[ 784.941557] EIP: 0xb7f1d549
[ 784.944399] Code: Bad RIP value.
[ 784.947624] EAX: ffffffda EBX: bfbbc7c0 ECX: 08067420 EDX: bfbbc9f4
[ 784.953944] ESI: 08058a14 EDI: bfbbc7c9 EBP: bfbbc868 ESP: bfbbc798
[ 784.960261] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000292
[ 784.967097] ---[ end trace bc662e76cba2d085 ]---
[ 792.443236] ------------[ cut here ]------------
full test log,
https://lkft.validation.linaro.org/scheduler/job/1541788#L9308
--
Linaro LKFT
https://lkft.linaro.org
next reply other threads:[~2020-07-09 5:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-09 5:28 Naresh Kamboju [this message]
2020-07-09 8:25 ` Arnd Bergmann
2020-07-10 4:17 ` Naresh Kamboju
2020-07-09 19:12 ` Linus Torvalds
2020-07-10 4:28 ` Naresh Kamboju
2020-07-10 5:22 ` Linus Torvalds
2020-07-10 17:48 ` Naresh Kamboju
2020-07-10 20:05 ` Linus Torvalds
2020-07-11 17:27 ` Naresh Kamboju
2020-07-11 18:12 ` Linus Torvalds
2020-07-11 18:21 ` Linus Torvalds
2020-07-11 23:33 ` Joel Fernandes
2020-07-12 17:30 ` Matthew Wilcox
2020-07-12 20:38 ` Linus Torvalds
2020-07-12 21:50 ` Joel Fernandes
2020-07-12 22:58 ` Linus Torvalds
2020-07-13 2:53 ` Joel Fernandes
2020-07-13 3:51 ` Linus Torvalds
2020-07-13 12:12 ` Joel Fernandes
2020-07-14 7:33 ` Kirill A. Shutemov
2020-07-14 11:27 ` Naresh Kamboju
2020-07-14 16:08 ` Joel Fernandes
2020-07-14 16:10 ` Linus Torvalds
2020-07-14 18:12 ` Joel Fernandes
2020-07-14 18:49 ` Linus Torvalds
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+G9fYt+6OeibZMD0fP=O3nqFbcN3O4xcLkjq0mpQbZJ2uxB9w@mail.gmail.com' \
--to=naresh.kamboju@linaro.org \
--cc=Fan_Yang@sjtu.edu.cn \
--cc=akpm@linux-foundation.org \
--cc=anshuman.khandual@arm.com \
--cc=arnd@arndb.de \
--cc=bgeffon@google.com \
--cc=catalin.marinas@arm.com \
--cc=chris@chrisdown.name \
--cc=gregkh@linuxfoundation.org \
--cc=guro@fb.com \
--cc=hughd@google.com \
--cc=jglisse@redhat.com \
--cc=joel@joelfernandes.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkft-triage@lists.linaro.org \
--cc=mgorman@techsingularity.net \
--cc=mhocko@kernel.org \
--cc=pugaowei@gmail.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=tj@kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
--cc=walken@google.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox