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>] [day] [month] [year] [list]
Date:   Fri, 28 Apr 2017 11:48:34 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Herbert Xu <herbert@...dor.apana.org.au>
Cc:     LKP <lkp@...org>, linux-kernel@...r.kernel.org,
        netdev@...r.kernel.org, wfg@...ux.intel.com
Subject: [rhashtable] 6d684e5469:  Kernel panic - not syncing:
 rtnetlink_init: cannot initialize rtnetlink

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master

commit 6d684e54690caef45cf14051ddeb7c71beeb681b
Author:     Herbert Xu <herbert@...dor.apana.org.au>
AuthorDate: Thu Apr 27 13:44:51 2017 +0800
Commit:     David S. Miller <davem@...emloft.net>
CommitDate: Thu Apr 27 11:48:24 2017 -0400

    rhashtable: Cap total number of entries to 2^31
    
    When max_size is not set or if it set to a sufficiently large
    value, the nelems counter can overflow.  This would cause havoc
    with the automatic shrinking as it would then attempt to fit a
    huge number of entries into a tiny hash table.
    
    This patch fixes this by adding max_elems to struct rhashtable
    to cap the number of elements.  This is set to 2^31 as nelems is
    not a precise count.  This is sufficiently smaller than UINT_MAX
    that it should be safe.
    
    When max_size is set max_elems will be lowered to at most twice
    max_size as is the status quo.
    
    Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
    Signed-off-by: David S. Miller <davem@...emloft.net>

4b726e81da  tcp: tcp_rack_reo_timeout() must update tp->tcp_mstamp
6d684e5469  rhashtable: Cap total number of entries to 2^31
e221c1f0fe  Merge tag 'wireless-drivers-next-for-davem-2017-04-27' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
+---------------------------------------------------------------------+------------+------------+------------+
|                                                                     | 4b726e81da | 6d684e5469 | e221c1f0fe |
+---------------------------------------------------------------------+------------+------------+------------+
| boot_successes                                                      | 35         | 0          | 0          |
| boot_failures                                                       | 0          | 13         | 13         |
| Kernel_panic-not_syncing:rtnetlink_init:cannot_initialize_rtnetlink | 0          | 13         | 13         |
| BUG:kernel_in_stage                                                 | 0          | 1          | 1          |
+---------------------------------------------------------------------+------------+------------+------------+

[    0.106834] futex hash table entries: 256 (order: 3, 32768 bytes)
[    0.148019] xor: automatically using best checksumming function   avx       
[    0.148019] xor: automatically using best checksumming function   avx       
[    0.152501] NET: Registered protocol family 16
[    0.152501] NET: Registered protocol family 16
[    0.157635] Kernel panic - not syncing: rtnetlink_init: cannot initialize rtnetlink
[    0.157635] 
[    0.157635] Kernel panic - not syncing: rtnetlink_init: cannot initialize rtnetlink
[    0.157635] 
[    0.162789] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc8-02028-g6d684e5 #1
[    0.162789] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc8-02028-g6d684e5 #1
[    0.166143] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    0.166143] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    0.169615] Call Trace:
[    0.169615] Call Trace:
[    0.170458]  show_stack+0x72/0x76
[    0.170458]  show_stack+0x72/0x76
[    0.171559]  dump_stack+0x10c/0x181
[    0.171559]  dump_stack+0x10c/0x181
[    0.172753]  ? __mutex_unlock_slowpath+0x171/0x34a
[    0.172753]  ? __mutex_unlock_slowpath+0x171/0x34a
[    0.174332]  panic+0x121/0x329
[    0.174332]  panic+0x121/0x329
[    0.175385]  rtnetlink_init+0x39/0x1b7
[    0.175385]  rtnetlink_init+0x39/0x1b7
[    0.176784]  netlink_proto_init+0x1bc/0x1da
[    0.176784]  netlink_proto_init+0x1bc/0x1da
[    0.178399]  ? net_ns_init+0x19c/0x19c
[    0.178399]  ? net_ns_init+0x19c/0x19c
[    0.180171]  ? eth_offload_init+0x14/0x14
[    0.180171]  ? eth_offload_init+0x14/0x14
[    0.182045]  do_one_initcall+0xa2/0x1cc
[    0.182045]  do_one_initcall+0xa2/0x1cc
[    0.183789]  do_basic_setup+0x98/0xb8
[    0.183789]  do_basic_setup+0x98/0xb8
[    0.185369]  kernel_init_freeable+0x92/0x147
[    0.185369]  kernel_init_freeable+0x92/0x147
[    0.187076]  ? rest_init+0x170/0x170
[    0.187076]  ? rest_init+0x170/0x170
[    0.188694]  kernel_init+0xe/0x171
[    0.188694]  kernel_init+0xe/0x171
[    0.190235]  ret_from_fork+0x31/0x40
[    0.190235]  ret_from_fork+0x31/0x40


                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start d1c34825a799a7ba4693bf46fbc79238aed374e6 5a7ad1146caa895ad718a534399e38bd2ba721b7 --
git bisect good c6616d396b8b3e3c55cc66b24652a63108ea98dc  # 06:18  G     11     0    0   0  Merge 'linux-review/Jerry-Snitselaar/tpm-print-tpm-error-code-in-hex-for-TPM2-0-devices/20170428-043331' into devel-catchup-201704280512
git bisect good b25b2abcfd0401937550e1d1806d83d796f1a043  # 06:50  G     10     0    2   2  Merge 'iio/fixes-togreg' into devel-catchup-201704280512
git bisect  bad d03caeb5c291c2fa03c57c5835677986c040913a  # 07:03  B      0     2   12   0  Merge 'net-next/master' into devel-catchup-201704280512
git bisect good a195fe56e7785f560ddf35293946bb4f9b024bf0  # 07:32  G     11     0    0   0  Merge 'linux-review/Kirill-Tkhai/pid_ns-Introduce-ioctl-to-set-vector-of-ns_last_pid-s-on-ns-hierarhy/20170428-035028' into devel-catchup-201704280512
git bisect good aa59004bdc2e6569a7101fe196a56c6bd58b12d8  # 07:56  G     11     0    0   0  s390/qeth: use QDIO_*_QFMT defines
git bisect good fada43ccc84e225fe8d3804878a4028def7f85a5  # 08:09  G     11     0    0   0  bindings: net: stmmac: add missing note about LPI interrupt
git bisect good a0597834dc0e1af68f48f92b31617b360a14dfc8  # 08:28  G     11     0    0   0  rt2800: fix mt7620 E2 channel registers
git bisect good 9b5381637e2baecf14433452d349ca44db72e9e5  # 08:45  G     11     0    0   0  Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue
git bisect good 0e43d1009d64afcc57bfb5155f1a36c395fac178  # 09:01  G     11     0    0   0  Merge branch 'bpf-misc-cleanups'
git bisect good 36784277c59bdfce8b90233c85e957ae4ee702fc  # 09:17  G     11     0    0   0  Merge branch 'l2tpeth-info'
git bisect good 128eda86bebeacefb0fcc64cab0155aa76857c92  # 09:31  G     11     0    0   0  tcp: do not pass timestamp to tcp_rack_mark_lost()
git bisect good 4c5e7a2c0501bd531aad1d0378c589a92cb3cc31  # 09:43  G     11     0    0   0  dt-bindings: mdio: Clarify binding document
git bisect good 78a57b482aa53b040fbc2b2ef0208b54f004161b  # 09:57  G     11     0    0   2  virtio-net: on tx, only call napi_disable if tx napi is on
git bisect good 4b726e81dab2cefefd2c1cb00e3074ac0eec4b15  # 10:10  G     11     0    0   0  tcp: tcp_rack_reo_timeout() must update tp->tcp_mstamp
git bisect  bad 3993f2cb983b2100409851f7b2abb21d685ea19c  # 10:22  B      0     1   11   0  samples/bpf: Add support for SKB_MODE to xdp1 and xdp_tx_iptunnel
git bisect  bad 6d684e54690caef45cf14051ddeb7c71beeb681b  # 10:37  B      0     1   11   0  rhashtable: Cap total number of entries to 2^31
# first bad commit: [6d684e54690caef45cf14051ddeb7c71beeb681b] rhashtable: Cap total number of entries to 2^31
git bisect good 4b726e81dab2cefefd2c1cb00e3074ac0eec4b15  # 10:48  G     31     0    0   0  tcp: tcp_rack_reo_timeout() must update tp->tcp_mstamp
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad 6d684e54690caef45cf14051ddeb7c71beeb681b  # 11:03  B      0     5   15   0  rhashtable: Cap total number of entries to 2^31
# extra tests on HEAD of linux-devel/devel-catchup-201704280512
git bisect  bad d1c34825a799a7ba4693bf46fbc79238aed374e6  # 11:08  B      0    17   30   0  0day head guard for 'devel-catchup-201704280512'
# extra tests on tree/branch net-next/master
git bisect  bad e221c1f0fe2590042b4f8c3a8ccccd8e7bed2c31  # 11:30  B      0     6   16   0  Merge tag 'wireless-drivers-next-for-davem-2017-04-27' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
# extra tests with first bad commit reverted
git bisect good 4c6425d9630c7a235c8a6144aeac0dd5449cc903  # 11:48  G     11     0    0   0  Revert "rhashtable: Cap total number of entries to 2^31"

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Download attachment "dmesg-yocto-ivb41-17:20170428103828:x86_64-randconfig-s2-04280504:4.11.0-rc8-02028-g6d684e5:1.gz" of type "application/gzip" (5978 bytes)

View attachment "reproduce-yocto-ivb41-17:20170428103828:x86_64-randconfig-s2-04280504:4.11.0-rc8-02028-g6d684e5:1" of type "text/plain" (759 bytes)

View attachment "config-4.11.0-rc8-02028-g6d684e5" of type "text/plain" (110866 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ