lkml.org 
[lkml]   [2022]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectselftests: memfd: run_hugetlbfs_test.sh: invalid opcode: 0000 [#1] PREEMPT SMP
Following kernel crash noticed while running selftests: memfd:
run_fuse_test.sh noticed on stable-rc 6.0.7-rc1 on qemu-i386
the image is built with gcc-11.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

# selftests: memfd: run_fuse_test.sh
# opening: ./mnt/memfd
# fuse: DONE
ok 2 selftests: memfd: run_fuse_test.sh
# selftests: memfd: run_hugetlbfs_test.sh
[ 131.233621] run_hugetlbfs_t (1230): drop_caches: 3
[ 131.455691] invalid opcode: 0000 [#1] PREEMPT SMP
[ 131.456932] CPU: 1 PID: 1234 Comm: memfd_test Tainted: G
N 6.0.7-rc1 #1
[ 131.459108] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
BIOS 1.12.0-1 04/01/2014
[ 131.461089] EIP: hugetlb_file_setup.cold+0x0/0x33
[ 131.462221] Code: b8 ea ff ff ff e9 b2 91 2b ff 0f 0b c7 04 24 40
8a 3d de e8 a7 4a ff ff b8 ea ff ff ff e9 b7 9a 2b ff 0f 0b 0f 0b 0f
0b 0f 0b <0f> 0b 64 a1 58 88 96 de c6 05 b5 db 7f de 01 8b 90 ec 03 00
00 05
[ 131.466509] EAX: c405fe18 EBX: 00000000 ECX: 00000020 EDX: 00000000
[ 131.467628] ESI: 80000004 EDI: 00000005 EBP: c4433ecc ESP: c4433eac
[ 131.468489] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00010212
[ 131.469378] CR0: 80050033 CR2: b7e123d0 CR3: 04e19000 CR4: 003506d0
[ 131.470205] Call Trace:
[ 131.470515] __ia32_sys_memfd_create+0x196/0x220
[ 131.471079] __do_fast_syscall_32+0x77/0xd0
[ 131.471589] do_fast_syscall_32+0x32/0x70
[ 131.472075] do_SYSENTER_32+0x15/0x20
[ 131.472524] entry_SYSENTER_32+0x98/0xf6
[ 131.473095] EIP: 0xb7ed5549
[ 131.473459] Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01
10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f
34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d 76 00 58 b8 77 00 00 00 cd 80 90
8d 76
[ 131.475774] EAX: ffffffda EBX: 0804b486 ECX: 80000004 EDX: 080493de
[ 131.476527] ESI: b7cb3220 EDI: b7da98e0 EBP: bfb06748 ESP: bfb066dc
[ 131.477299] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000296
[ 131.478100] Modules linked in: configfs fuse [last unloaded: test_strscpy(N)]
[ 131.478927] ---[ end trace 0000000000000000 ]---
[ 131.479606] EIP: hugetlb_file_setup.cold+0x0/0x33
[ 131.480192] Code: b8 ea ff ff ff e9 b2 91 2b ff 0f 0b c7 04 24 40
8a 3d de e8 a7 4a ff ff b8 ea ff ff ff e9 b7 9a 2b ff 0f 0b 0f 0b 0f
0b 0f 0b <0f> 0b 64 a1 58 88 96 de c6 05 b5 db 7f de 01 8b 90 ec 03 00
00 05
[ 131.482391] EAX: c405fe18 EBX: 00000000 ECX: 00000020 EDX: 00000000
[ 131.483167] ESI: 80000004 EDI: 00000005 EBP: c4433ecc ESP: c4433eac
[ 131.483937] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00010212
[ 131.484778] CR0: 80050033 CR2: b7e123d0 CR3: 04e19000 CR4: 003506d0
# ./run_hugetlbfs_test.sh: line 60: 1234 Segmentation fault
./memfd_test hugetlbfs
# opening: ./mnt/memfd
# fuse: DONE
ok 3 selftests: memfd: run_hugetlbfs_test.sh


metadata:
git_ref: linux-6.0.y
git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
git_sha: 436175d0f780af8302164b3102ecf0ff99f7a376
git_describe: v6.0.6-241-g436175d0f780
kernel_version: 6.0.7-rc1
kernel-config: https://builds.tuxbuild.com/2GyMVgOGkjCgZnY68fHRZ9jp3Y4/config
build-url: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/pipelines/683032123
artifact-location: https://builds.tuxbuild.com/2GyMVgOGkjCgZnY68fHRZ9jp3Y4
toolchain: gcc-11


full test log,
https://lkft.validation.linaro.org/scheduler/job/5799502#L2038

--
Linaro LKFT
https://lkft.linaro.org

\
 
 \ /
  Last update: 2022-11-02 14:26    [W:0.091 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site