[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 4 Mar 2019 01:39:54 +0800
From: kernel test robot <lkp@...el.com>
To: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Shuah Khan <shuah@...nel.org>, mhiramat@...nel.org,
linux-kernel@...r.kernel.org,
Andy Lutomirski <luto@...capital.net>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Changbin Du <changbin.du@...il.com>,
Jann Horn <jannh@...gle.com>,
Kees Cook <keescook@...omium.org>,
Andy Lutomirski <luto@...nel.org>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Nadav Amit <namit@...are.com>,
Peter Zijlstra <peterz@...radead.org>,
Joel Fernandes <joel@...lfernandes.org>, yhs@...com, lkp@...org
Subject: [uaccess] 780464aed0:
WARNING:at_arch/x86/include/asm/uaccess.h:#strnlen_user/0x
FYI, we noticed the following commit (built with gcc-8):
commit: 780464aed08ad00aa6d5f81ac8bef2e714dc8b06 ("[PATCH v5 2/6] uaccess: Use user_access_ok() in user_access_begin()")
url: https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/tracing-probes-uaccess-Add-support-user-space-access/20190303-203749
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-----------------------------------------------------------------+------------+------------+
| | 0331497cc8 | 780464aed0 |
+-----------------------------------------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 0 | 4 |
| WARNING:at_arch/x86/include/asm/uaccess.h:#strnlen_user/0x | 0 | 4 |
| RIP:strnlen_user | 0 | 4 |
| WARNING:at_arch/x86/include/asm/uaccess.h:#strncpy_from_user/0x | 0 | 4 |
| RIP:strncpy_from_user | 0 | 4 |
+-----------------------------------------------------------------+------------+------------+
[ 3.970230] WARNING: CPU: 1 PID: 20 at arch/x86/include/asm/uaccess.h:718 strnlen_user+0x110/0x160
[ 3.970294] Modules linked in:
[ 3.970294] CPU: 1 PID: 20 Comm: kdevtmpfs Not tainted 5.0.0-rc8-00253-g780464a #1
[ 3.970294] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 3.970294] RIP: 0010:strnlen_user+0x110/0x160
[ 3.970294] Code: 5e c3 48 ba 00 f0 ff ff ff 7f 00 00 e9 47 ff ff ff 48 ba 00 f0 ff ff ff ff ff 00 e9 38 ff ff ff 5b 31 c0 5d 41 5e c3 31 c0 c3 <0f> 0b e9 30 ff ff ff 4c 29 c1 48 8d 46 01 48 39 ce 48 0f 47 c2 eb
[ 4.003505] RSP: 0000:ffffa41d00cfbe58 EFLAGS: 00010286
[ 4.003505] RAX: ffffffffffffffff RBX: ffffffff8cafeec0 RCX: ffffffffffffffff
[ 4.003505] RDX: 00007ffffffff000 RSI: 0000000000001000 RDI: ffffffff8cafeec0
[ 4.003505] RBP: 0000000000001000 R08: ffffa41d00cfbed6 R09: 000000007350113f
[ 4.003505] R10: 0000000000000001 R11: 00000000ffffffff R12: ffffffff8cafeec0
[ 4.003505] R13: ffffffff8cacdf83 R14: 0000000000008000 R15: ffffffff8bf9dd90
[ 4.003505] FS: 0000000000000000(0000) GS:ffff8f8bffd00000(0000) knlGS:0000000000000000
[ 4.003505] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4.003505] CR2: 00000000ffffffff CR3: 000000010ae0e000 CR4: 00000000000406e0
[ 4.003505] Call Trace:
[ 4.003505] strndup_user+0x14/0x60
[ 4.003505] ksys_mount+0x30/0xd0
[ 4.003505] ? handle_create+0x1f0/0x1f0
[ 4.003505] devtmpfsd+0x9c/0x190
[ 4.003505] kthread+0x11d/0x140
[ 4.003505] ? __kthread_parkme+0x80/0x80
[ 4.003505] ret_from_fork+0x35/0x40
[ 4.003505] ---[ end trace 223fbf0f5f9372dc ]---
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
View attachment "config-5.0.0-rc8-00253-g780464a" of type "text/plain" (191945 bytes)
View attachment "job-script" of type "text/plain" (4611 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (13880 bytes)
Powered by blists - more mailing lists