[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201115104112.GC7077@xsang-OptiPlex-9020>
Date: Sun, 15 Nov 2020 18:41:12 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Daniel Xu <dxu@...uu.xyz>
Cc: bpf@...r.kernel.org, linux-kernel@...r.kernel.org, ast@...nel.org,
daniel@...earbox.net, Daniel Xu <dxu@...uu.xyz>,
kernel-team@...com, 0day robot <lkp@...el.com>, lkp@...ts.01.org
Subject: [lib/strncpy_from_user.c] 2903f3d558:
Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode=
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 2903f3d55815f9bdbd4eff4f8e58e76400741f84 ("[PATCH bpf v2 1/2] lib/strncpy_from_user.c: Don't overcopy bytes after NUL terminator")
url: https://github.com/0day-ci/linux/commits/Daniel-Xu/Fix-bpf_probe_read_user_str-overcopying/20201105-102832
base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf.git master
in testcase: apachebench
version:
with following parameters:
runtime: 300s
concurrency: 4000
cluster: cs-localhost
cpufreq_governor: performance
ucode: 0x7000019
test-description: apachebench is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server.
test-url: https://httpd.apache.org/docs/2.4/programs/ab.html
on test machine: 16 threads Intel(R) Xeon(R) CPU D-1541 @ 2.10GHz with 48G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>
[ 29.725008] max_uptime=3600
[ 29.728144] RESULT_ROOT=/result/apachebench/cs-localhost-4000-performance-300s-ucode=0x7000019-monitor=3472ca3d/lkp-bdw-de1/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/2903f3d55815f9bdbd4eff4f8e58e76400741f84/0
[ 29.748008] LKP_SERVER=internal-lkp-server
[ 29.752464] softlockup_panic=1
[ 29.755861] prompt_ramdisk=0
[ 29.759420] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 29.767066] CPU: 7 PID: 1 Comm: init Not tainted 5.9.0-13438-g2903f3d55815 #1
[ 29.774206] Hardware name: Supermicro SYS-5018D-FN4T/X10SDV-8C-TLN4F, BIOS 1.1 03/02/2016
[ 29.782369] Call Trace:
[ 29.784820] dump_stack+0x57/0x6a
[ 29.788136] panic+0x102/0x2d2
[ 29.791205] ? vfs_statx+0x7b/0x120
[ 29.794687] do_exit.cold+0xb2/0xbe
[ 29.798173] do_group_exit+0x3a/0xa0
[ 29.801749] __x64_sys_exit_group+0x14/0x20
[ 29.805928] do_syscall_64+0x33/0x40
[ 29.809498] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 29.814542] RIP: 0033:0x7fb35bfd4806
[ 29.818113] Code: 83 c8 ff c3 89 fa 41 b8 e7 00 00 00 be 3c 00 00 00 eb 10 90 89 d7 89 f0 0f 05 48 3d 00 f0 ff ff 77 22 f4 89 d7 44 89 c0 0f 05 <48> 3d 00 f0 ff ff 76 e2 f7 d8 89 05 2a e9 00 00 eb d8 0f 1f 84 00
[ 29.836850] RSP: 002b:00007fffe0fe35f8 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7
[ 29.844406] RAX: ffffffffffffffda RBX: 00007fb35bfdd208 RCX: 00007fb35bfd4806
[ 29.851528] RDX: 000000000000007f RSI: 000000000000003c RDI: 000000000000007f
[ 29.858654] RBP: 00007fb35bfe3e80 R08: 00000000000000e7 R09: 00007fffe0fe3508
[ 29.865778] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000002
[ 29.872901] R13: 0000000000000001 R14: 00007fb35bfe3eb0 R15: 0000000000000000
[ 29.880070] Kernel Offset: disabled
ACPI MEMORY or I/O RESET_REG.
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Oliver Sang
View attachment "config-5.9.0-13438-g2903f3d55815" of type "text/plain" (171553 bytes)
View attachment "job-script" of type "text/plain" (8093 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (17812 bytes)
View attachment "job.yaml" of type "text/plain" (5259 bytes)
Powered by blists - more mailing lists