FYI, we noticed the below changes on
https://git.kernel.org/pub/scm/linux/kernel/git/daveh/x86-pkeys.git pkeys-v008
commit 6f8685f4731b4e391d9326ee3fc1bfa3eb764adf ("mm: simplify __get_user_pages()")
+------------------------------------------------+------------+------------+
| | c30768730a | 6f8685f473 |
+------------------------------------------------+------------+------------+
| boot_successes | 94 | 0 |
| boot_failures | 4 | 54 |
| IP-Config:Auto-configuration_of_network_failed | 4 | |
| kernel_BUG_at_mm/gup.c | 0 | 54 |
| invalid_opcode:#[##]SMP | 0 | 54 |
| EIP_is_at_get_user_pages | 0 | 54 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 54 |
| backtrace:do_execve | 0 | 8 |
| backtrace:run_init_process | 0 | 8 |
| backtrace:call_usermodehelper_exec_async | 0 | 46 |
+------------------------------------------------+------------+------------+
[ 12.989809] Write protecting the kernel text: 10048k
[ 12.991339] Write protecting the kernel read-only data: 4092k
[ 12.992761] ------------[ cut here ]------------
[ 12.993990] kernel BUG at mm/gup.c:648!
[ 12.995318] invalid opcode: 0000 [#1] SMP
[ 12.996554] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.3.0-09276-g6f8685f #1338
[ 12.998179] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 13.007206] task: d44b0000 ti: d44ac000 task.ti: d44ac000
[ 13.008736] EIP: 0060:[<c10b7992>] EFLAGS: 00010246 CPU: 0
[ 13.010299] EIP is at get_user_pages+0x6c/0xee
[ 13.011718] EAX: 00000001 EBX: 00000000 ECX: d44adf3c EDX: 00000000
[ 13.013407] ESI: 00000017 EDI: d44adf3c EBP: d44adef0 ESP: d44aded0
[ 13.015114] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 13.016742] CR0: 80050033 CR2: c19d5fec CR3: 01f63000 CR4: 00040690
[ 13.031489] Stack:
[ 13.032652] d5d62038 d44b0000 bffffff6 d5d62000 00000000 00000ff6 00000000 d5d21e00
[ 13.034587] d44adf4c c10dc0f9 00000001 00000001 00000001 d44adf3c 00000000 d5d21eb0
[ 13.036539] 00000ff6 d44b0000 00000000 d5cd6010 00000000 00000000 d44b0000 00000001
[ 13.051646] Call Trace:
[ 13.052968] [<c10dc0f9>] copy_strings+0x12c/0x23f
[ 13.054523] [<c10dc4ab>] copy_strings_kernel+0x21/0x2b
[ 13.056125] [<c10dd616>] do_execveat_common+0x344/0x4ee
[ 13.057761] [<c10dd7d4>] do_execve+0x14/0x16
[ 13.059291] [<c1000384>] run_init_process+0x1c/0x1e
[ 13.060890] [<c19c6fa4>] kernel_init+0x34/0xb5
[ 13.062461] [<c19cdd11>] ret_from_kernel_thread+0x21/0x40
[ 13.073448] [<c19c6f70>] ? rest_init+0x72/0x72
[ 13.075273] Code: 55 ec 8b 4d e8 50 8b 45 e4 ff 75 18 57 56 ff 75 08 e8 fc fc ff ff 8b 55 f0 83 c4 14 85 d2 75 0d 85 c0 79 02 0f 0b 39 45 08 77 02 <0f> 0b 85 ff 74 70 85 c0 7e 07 01 c3 29 45 08 74 67 85 d2 75 42
[ 13.080967] EIP: [<c10b7992>] get_user_pages+0x6c/0xee SS:ESP 0068:d44aded0
[ 13.083049] ---[ end trace 4cd3e2eb20b11012 ]---
[ 13.084836] Kernel panic - not syncing: Fatal exception
Thanks,
Ying Huang