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] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 25 Feb 2018 14:05:33 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Stephen Hemminger <stephen@...workplumber.org>
Cc:     davem@...emloft.net, willy@...radead.org, netdev@...r.kernel.org,
        linux-mm@...ck.org, ikomyagin@...il.com,
        Stephen Hemminger <sthemmin@...rosoft.com>,
        Stephen Hemminger <stephen@...workplumber.org>, lkp@...org
Subject: [net]  ba4f5b62a2: kernel_BUG_at_net/socket.c

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

commit: ba4f5b62a2565718cf1b85e736df12da68bbb114 ("net: mark slab's used by ss as UAPI")
url: https://github.com/0day-ci/linux/commits/Stephen-Hemminger/mark-some-slabs-as-visible-not-mergeable/20180225-084344


in testcase: trinity
with following parameters:

	runtime: 300s

test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/


on test machine: qemu-system-x86_64 -enable-kvm -m 512M

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+------------------------------------------+------------+------------+
|                                          | 679d6c9b78 | ba4f5b62a2 |
+------------------------------------------+------------+------------+
| boot_successes                           | 37         | 0          |
| boot_failures                            | 0          | 6          |
| kernel_BUG_at_net/socket.c               | 0          | 6          |
| invalid_opcode:#[##]                     | 0          | 6          |
| RIP:sock_init                            | 0          | 6          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 6          |
+------------------------------------------+------------+------------+



[    0.054820] kernel BUG at net/socket.c:293!
[    0.055261] invalid opcode: 0000 [#1] PREEMPT
[    0.055574] CPU: 0 PID: 1 Comm: swapper Not tainted 4.16.0-rc2-00147-gba4f5b6 #1
[    0.056094] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.056681] RIP: 0010:sock_init+0xc7/0x1a9
[    0.056979] RSP: 0000:ffffc9000000be58 EFLAGS: 00010293
[    0.057351] RAX: 0000000000000000 RBX: cbc1095dc7d516bb RCX: ffff88001f66e040
[    0.057903] RDX: 0000000000000000 RSI: ffffffff833e9787 RDI: ffffffff82df9208
[    0.058401] RBP: ffffc9000000be70 R08: ffffc9000000bf48 R09: 0000000000000000
[    0.058902] R10: 0000000000000002 R11: 0000000000000100 R12: 0000000000000003
[    0.059401] R13: 0000000000000000 R14: ffffffff833e96c0 R15: 9feaf2bde0204734
[    0.059909] FS:  0000000000000000(0000) GS:ffffffff82a42000(0000) knlGS:0000000000000000
[    0.060000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.060000] CR2: 0000000000000000 CR3: 0000000002a1c000 CR4: 00000000000006f0
[    0.060000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.060000] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    0.060000] Call Trace:
[    0.060000]  do_one_initcall+0x110/0x30e
[    0.060000]  ? do_early_param+0x1d9/0x1d9
[    0.060000]  kernel_init_freeable+0x191/0x2ff
[    0.060000]  ? rest_init+0x10d/0x10d
[    0.060000]  kernel_init+0x14/0x1ca
[    0.060000]  ? rest_init+0x10d/0x10d
[    0.060000]  ret_from_fork+0x24/0x30
[    0.060000] Code: df 82 31 c9 31 d2 44 89 e6 49 83 c4 02 48 89 05 c0 8a f2 ff e8 16 e2 dc fd 4a ff 04 e5 c8 09 24 83 4d 85 ed 75 07 e8 14 71 d9 fd <0f> 0b 48 b8 66 15 13 7e 02 01 3f 70 48 01 c3 e8 00 71 d9 fd 48 
[    0.060000] RIP: sock_init+0xc7/0x1a9 RSP: ffffc9000000be58
[    0.060043] ---[ end trace 7952a3ce7af68811 ]---


To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script  # job-script is attached in this email



Thanks,
lkp

View attachment "config-4.16.0-rc2-00147-gba4f5b6" of type "text/plain" (90458 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ