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:   Mon, 10 Apr 2017 10:35:02 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     David Miller <davem@...emloft.net>
Cc:     LKP <lkp@...org>, 0day robot <fengguang.wu@...el.com>,
        netdev@...r.kernel.org, wfg@...ux.intel.com
Subject: 80b10d1d56:  net/core/dev.c:7907 suspicious
 rcu_dereference_check() usage!

Greetings,

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

https://github.com/0day-ci/linux/commits/David-Miller/Generic-XDP/20170410-044106

commit 80b10d1d56ec8074ac8f458439a571b72e9b3ea2
Author:     David Miller <davem@...emloft.net>
AuthorDate: Sun Apr 9 13:35:28 2017 -0700
Commit:     0day robot <fengguang.wu@...el.com>
CommitDate: Mon Apr 10 04:41:14 2017 +0800

    Generic XDP
    
    This provides a generic non-optimized XDP implementation when the
    device driver does not provide an optimized one.
    
    It is arguable that perhaps I should have required something like
    this as part of the initial XDP feature merge.
    
    I believe this is critical for two reasons:
    
    1) Accessibility.  More people can play with XDP with less
       dependencies.  Yes I know we have XDP support in virtio_net, but
       that just creates another depedency for learning how to use this
       facility.
    
       I wrote this to make life easier for the XDP newbies.
    
    2) As a model for what the expected semantics are.  If there is a pure
       generic core implementation, it serves as a semantic example for
       driver folks adding XDP support.
    
    This is just a rough draft and is untested.
    
    Signed-off-by: David S. Miller <davem@...emloft.net>

417d978fa5  Merge branch 'dsa-receive-path-simplifications'
80b10d1d56  Generic XDP
80b10d1d56  Generic XDP
+---------------------------------------------------------+------------+------------+------------+
|                                                         | 417d978fa5 | 80b10d1d56 | 80b10d1d56 |
+---------------------------------------------------------+------------+------------+------------+
| boot_successes                                          | 39         | 0          | 0          |
| boot_failures                                           | 0          | 24         | 24         |
| net/core/dev.c:#suspicious_rcu_dereference_check()usage | 0          | 24         | 24         |
+---------------------------------------------------------+------------+------------+------------+

[    8.069991] 
[    8.070587] ===============================
[    8.071556] [ ERR: suspicious RCU usage.  ]
[    8.072486] 4.11.0-rc5-01173-g80b10d1 #1 Not tainted
[    8.073527] -------------------------------
[    8.074461] net/core/dev.c:7907 suspicious rcu_dereference_check() usage!
[    8.076361] 
[    8.076361] other info that might help us debug this:
[    8.076361] 
[    8.078517] 
[    8.078517] rcu_scheduler_active = 2, debug_locks = 0
[    8.080154] no locks held by swapper/0/1.
[    8.081099] 
[    8.081099] stack backtrace:
[    8.082581] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc5-01173-g80b10d1 #1
[    8.084378] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    8.086576] Call Trace:
[    8.087377]  dump_stack+0x82/0xb8
[    8.088224]  lockdep_rcu_suspicious+0xf7/0x100
[    8.089240]  free_netdev+0xf0/0x135
[    8.090126]  sbni_probe+0x287/0x2ba
[    8.090993]  ? set_debug_rodata+0x12/0x12
[    8.091927]  net_olddevs_init+0x14/0x72
[    8.092865]  ? probe_list2+0x50/0x50
[    8.093720]  do_one_initcall+0x90/0x142
[    8.094605]  ? set_debug_rodata+0x12/0x12
[    8.095501]  kernel_init_freeable+0x1d0/0x258
[    8.096450]  ? rest_init+0x13b/0x13b
[    8.097276]  kernel_init+0xe/0xf5
[    8.098069]  ret_from_fork+0x31/0x40
[    8.101856] tun: Universal TUN/TAP device driver, 1.6
[    8.103145] arcnet: arcnet loaded
[    8.103940] arcnet:rfc1201: RFC1201 "standard" (`a') encapsulation support loaded
[    8.105613] arcnet:rfc1051: RFC1051 "simple standard" (`s') encapsulation support loaded
[    8.107434] arcnet:arc_rawmode: raw mode (`r') encapsulation support loaded

                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 43fbb962e25bf4fb66be1238c37260fb090eb6a8 39da7c509acff13fc8cb12ec1bb20337c988ed36 --
git bisect good 6d38c461214beefa996cd347243bfd91ff8d1d6f  # 06:02  G     10     0    0   0  Merge 'linux-review/Vincent-Stehl/regulator-isl9305-fix-array-size/20170410-043334' into devel-catchup-201704100458
git bisect good 82ae802870562804ea54e325468e0b917eacdd84  # 06:11  G     11     0    0   0  Merge 'block/for-linus' into devel-catchup-201704100458
git bisect  bad a82b8eabd367f91ef77c636552b4ad7730375941  # 07:19  B      0     2   22   9  Merge 'linux-review/David-Miller/Generic-XDP/20170410-044106' into devel-catchup-201704100458
git bisect good 6069f3fbde03211f4b839e188eba2439f8b8326a  # 07:36  G     10     0    0   0  liquidio: fix tx completions in napi poll
git bisect good eefe06e8ceea88f8397a8df0880ab5ca28dcada6  # 07:38  G     11     0    0   0  Merge branch 'bpf-prog-testing-framework'
git bisect good 2f78227874754b1e10cd348fd6e7693b0dabb3f6  # 08:10  G     11     0    0   0  qed: Correct MSI-x for storage
git bisect good 45e60cb3fa4ef7663ed8e13ef4e9464df4301326  # 08:22  G     10     0    0   0  Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue
git bisect good ce736788e8a92c12639311a9f01d55ccc997729c  # 08:40  G     10     0    0   0  net: stmmac: adding multiple buffers for TX
git bisect good c42cb98cfd18dc66b099f4d4a310e12ac8957630  # 08:44  G     11     0    0   0  Merge tag 'mlx5-updates-2017-04-16' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux
git bisect good bffb184247bcc783a40a0e123a9a2de3c5b28157  # 08:55  G     10     0    0   0  netvsc: Initialize all channel related state prior to opening the channel
git bisect good 16c5dcb13a371feae0e680e6518775b5335b37d8  # 09:14  G     11     0    0   1  net: dsa: Move skb_unshare() to dsa_switch_rcv()
git bisect good 417d978fa532b61b89f0c3ccbd9cdb51090ea032  # 09:25  G     10     0    0   0  Merge branch 'dsa-receive-path-simplifications'
git bisect  bad 80b10d1d56ec8074ac8f458439a571b72e9b3ea2  # 09:48  B      0     2   36  11  Generic XDP
# first bad commit: [80b10d1d56ec8074ac8f458439a571b72e9b3ea2] Generic XDP
git bisect good 417d978fa532b61b89f0c3ccbd9cdb51090ea032  # 10:09  G     31     0    0   0  Merge branch 'dsa-receive-path-simplifications'
# extra tests on HEAD of linux-devel/devel-catchup-201704100458
git bisect  bad 43fbb962e25bf4fb66be1238c37260fb090eb6a8  # 10:09  B      0    27   66   0  0day head guard for 'devel-catchup-201704100458'
# extra tests on tree/branch linux-review/David-Miller/Generic-XDP/20170410-044106
git bisect  bad 80b10d1d56ec8074ac8f458439a571b72e9b3ea2  # 10:10  B      0    24   60   0  Generic XDP
# extra tests with first bad commit reverted
git bisect good c0140fccd94de2b1f8bd136e7874b8312d3542fe  # 10:34  G     10     0    0   0  Revert "Generic XDP"

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

Download attachment "dmesg-yocto-ivb41-70:20170410094549:x86_64-allyesdebian:4.11.0-rc5-01173-g80b10d1:1.gz" of type "application/gzip" (37073 bytes)

View attachment "reproduce-yocto-ivb41-70:20170410094549:x86_64-allyesdebian:4.11.0-rc5-01173-g80b10d1:1" of type "text/plain" (903 bytes)

View attachment "config-4.11.0-rc5-01173-g80b10d1" of type "text/plain" (159315 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ