lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201112063736.GA17067@xsang-OptiPlex-9020>
Date:   Thu, 12 Nov 2020 14:37:36 +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, songliubraving@...com,
        Daniel Xu <dxu@...uu.xyz>, kernel-team@...com,
        0day robot <lkp@...el.com>, lkp@...ts.01.org
Subject: [lib/strncpy_from_user.c] e65411d04b:
 Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode=


Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: e65411d04b2169093cc907482108b5ccef73e405 ("[PATCH bpf v3 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/20201106-033210
base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf.git master

in testcase: kernel-selftests
version: kernel-selftests-x86_64-b5a583fb-1_20201015
with following parameters:

	group: x86
	ucode: 0xdc

test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt


on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G 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>


[   30.629854]     LKP_SERVER=internal-lkp-server
[   30.634421]     softlockup_panic=1
[   30.637943]     prompt_ramdisk=0
[   30.641290]     vga=normal
/init: error whi
[   30.645286] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
le loading share
[   30.654471] CPU: 3 PID: 1 Comm: init Not tainted 5.9.0-13438-ge65411d04b21 #1
d libraries: lib
[   30.663026] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.8.1 12/05/2017
c.so.6: cannot o
[   30.671877] Call Trace:
pen shared objec
[   30.675716]  dump_stack+0x8d/0xb5
t file: No such 
[   30.680476]  panic+0x11d/0x306
file or director
[   30.684955]  ? acct_update_integrals+0x9e/0xc0
y
[   30.690838]  do_exit.cold+0x65/0xc1
[   30.694591]  do_group_exit+0x47/0xc0
[   30.698290]  __x64_sys_exit_group+0x14/0x20
[   30.702601]  do_syscall_64+0x33/0x40
[   30.706299]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   30.711483] RIP: 0033:0x7f11aa527806
[   30.715183] 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
[   30.734166] RSP: 002b:00007fff5af71738 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7
[   30.741898] RAX: ffffffffffffffda RBX: 00007f11aa530208 RCX: 00007f11aa527806
[   30.749166] RDX: 000000000000007f RSI: 000000000000003c RDI: 000000000000007f
[   30.756435] RBP: 00007f11aa536e80 R08: 00000000000000e7 R09: 00007fff5af71648
[   30.763730] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002
[   30.770998] R13: 0000000000000001 R14: 00007f11aa536eb0 R15: 0000000000000000
[   30.778331] 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-ge65411d04b21" of type "text/plain" (211431 bytes)

View attachment "job-script" of type "text/plain" (5964 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (16220 bytes)

View attachment "job.yaml" of type "text/plain" (4790 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ