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]
Message-ID: <5b0c5865.OyImQN/qidpWgxPc%lkp@intel.com>
Date:   Tue, 29 May 2018 03:28:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     Paul Blakey <paulb@...lanox.com>
Cc:     LKP <lkp@...org>, linux-kernel@...r.kernel.org
Subject: 499ac3b60f ("test_rhashtable: add test case for rhltable with
 .."):  WARNING: suspicious RCU usage

Greetings,

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

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

commit 499ac3b60f657dae82055fc81c7b01e6242ac9bc
Author:     Paul Blakey <paulb@...lanox.com>
AuthorDate: Sun Mar 4 17:29:49 2018 +0200
Commit:     David S. Miller <davem@...emloft.net>
CommitDate: Wed Mar 7 10:44:03 2018 -0500

    test_rhashtable: add test case for rhltable with duplicate objects
    
    Tries to insert duplicates in the middle of bucket's chain:
    bucket 1:  [[val 21 (tid=1)]] -> [[ val 1 (tid=2),  val 1 (tid=0) ]]
    
    Reuses tid to distinguish the elements insertion order.
    
    Signed-off-by: Paul Blakey <paulb@...lanox.com>
    Acked-by: Herbert Xu <herbert@...dor.apana.org.au>
    Signed-off-by: David S. Miller <davem@...emloft.net>

d3dcf8eb61  rhashtable: Fix rhlist duplicates insertion
499ac3b60f  test_rhashtable: add test case for rhltable with duplicate objects
786b71f5b7  Merge tag 'nds32-for-linus-4.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux
47b9cef067  Merge branch 'akpm/master'
+--------------------------------------------------------------------+------------+------------+------------+------------+
|                                                                    | d3dcf8eb61 | 499ac3b60f | 786b71f5b7 | 47b9cef067 |
+--------------------------------------------------------------------+------------+------------+------------+------------+
| boot_successes                                                     | 64         | 0          | 0          | 0          |
| boot_failures                                                      | 0          | 42         | 37         | 15         |
| WARNING:suspicious_RCU_usage                                       | 0          | 42         | 37         | 15         |
| lib/test_rhashtable.c:#suspicious_rcu_dereference_protected()usage | 0          | 42         | 37         | 15         |
| WARNING:at_kernel/kthread.c:#kthread_park                          | 0          | 0          | 0          | 15         |
| RIP:kthread_park                                                   | 0          | 0          | 0          | 15         |
+--------------------------------------------------------------------+------------+------------+------------+------------+

[    9.686452] test if its possible to exceed max_size 8192: no, ok
[    9.687647] Average test time: 452222504
[    9.688324] test inserting duplicates
[    9.688994] 
[    9.689266] =============================
[    9.689946] WARNING: suspicious RCU usage
[    9.690634] 4.16.0-rc4-00130-g499ac3b #1 Not tainted
[    9.691470] -----------------------------
[    9.692150] lib/test_rhashtable.c:502 suspicious rcu_dereference_protected() usage!
[    9.693728] 
[    9.693728] other info that might help us debug this:
[    9.693728] 
[    9.695055] 
[    9.695055] rcu_scheduler_active = 2, debug_locks = 1
[    9.696139] no locks held by swapper/1.
[    9.696799] 
[    9.696799] stack backtrace:
[    9.697538] CPU: 0 PID: 1 Comm: swapper Not tainted 4.16.0-rc4-00130-g499ac3b #1
[    9.698766] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    9.700172] Call Trace:
[    9.700607]  ? dump_stack+0x23/0x39
[    9.701207]  ? lockdep_rcu_suspicious+0xfd/0x110
[    9.701990]  ? print_ht+0xa3/0x3c1
[    9.702574]  ? test_insert_dup+0x871/0x955
[    9.703277]  ? my_hashfn+0x30/0x30
[    9.703871]  ? kstrtoul_from_user+0xd0/0xd0
[    9.704587]  ? jhash+0x1c0/0x1c0
[    9.705144]  ? my_hashfn+0x30/0x30
[    9.705726]  ? rhashtable_rehash_alloc+0xf0/0xf0
[    9.706510]  ? test_rht_init+0x3d2/0x7ff
[    9.707196]  ? test_rhashtable+0xab6/0xab6
[    9.708062]  ? do_one_initcall+0x65/0x270
[    9.708738]  ? kernel_init_freeable+0x1d3/0x2c3
[    9.709508]  ? rest_init+0x1d0/0x1d0
[    9.710137]  ? kernel_init+0x12/0x1d0
[    9.710759]  ? ret_from_fork+0x3a/0x50
[    9.711399] 
[    9.711667] =============================
[    9.712346] WARNING: suspicious RCU usage
[    9.713032] 4.16.0-rc4-00130-g499ac3b #1 Not tainted
[    9.713873] -----------------------------
[    9.714558] lib/test_rhashtable.c:507 suspicious rcu_dereference_protected() usage!
[    9.716129] 
[    9.716129] other info that might help us debug this:
[    9.716129] 
[    9.717461] 
[    9.717461] rcu_scheduler_active = 2, debug_locks = 1
[    9.718551] no locks held by swapper/1.
[    9.719206] 
[    9.719206] stack backtrace:
[    9.719937] CPU: 0 PID: 1 Comm: swapper Not tainted 4.16.0-rc4-00130-g499ac3b #1
[    9.721178] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    9.722561] Call Trace:
[    9.722992]  ? dump_stack+0x23/0x39
[    9.723600]  ? lockdep_rcu_suspicious+0xfd/0x110
[    9.724383]  ? print_ht+0x11d/0x3c1
[    9.724981]  ? test_insert_dup+0x871/0x955
[    9.725669]  ? my_hashfn+0x30/0x30
[    9.726252]  ? kstrtoul_from_user+0xd0/0xd0
[    9.726977]  ? jhash+0x1c0/0x1c0
[    9.727527]  ? my_hashfn+0x30/0x30
[    9.728113]  ? rhashtable_rehash_alloc+0xf0/0xf0
[    9.728887]  ? test_rht_init+0x3d2/0x7ff
[    9.729557]  ? test_rhashtable+0xab6/0xab6
[    9.730437]  ? do_one_initcall+0x65/0x270
[    9.731123]  ? kernel_init_freeable+0x1d3/0x2c3
[    9.731881]  ? rest_init+0x1d0/0x1d0
[    9.732492]  ? kernel_init+0x12/0x1d0
[    9.733119]  ? ret_from_fork+0x3a/0x50
[    9.733769] 
[    9.734047] =============================
[    9.734718] WARNING: suspicious RCU usage
[    9.735400] 4.16.0-rc4-00130-g499ac3b #1 Not tainted
[    9.736234] -----------------------------
[    9.736925] lib/test_rhashtable.c:508 suspicious rcu_dereference_protected() usage!
[    9.738481] 
[    9.738481] other info that might help us debug this:
[    9.738481] 
[    9.739797] 
[    9.739797] rcu_scheduler_active = 2, debug_locks = 1
[    9.740894] no locks held by swapper/1.
[    9.741552] 
[    9.741552] stack backtrace:
[    9.742287] CPU: 0 PID: 1 Comm: swapper Not tainted 4.16.0-rc4-00130-g499ac3b #1
[    9.743526] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    9.744907] Call Trace:
[    9.745344]  ? dump_stack+0x23/0x39
[    9.745944]  ? lockdep_rcu_suspicious+0xfd/0x110
[    9.746739]  ? print_ht+0x195/0x3c1
[    9.747345]  ? test_insert_dup+0x871/0x955
[    9.748042]  ? my_hashfn+0x30/0x30
[    9.748622]  ? kstrtoul_from_user+0xd0/0xd0
[    9.749333]  ? jhash+0x1c0/0x1c0
[    9.749889]  ? my_hashfn+0x30/0x30
[    9.750494]  ? rhashtable_rehash_alloc+0xf0/0xf0
[    9.751279]  ? test_rht_init+0x3d2/0x7ff
[    9.751948]  ? test_rhashtable+0xab6/0xab6
[    9.752809]  ? do_one_initcall+0x65/0x270
[    9.753510]  ? kernel_init_freeable+0x1d3/0x2c3
[    9.754281]  ? rest_init+0x1d0/0x1d0
[    9.754887]  ? kernel_init+0x12/0x1d0
[    9.755509]  ? ret_from_fork+0x3a/0x50
[    9.756147] 
[    9.756416] =============================
[    9.757108] WARNING: suspicious RCU usage
[    9.757782] 4.16.0-rc4-00130-g499ac3b #1 Not tainted
[    9.758613] -----------------------------
[    9.759289] lib/test_rhashtable.c:519 suspicious rcu_dereference_protected() usage!
[    9.760855] 
[    9.760855] other info that might help us debug this:
[    9.760855] 
[    9.762186] 
[    9.762186] rcu_scheduler_active = 2, debug_locks = 1
[    9.763272] no locks held by swapper/1.
[    9.763930] 
[    9.763930] stack backtrace:
[    9.764669] CPU: 0 PID: 1 Comm: swapper Not tainted 4.16.0-rc4-00130-g499ac3b #1
[    9.765894] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    9.767288] Call Trace:
[    9.767718]  ? dump_stack+0x23/0x39
[    9.768320]  ? lockdep_rcu_suspicious+0xfd/0x110
[    9.769103]  ? print_ht+0x245/0x3c1
[    9.769698]  ? test_insert_dup+0x871/0x955
[    9.770409]  ? my_hashfn+0x30/0x30
[    9.771000]  ? kstrtoul_from_user+0xd0/0xd0
[    9.771699]  ? jhash+0x1c0/0x1c0
[    9.772255]  ? my_hashfn+0x30/0x30
[    9.772834]  ? rhashtable_rehash_alloc+0xf0/0xf0
[    9.773633]  ? test_rht_init+0x3d2/0x7ff
[    9.774307]  ? test_rhashtable+0xab6/0xab6
[    9.775170]  ? do_one_initcall+0x65/0x270
[    9.775849]  ? kernel_init_freeable+0x1d3/0x2c3
[    9.776615]  ? rest_init+0x1d0/0x1d0
[    9.777243]  ? kernel_init+0x12/0x1d0
[    9.777864]  ? ret_from_fork+0x3a/0x50
[    9.778508] 
[    9.778776] =============================
[    9.779457] WARNING: suspicious RCU usage
[    9.780153] 4.16.0-rc4-00130-g499ac3b #1 Not tainted
[    9.780984] -----------------------------
[    9.781652] lib/test_rhashtable.c:529 suspicious rcu_dereference_protected() usage!
[    9.783211] 
[    9.783211] other info that might help us debug this:
[    9.783211] 
[    9.784537] 
[    9.784537] rcu_scheduler_active = 2, debug_locks = 1
[    9.785672] no locks held by swapper/1.
[    9.786326] 
[    9.786326] stack backtrace:
[    9.787075] CPU: 0 PID: 1 Comm: swapper Not tainted 4.16.0-rc4-00130-g499ac3b #1
[    9.788294] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    9.789685] Call Trace:
[    9.790136]  ? dump_stack+0x23/0x39
[    9.790729]  ? lockdep_rcu_suspicious+0xfd/0x110
[    9.791513]  ? print_ht+0x310/0x3c1
[    9.792117]  ? test_insert_dup+0x871/0x955
[    9.792808]  ? my_hashfn+0x30/0x30
[    9.793423]  ? kstrtoul_from_user+0xd0/0xd0
[    9.794137]  ? jhash+0x1c0/0x1c0
[    9.794686]  ? my_hashfn+0x30/0x30
[    9.795271]  ? rhashtable_rehash_alloc+0xf0/0xf0
[    9.796140]  ? test_rht_init+0x3d2/0x7ff
[    9.796822]  ? test_rhashtable+0xab6/0xab6
[    9.797690]  ? do_one_initcall+0x65/0x270
[    9.798372]  ? kernel_init_freeable+0x1d3/0x2c3
[    9.799135]  ? rest_init+0x1d0/0x1d0
[    9.799740]  ? kernel_init+0x12/0x1d0
[    9.800380]  ? ret_from_fork+0x3a/0x50
[    9.801028] 
[    9.801028] ---- ht: ----
[    9.801028] bucket[1] -> [[ val 1 (tid=0) ]] -> [[ val 21 (tid=1) ]]
[    9.801028] -------------
[    9.806754] 

                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start v4.16 v4.15 --
git bisect good 1388c80438e69fc01d83fbe98da3cac24c3c8731  # 13:32  G     11     0    0   0  Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 98577c6aa2cddf73d55b6f1e2825a1f333ea1723  # 14:07  G     11     0    0   0  Merge tag 'chrome-platform-4.16-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform
git bisect good efac2483e8f289cd879e750075e63a9d16897e65  # 14:43  G     11     0    0   0  Merge branch 'for-4.16-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
git bisect  bad f1869a890cdedb92a3fab969db5d0fd982850273  # 15:30  B      0    11   27   2  tty: vt: fix up tabstops properly
git bisect  bad 9ec7ccc8f4f89843991cf692e89fc1fcbca85c83  # 16:10  B      0     2   16   0  Merge tag 'drm-fixes-for-v4.16-rc7' of git://people.freedesktop.org/~airlied/linux
git bisect good 76c0b6a36a1239494a5ae3c0dc83208a8112c483  # 17:03  G     11     0    0   0  Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
git bisect good 9ce207880d8e4b20b6c1bcd82c749970c2b9e6d2  # 17:37  G     11     0    0   0  Merge tag 'mmc-v4.16-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
git bisect  bad 394c73d396284897207dbb1bad2a43e621cb9dac  # 18:02  B      0     1   15   0  Merge tag 'modules-for-v4.16-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
git bisect  bad c4f4d2f917729e9b7b8bb452bf4971be93e7a15f  # 21:10  B      0     3   47  30  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect  bad 5a9f8df68ee6927f21dd3f2c75c16feb8b53a9e8  # 21:36  B      0     1   15   0  net: dsa: Fix dsa_is_user_port() test inversion
git bisect  bad 652dfb2b31b076153c73106863a4a57e5318c152  # 22:21  B      0     1   15   0  Merge tag 'wireless-drivers-for-davem-2018-03-08' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers
git bisect  bad 17cfe79a65f98abe535261856c5aef14f306dff7  # 22:50  B      0     5   19   0  l2tp: do not accept arbitrary sockets
git bisect  bad 89036a2a9852f70dcec97d5962974fe806828382  # 23:38  B      0    11   25   0  Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth
git bisect good 25b5cdfcce1b57971840505dfc78556bd12dea6d  # 23:41  G     11     0    0   0  dt-bindings: net: renesas-ravb: Make stream buffer optional
git bisect  bad 803fafbe0cd522fa6b9e41ca3b96cfb2e2a2222d  # 23:41  B      0    12   26   0  fsl/fman: avoid sleeping in atomic context while adding an address
git bisect  bad 499ac3b60f657dae82055fc81c7b01e6242ac9bc  # 02:30  B      0     1   46  31  test_rhashtable: add test case for rhltable with duplicate objects
git bisect good d3dcf8eb615537526bd42ff27a081d46d337816e  # 02:38  G     11     0    0   0  rhashtable: Fix rhlist duplicates insertion
# first bad commit: [499ac3b60f657dae82055fc81c7b01e6242ac9bc] test_rhashtable: add test case for rhltable with duplicate objects
git bisect good d3dcf8eb615537526bd42ff27a081d46d337816e  # 02:44  G     31     0    1   1  rhashtable: Fix rhlist duplicates insertion
# extra tests with debug options
git bisect  bad 499ac3b60f657dae82055fc81c7b01e6242ac9bc  # 02:59  B      0     1   15   0  test_rhashtable: add test case for rhltable with duplicate objects
# extra tests on HEAD of linux-devel/devel-spot-201805280757
git bisect  bad 2596d8a199c5af892e078928af7ce19aa92c0e7b  # 03:05  B      0    13   30   0  0day head guard for 'devel-spot-201805280757'
# extra tests on tree/branch linus/master
git bisect  bad 786b71f5b754273ccef6d9462e52062b3e1f9877  # 03:05  B      0    37   51   0  Merge tag 'nds32-for-linus-4.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux
# extra tests with first bad commit reverted
git bisect good 79f277eeeff640b44a201bd5fcf00db69d022f6c  # 03:22  G     11     0    0   0  Revert "test_rhashtable: add test case for rhltable with duplicate objects"
# extra tests on tree/branch linux-next/master
git bisect  bad 47b9cef0672d53ecaaba7e7733ece9da05ba47d4  # 03:22  B      0    12   26   0  Merge branch 'akpm/master'

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

Download attachment "dmesg-yocto-ivb41-116:20180529023116:x86_64-randconfig-r0-05280826:4.16.0-rc4-00130-g499ac3b:1.gz" of type "application/gzip" (14650 bytes)

Download attachment "dmesg-yocto-ivb41-70:20180529024328:x86_64-randconfig-r0-05280826:4.16.0-rc4-00129-gd3dcf8e:1.gz" of type "application/gzip" (37909 bytes)

View attachment "reproduce-yocto-ivb41-116:20180529023116:x86_64-randconfig-r0-05280826:4.16.0-rc4-00130-g499ac3b:1" of type "text/plain" (922 bytes)

View attachment "config-4.16.0-rc4-00130-g499ac3b" of type "text/plain" (110103 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ