* [tglx-devel:rseq/slice-v2] [x86/uaccess] 227a9a48be: BUG:unable_to_handle_page_fault_for_address
@ 2025-10-23 7:30 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-10-23 7:30 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: oe-lkp, lkp, oliver.sang
Hello,
kernel test robot noticed "BUG:unable_to_handle_page_fault_for_address" on:
commit: 227a9a48be5d752c0a6854d1454c42fd670c1f3e ("x86/uaccess: Use unsafe wrappers for ASM GOTO")
https://git.kernel.org/cgit/linux/kernel/git/tglx/devel.git rseq/slice-v2
in testcase: boot
config: i386-randconfig-141-20251022
compiler: gcc-14
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+---------------------------------------------+------------+------------+
| | 821a44ce12 | 227a9a48be |
+---------------------------------------------+------------+------------+
| boot_successes | 18 | 0 |
| boot_failures | 0 | 18 |
| BUG:unable_to_handle_page_fault_for_address | 0 | 18 |
| Oops | 0 | 18 |
| EIP:copy_to_kernel_nofault | 0 | 18 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 18 |
+---------------------------------------------+------------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202510231428.d088556-lkp@intel.com
[ 16.992248][ T0] BUG: unable to handle page fault for address: ffcb2000
[ 16.994015][ T0] #PF: supervisor write access in kernel mode
[ 16.994645][ T0] #PF: error_code(0x0003) - permissions violation
[ 16.995321][ T0] *pde = 0326d067 *pte = 0326b121
[ 16.995868][ T0] Oops: Oops: 0003 [#1] SMP
[ 16.996321][ T0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.18.0-rc1-00003-g227a9a48be5d #1 PREEMPT
[ 16.997384][ T0] EIP: copy_to_kernel_nofault (mm/maccess.c:78 (discriminator 7))
[ 16.997993][ T0] Code: 83 f9 03 76 12 8b 36 89 30 83 e9 04 eb ea 66 8b 36 66 89 30 83 e9 02 89 d8 89 d6 29 c8 29 ce 83 f9 01 77 ea 85 c9 74 04 8a 16 <88> 10 e8 1d fe ff ff 31 c0 eb 11 89 30 eb 03 66 89 30 e8 0d fe ff
All code
========
0: 83 f9 03 cmp $0x3,%ecx
3: 76 12 jbe 0x17
5: 8b 36 mov (%rsi),%esi
7: 89 30 mov %esi,(%rax)
9: 83 e9 04 sub $0x4,%ecx
c: eb ea jmp 0xfffffffffffffff8
e: 66 8b 36 mov (%rsi),%si
11: 66 89 30 mov %si,(%rax)
14: 83 e9 02 sub $0x2,%ecx
17: 89 d8 mov %ebx,%eax
19: 89 d6 mov %edx,%esi
1b: 29 c8 sub %ecx,%eax
1d: 29 ce sub %ecx,%esi
1f: 83 f9 01 cmp $0x1,%ecx
22: 77 ea ja 0xe
24: 85 c9 test %ecx,%ecx
26: 74 04 je 0x2c
28: 8a 16 mov (%rsi),%dl
2a:* 88 10 mov %dl,(%rax) <-- trapping instruction
2c: e8 1d fe ff ff call 0xfffffffffffffe4e
31: 31 c0 xor %eax,%eax
33: eb 11 jmp 0x46
35: 89 30 mov %esi,(%rax)
37: eb 03 jmp 0x3c
39: 66 89 30 mov %si,(%rax)
3c: e8 .byte 0xe8
3d: 0d .byte 0xd
3e: fe (bad)
3f: ff .byte 0xff
Code starting with the faulting instruction
===========================================
0: 88 10 mov %dl,(%rax)
2: e8 1d fe ff ff call 0xfffffffffffffe24
7: 31 c0 xor %eax,%eax
9: eb 11 jmp 0x1c
b: 89 30 mov %esi,(%rax)
d: eb 03 jmp 0x12
f: 66 89 30 mov %si,(%rax)
12: e8 .byte 0xe8
13: 0d .byte 0xd
14: fe (bad)
15: ff .byte 0xff
[ 17.000167][ T0] EAX: ffcb2000 EBX: ffcb2001 ECX: 00000001 EDX: 82ba9f00
[ 17.000906][ T0] ESI: 82ba9f6b EDI: ee7fdb35 EBP: 82ba9f5c ESP: 82ba9f54
[ 17.001671][ T0] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00210002
[ 17.002508][ T0] CR0: 80050033 CR2: ffcb2000 CR3: 0326a000 CR4: 00000090
[ 17.003279][ T0] Call Trace:
[ 17.003638][ T0] mem_init (arch/x86/mm/init_32.c:675 (discriminator 2) arch/x86/mm/init_32.c:720 (discriminator 2))
[ 17.004123][ T0] mm_core_init (mm/mm_init.c:2708)
[ 17.004578][ T0] start_kernel (init/main.c:972)
[ 17.006783][ T0] i386_start_kernel (arch/x86/kernel/head32.c:79)
[ 17.007289][ T0] startup_32_smp (arch/x86/kernel/head_32.S:293)
[ 17.007784][ T0] Modules linked in:
[ 17.008183][ T0] CR2: 00000000ffcb2000
[ 17.008631][ T0] ---[ end trace 0000000000000000 ]---
[ 17.009250][ T0] EIP: copy_to_kernel_nofault (mm/maccess.c:78 (discriminator 7))
[ 17.009853][ T0] Code: 83 f9 03 76 12 8b 36 89 30 83 e9 04 eb ea 66 8b 36 66 89 30 83 e9 02 89 d8 89 d6 29 c8 29 ce 83 f9 01 77 ea 85 c9 74 04 8a 16 <88> 10 e8 1d fe ff ff 31 c0 eb 11 89 30 eb 03 66 89 30 e8 0d fe ff
All code
========
0: 83 f9 03 cmp $0x3,%ecx
3: 76 12 jbe 0x17
5: 8b 36 mov (%rsi),%esi
7: 89 30 mov %esi,(%rax)
9: 83 e9 04 sub $0x4,%ecx
c: eb ea jmp 0xfffffffffffffff8
e: 66 8b 36 mov (%rsi),%si
11: 66 89 30 mov %si,(%rax)
14: 83 e9 02 sub $0x2,%ecx
17: 89 d8 mov %ebx,%eax
19: 89 d6 mov %edx,%esi
1b: 29 c8 sub %ecx,%eax
1d: 29 ce sub %ecx,%esi
1f: 83 f9 01 cmp $0x1,%ecx
22: 77 ea ja 0xe
24: 85 c9 test %ecx,%ecx
26: 74 04 je 0x2c
28: 8a 16 mov (%rsi),%dl
2a:* 88 10 mov %dl,(%rax) <-- trapping instruction
2c: e8 1d fe ff ff call 0xfffffffffffffe4e
31: 31 c0 xor %eax,%eax
33: eb 11 jmp 0x46
35: 89 30 mov %esi,(%rax)
37: eb 03 jmp 0x3c
39: 66 89 30 mov %si,(%rax)
3c: e8 .byte 0xe8
3d: 0d .byte 0xd
3e: fe (bad)
3f: ff .byte 0xff
Code starting with the faulting instruction
===========================================
0: 88 10 mov %dl,(%rax)
2: e8 1d fe ff ff call 0xfffffffffffffe24
7: 31 c0 xor %eax,%eax
9: eb 11 jmp 0x1c
b: 89 30 mov %esi,(%rax)
d: eb 03 jmp 0x12
f: 66 89 30 mov %si,(%rax)
12: e8 .byte 0xe8
13: 0d .byte 0xd
14: fe (bad)
15: ff .byte 0xff
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20251023/202510231428.d088556-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-10-23 7:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-23 7:30 [tglx-devel:rseq/slice-v2] [x86/uaccess] 227a9a48be: BUG:unable_to_handle_page_fault_for_address kernel test robot
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.