806ebc1465: BUG: tried to access memory at 0x7ff6afd3 while not in USER_DS

2016-06-13 Thread kernel test robot


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/uaccess
commit 806ebc146567cb0030460ebf34ebecfb7c67eb76 ("[DEBUG] force 
CONFIG_DEBUG_UACCESS")


on test machine: vm-lkp-wsx03-openwrt-i386: 1 threads qemu-system-i386 
-enable-kvm with 192M memory

caused below changes:


++++
|| 899f263944 | 806ebc1465 |
++++
| boot_successes | 6  | 0  |
| boot_failures  | 4  | 12 |
| IP-Config:Auto-configuration_of_network_failed | 4  ||
| BUG:tried_to_access_memory_at#while_not_in_USER_DS | 0  | 12 |
| kernel_BUG_at_arch/x86/mm/extable.c| 0  | 12 |
| invalid_opcode:#[##]SMP| 0  | 12 |
| EIP_is_at_bad_uaccess_kernel_ds| 0  | 12 |
| Kernel_panic-not_syncing:Fatal_exception   | 0  | 12 |
| backtrace:do_vfs_ioctl | 0  | 6  |
| backtrace:SyS_ioctl| 0  | 6  |
| backtrace:do_execve| 0  | 2  |
| backtrace:SyS_execve   | 0  | 2  |
++++



[   10.893589] Write protecting the kernel read-only data: 3932k
procd: Console is alive
procd: - watchdog -
[   10.922394] BUG: tried to access memory at 0x7ff6afd3 while not in USER_DS
[   10.922394] BUG: tried to access memory at 0x7ff6afd3 while not in USER_DS
[   10.923957] [ cut here ]
[   10.923957] [ cut here ]
[   10.924977] kernel BUG at arch/x86/mm/extable.c:189!
[   10.924977] kernel BUG at arch/x86/mm/extable.c:189!
[   10.926382] invalid opcode:  [#1] SMP
[   10.926382] invalid opcode:  [#1] SMP
[   10.927270] CPU: 0 PID: 1 Comm: init Not tainted 4.7.0-rc2-00014-g806ebc1 
#403
[   10.927270] CPU: 0 PID: 1 Comm: init Not tainted 4.7.0-rc2-00014-g806ebc1 
#403
[   10.928893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Debian-1.8.2-1 04/01/2014
[   10.928893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Debian-1.8.2-1 04/01/2014
[   10.930915] task: 8b44 ti: 8b426000 task.ti: 8b426000
[   10.930915] task: 8b44 ti: 8b426000 task.ti: 8b426000
[   10.932179] EIP: 0060:[<8102e631>] EFLAGS: 00010246 CPU: 0
[   10.932179] EIP: 0060:[<8102e631>] EFLAGS: 00010246 CPU: 0
[   10.933391] EIP is at bad_uaccess_kernel_ds+0xe/0x10
[   10.933391] EIP is at bad_uaccess_kernel_ds+0xe/0x10
[   10.934483] EAX: 003e EBX: 813de9b8 ECX: 81077607 EDX: 8b44
[   10.934483] EAX: 003e EBX: 813de9b8 ECX: 81077607 EDX: 8b44
[   10.935909] ESI: 7ff6afd0 EDI: fff7 EBP: 8b427ef8 ESP: 8b427ef0
[   10.935909] ESI: 7ff6afd0 EDI: fff7 EBP: 8b427ef8 ESP: 8b427ef0
[   10.937353]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[   10.937353]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[   10.938552] CR0: 80050033 CR2: bc60 CR3: 0087a000 CR4: 0690
[   10.938552] CR0: 80050033 CR2: bc60 CR3: 0087a000 CR4: 0690
[   10.939936] Stack:
[   10.939936] Stack:
[   10.940386]  81a330a5
[   10.940386]  81a330a5 7ff6afd3 7ff6afd3 8b427f08 8b427f08 813deab5 813deab5 
813de9b8 813de9b8 899cb780 899cb780 8b427f14 8b427f14 810edd0a 810edd0a

[   10.942231]  899cb780
[   10.942231]  899cb780 8b427f68 8b427f68 810ee465 810ee465 0002 0002 
2180 2180 899cb3c8 899cb3c8 88d146a8 88d146a8 810e100b 810e100b

[   10.944062]  0001
[   10.944062]  0001     899cb3c0 899cb3c0 
0014 0014 0804a2a5 0804a2a5 8b427f60 8b427f60 810e1d7c 810e1d7c

[   10.945951] Call Trace:
[   10.945951] Call Trace:
[   10.946493]  [<813deab5>] wafwdt_ioctl+0xfd/0x14a
[   10.946493]  [<813deab5>] wafwdt_ioctl+0xfd/0x14a
[   10.947528]  [<813de9b8>] ? wafwdt_write+0x63/0x63
[   10.947528]  [<813de9b8>] ? wafwdt_write+0x63/0x63
[   10.948611]  [<810edd0a>] vfs_ioctl+0x17/0x21
[   10.948611]  [<810edd0a>] vfs_ioctl+0x17/0x21
[   10.949568]  [<810ee465>] do_vfs_ioctl+0x5bd/0x5ef
[   10.949568]  [<810ee465>] do_vfs_ioctl+0x5bd/0x5ef
[   10.950620]  [<810e100b>] ? fsnotify_modify+0x48/0x53
[   10.950620]  [<810e100b>] ? fsnotify_modify+0x48/0x53
[   10.951781]  [<810e1d7c>] ? vfs_write+0x9a/0xa6
[   10.951781]  [<810e1d7c>] ? vfs_write+0x9a/0xa6
[   10.952781]  [<810f61f6>] ? __fget_light+0x38/0x5a
[   10.952781]  [<810f61f6>] ? __fget_light+0x38/0x5a
[   10.953909]  [<810ee4c3>] SyS_ioctl+0x2c/0x45
[   10.953909]  [<810ee4c3>] SyS_ioctl+0x2c/0x45
[   10.954866]  [<81000d1c>] 

806ebc1465: BUG: tried to access memory at 0x7ff6afd3 while not in USER_DS

2016-06-13 Thread kernel test robot


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/uaccess
commit 806ebc146567cb0030460ebf34ebecfb7c67eb76 ("[DEBUG] force 
CONFIG_DEBUG_UACCESS")


on test machine: vm-lkp-wsx03-openwrt-i386: 1 threads qemu-system-i386 
-enable-kvm with 192M memory

caused below changes:


++++
|| 899f263944 | 806ebc1465 |
++++
| boot_successes | 6  | 0  |
| boot_failures  | 4  | 12 |
| IP-Config:Auto-configuration_of_network_failed | 4  ||
| BUG:tried_to_access_memory_at#while_not_in_USER_DS | 0  | 12 |
| kernel_BUG_at_arch/x86/mm/extable.c| 0  | 12 |
| invalid_opcode:#[##]SMP| 0  | 12 |
| EIP_is_at_bad_uaccess_kernel_ds| 0  | 12 |
| Kernel_panic-not_syncing:Fatal_exception   | 0  | 12 |
| backtrace:do_vfs_ioctl | 0  | 6  |
| backtrace:SyS_ioctl| 0  | 6  |
| backtrace:do_execve| 0  | 2  |
| backtrace:SyS_execve   | 0  | 2  |
++++



[   10.893589] Write protecting the kernel read-only data: 3932k
procd: Console is alive
procd: - watchdog -
[   10.922394] BUG: tried to access memory at 0x7ff6afd3 while not in USER_DS
[   10.922394] BUG: tried to access memory at 0x7ff6afd3 while not in USER_DS
[   10.923957] [ cut here ]
[   10.923957] [ cut here ]
[   10.924977] kernel BUG at arch/x86/mm/extable.c:189!
[   10.924977] kernel BUG at arch/x86/mm/extable.c:189!
[   10.926382] invalid opcode:  [#1] SMP
[   10.926382] invalid opcode:  [#1] SMP
[   10.927270] CPU: 0 PID: 1 Comm: init Not tainted 4.7.0-rc2-00014-g806ebc1 
#403
[   10.927270] CPU: 0 PID: 1 Comm: init Not tainted 4.7.0-rc2-00014-g806ebc1 
#403
[   10.928893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Debian-1.8.2-1 04/01/2014
[   10.928893] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Debian-1.8.2-1 04/01/2014
[   10.930915] task: 8b44 ti: 8b426000 task.ti: 8b426000
[   10.930915] task: 8b44 ti: 8b426000 task.ti: 8b426000
[   10.932179] EIP: 0060:[<8102e631>] EFLAGS: 00010246 CPU: 0
[   10.932179] EIP: 0060:[<8102e631>] EFLAGS: 00010246 CPU: 0
[   10.933391] EIP is at bad_uaccess_kernel_ds+0xe/0x10
[   10.933391] EIP is at bad_uaccess_kernel_ds+0xe/0x10
[   10.934483] EAX: 003e EBX: 813de9b8 ECX: 81077607 EDX: 8b44
[   10.934483] EAX: 003e EBX: 813de9b8 ECX: 81077607 EDX: 8b44
[   10.935909] ESI: 7ff6afd0 EDI: fff7 EBP: 8b427ef8 ESP: 8b427ef0
[   10.935909] ESI: 7ff6afd0 EDI: fff7 EBP: 8b427ef8 ESP: 8b427ef0
[   10.937353]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[   10.937353]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[   10.938552] CR0: 80050033 CR2: bc60 CR3: 0087a000 CR4: 0690
[   10.938552] CR0: 80050033 CR2: bc60 CR3: 0087a000 CR4: 0690
[   10.939936] Stack:
[   10.939936] Stack:
[   10.940386]  81a330a5
[   10.940386]  81a330a5 7ff6afd3 7ff6afd3 8b427f08 8b427f08 813deab5 813deab5 
813de9b8 813de9b8 899cb780 899cb780 8b427f14 8b427f14 810edd0a 810edd0a

[   10.942231]  899cb780
[   10.942231]  899cb780 8b427f68 8b427f68 810ee465 810ee465 0002 0002 
2180 2180 899cb3c8 899cb3c8 88d146a8 88d146a8 810e100b 810e100b

[   10.944062]  0001
[   10.944062]  0001     899cb3c0 899cb3c0 
0014 0014 0804a2a5 0804a2a5 8b427f60 8b427f60 810e1d7c 810e1d7c

[   10.945951] Call Trace:
[   10.945951] Call Trace:
[   10.946493]  [<813deab5>] wafwdt_ioctl+0xfd/0x14a
[   10.946493]  [<813deab5>] wafwdt_ioctl+0xfd/0x14a
[   10.947528]  [<813de9b8>] ? wafwdt_write+0x63/0x63
[   10.947528]  [<813de9b8>] ? wafwdt_write+0x63/0x63
[   10.948611]  [<810edd0a>] vfs_ioctl+0x17/0x21
[   10.948611]  [<810edd0a>] vfs_ioctl+0x17/0x21
[   10.949568]  [<810ee465>] do_vfs_ioctl+0x5bd/0x5ef
[   10.949568]  [<810ee465>] do_vfs_ioctl+0x5bd/0x5ef
[   10.950620]  [<810e100b>] ? fsnotify_modify+0x48/0x53
[   10.950620]  [<810e100b>] ? fsnotify_modify+0x48/0x53
[   10.951781]  [<810e1d7c>] ? vfs_write+0x9a/0xa6
[   10.951781]  [<810e1d7c>] ? vfs_write+0x9a/0xa6
[   10.952781]  [<810f61f6>] ? __fget_light+0x38/0x5a
[   10.952781]  [<810f61f6>] ? __fget_light+0x38/0x5a
[   10.953909]  [<810ee4c3>] SyS_ioctl+0x2c/0x45
[   10.953909]  [<810ee4c3>] SyS_ioctl+0x2c/0x45
[   10.954866]  [<81000d1c>]