From: kernel test robot <oliver.sang@intel.com>
To: Al Viro <viro@zeniv.linux.org.uk>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
Linux Memory Management List <linux-mm@kvack.org>,
Christian Brauner <brauner@kernel.org>,
<linux-fsdevel@vger.kernel.org>, <oliver.sang@intel.com>
Subject: [linux-next:master] 218a562f27: segfault_at_ip_sp_error
Date: Thu, 10 Oct 2024 13:26:24 +0800 [thread overview]
Message-ID: <202410101245.48a4dc5b-oliver.sang@intel.com> (raw)
Hello,
kernel test robot noticed "segfault_at_ip_sp_error" on:
commit: 218a562f273bec7731af4e713df72d2c8c8816e8 ("make __set_open_fd() set cloexec state as well")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master b6270c3bca987530eafc6a15f9d54ecd0033e0e3]
in testcase: boot
compiler: clang-18
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+-------------------------+------------+------------+
| | 53d05c3162 | 218a562f27 |
+-------------------------+------------+------------+
| segfault_at_ip_sp_error | 0 | 6 |
+-------------------------+------------+------------+
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/202410101245.48a4dc5b-oliver.sang@intel.com
[ 10.259055][ T1] init: Error while reading from descriptor: Bad file descriptor
/bin/sh: /proc/self/fd/9: No such file or directory
[ 10.262474][ T1] init: mountall-shell post-stop process (108) terminated with status 1
LKP: ttyS0: 99: skip deploy intel ucode as no ucode is specified
[ 10.379560][ T126] cat (126) used greatest stack depth: 5692 bytes left
[ 10.415045][ T117] sed[117]: segfault at 0 ip 37e0ef44 sp 3f99b000 error 4 in libc-2.15.so[66f44,37da8000+19f000] likely on CPU 1 (core 1, socket 0)
[ 10.416009][ T117] Code: eb 90 8d 02 e8 2d 18 09 00 eb c9 90 90 90 90 90 90 90 90 90 90 90 83 ec 0c 31 c9 89 34 24 8b 74 24 10 89 6c 24 08 89 7c 24 04 <8b> 2e f7 c5 20 00 00 00 89 e8 0f 95 c1 25 00 80 00 00 75 66 8b 56
All code
========
0: eb 90 jmp 0xffffffffffffff92
2: 8d 02 lea (%rdx),%eax
4: e8 2d 18 09 00 callq 0x91836
9: eb c9 jmp 0xffffffffffffffd4
b: 90 nop
c: 90 nop
d: 90 nop
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 83 ec 0c sub $0xc,%esp
19: 31 c9 xor %ecx,%ecx
1b: 89 34 24 mov %esi,(%rsp)
1e: 8b 74 24 10 mov 0x10(%rsp),%esi
22: 89 6c 24 08 mov %ebp,0x8(%rsp)
26: 89 7c 24 04 mov %edi,0x4(%rsp)
2a:* 8b 2e mov (%rsi),%ebp <-- trapping instruction
2c: f7 c5 20 00 00 00 test $0x20,%ebp
32: 89 e8 mov %ebp,%eax
34: 0f 95 c1 setne %cl
37: 25 00 80 00 00 and $0x8000,%eax
3c: 75 66 jne 0xa4
3e: 8b .byte 0x8b
3f: 56 push %rsi
Code starting with the faulting instruction
===========================================
0: 8b 2e mov (%rsi),%ebp
2: f7 c5 20 00 00 00 test $0x20,%ebp
8: 89 e8 mov %ebp,%eax
a: 0f 95 c1 setne %cl
d: 25 00 80 00 00 and $0x8000,%eax
12: 75 66 jne 0x7a
14: 8b .byte 0x8b
15: 56 push %rsi
LKP: ttyS0: 99: Kernel tests: Boot OK!
LKP: ttyS0: 99: HOSTNAME vm-snb, MAC 52:54:00:12:34:56, kernel 6.12.0-rc2-00014-g218a562f273b 1
[ 10.441864][ T119] sed[119]: segfault at 0 ip 37de2f44 sp 3f88cf20 error 4 in libc-2.15.so[66f44,37d7c000+19f000] likely on CPU 0 (core 0, socket 0)
[ 10.442831][ T119] Code: eb 90 8d 02 e8 2d 18 09 00 eb c9 90 90 90 90 90 90 90 90 90 90 90 83 ec 0c 31 c9 89 34 24 8b 74 24 10 89 6c 24 08 89 7c 24 04 <8b> 2e f7 c5 20 00 00 00 89 e8 0f 95 c1 25 00 80 00 00 75 66 8b 56
All code
========
0: eb 90 jmp 0xffffffffffffff92
2: 8d 02 lea (%rdx),%eax
4: e8 2d 18 09 00 callq 0x91836
9: eb c9 jmp 0xffffffffffffffd4
b: 90 nop
c: 90 nop
d: 90 nop
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 83 ec 0c sub $0xc,%esp
19: 31 c9 xor %ecx,%ecx
1b: 89 34 24 mov %esi,(%rsp)
1e: 8b 74 24 10 mov 0x10(%rsp),%esi
22: 89 6c 24 08 mov %ebp,0x8(%rsp)
26: 89 7c 24 04 mov %edi,0x4(%rsp)
2a:* 8b 2e mov (%rsi),%ebp <-- trapping instruction
2c: f7 c5 20 00 00 00 test $0x20,%ebp
32: 89 e8 mov %ebp,%eax
34: 0f 95 c1 setne %cl
37: 25 00 80 00 00 and $0x8000,%eax
3c: 75 66 jne 0xa4
3e: 8b .byte 0x8b
3f: 56 push %rsi
Code starting with the faulting instruction
===========================================
0: 8b 2e mov (%rsi),%ebp
2: f7 c5 20 00 00 00 test $0x20,%ebp
8: 89 e8 mov %ebp,%eax
a: 0f 95 c1 setne %cl
d: 25 00 80 00 00 and $0x8000,%eax
12: 75 66 jne 0x7a
14: 8b .byte 0x8b
15: 56 push %rsi
[ 10.550743][ T155] mkdir (155) used greatest stack depth: 5668 bytes left
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20241010/202410101245.48a4dc5b-oliver.sang@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-10-10 5:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202410101245.48a4dc5b-oliver.sang@intel.com \
--to=oliver.sang@intel.com \
--cc=brauner@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=oe-lkp@lists.linux.dev \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox