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:   Mon, 13 Feb 2017 10:41:19 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Tom Herbert <tom@...bertland.com>
Cc:     netdev@...r.kernel.org, kernel-team@...com, lkp@...org
Subject: [lkp-robot] [xdp]  543d41bf78: INFO:suspicious_RCU_usage


FYI, we noticed the following commit:

commit: 543d41bf78792e858e6f6598945d307ff808b7fc ("xdp: Infrastructure to generalize XDP")
url: https://github.com/0day-ci/linux/commits/Tom-Herbert/xdp-Generalize-XDP/20170209-092238


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-i386 -enable-kvm -smp 2 -m 320M

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


+-----------------------------------------------------+------------+------------+
|                                                     | df6dd79be8 | 543d41bf78 |
+-----------------------------------------------------+------------+------------+
| boot_successes                                      | 10         | 0          |
| boot_failures                                       | 2          | 12         |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page | 2          | 2          |
| INFO:suspicious_RCU_usage                           | 0          | 12         |
+-----------------------------------------------------+------------+------------+



[    6.814497] [ INFO: suspicious RCU usage. ]
[    6.814497] [ INFO: suspicious RCU usage. ]
[    6.814990] 4.10.0-rc7-01379-g543d41b #1 Not tainted
[    6.814990] 4.10.0-rc7-01379-g543d41b #1 Not tainted
[    6.815618] -------------------------------
[    6.815618] -------------------------------
[    6.816107] net/core/xdp.c:201 suspicious rcu_dereference_check() usage!
[    6.816107] net/core/xdp.c:201 suspicious rcu_dereference_check() usage!
[    6.817090] 
[    6.817090] other info that might help us debug this:
[    6.817090] 
[    6.817090] 
[    6.817090] other info that might help us debug this:
[    6.817090] 
[    6.818000] 
[    6.818000] rcu_scheduler_active = 2, debug_locks = 0
[    6.818000] 
[    6.818000] rcu_scheduler_active = 2, debug_locks = 0
[    6.818778] 1 lock held by swapper/1:
[    6.818778] 1 lock held by swapper/1:
[    6.819213]  #0:  (xdp_hook_mutex){+.+...}, at: [<c146ed6c>] __xdp_unregister_hooks+0x1c/0x185
[    6.819213]  #0:  (xdp_hook_mutex){+.+...}, at: [<c146ed6c>] __xdp_unregister_hooks+0x1c/0x185
[    6.820199] 
[    6.820199] stack backtrace:
[    6.820199] 
[    6.820199] stack backtrace:
[    6.820710] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-rc7-01379-g543d41b #1
[    6.820710] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-rc7-01379-g543d41b #1
[    6.821530] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    6.821530] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    6.822747] Call Trace:
[    6.822747] Call Trace:
[    6.823052]  dump_stack+0x16/0x18
[    6.823052]  dump_stack+0x16/0x18
[    6.823434]  lockdep_rcu_suspicious+0xdb/0xee
[    6.823434]  lockdep_rcu_suspicious+0xdb/0xee
[    6.823908]  __xdp_unregister_hooks+0x171/0x185
[    6.823908]  __xdp_unregister_hooks+0x171/0x185
[    6.824421]  ? __might_sleep+0x2d/0x86
[    6.824421]  ? __might_sleep+0x2d/0x86
[    6.824848]  xdp_unregister_all_hooks+0x3a/0x3f
[    6.824848]  xdp_unregister_all_hooks+0x3a/0x3f
[    6.825398]  free_netdev+0x25/0xca
[    6.825398]  free_netdev+0x25/0xca
[    6.825801]  lance_probe+0x115/0x122
[    6.825801]  lance_probe+0x115/0x122
[    6.826191]  probe_list2+0x20/0x41
[    6.826191]  probe_list2+0x20/0x41
[    6.826586]  net_olddevs_init+0x42/0x4e
[    6.826586]  net_olddevs_init+0x42/0x4e
[    6.827037]  ? probe_list2+0x41/0x41
[    6.827037]  ? probe_list2+0x41/0x41
[    6.827448]  do_one_initcall+0x3c/0x184
[    6.827448]  do_one_initcall+0x3c/0x184
[    6.827866]  ? repair_env_string+0x12/0x54
[    6.827866]  ? repair_env_string+0x12/0x54
[    6.828326]  ? parse_args+0x24e/0x402
[    6.828326]  ? parse_args+0x24e/0x402
[    6.828785]  ? trace_hardirqs_on+0xb/0xd
[    6.828785]  ? trace_hardirqs_on+0xb/0xd
[    6.829235]  kernel_init_freeable+0xe1/0x15c
[    6.829235]  kernel_init_freeable+0xe1/0x15c
[    6.829729]  ? rest_init+0x10e/0x10e
[    6.829729]  ? rest_init+0x10e/0x10e
[    6.830134]  kernel_init+0xb/0xe5
[    6.830134]  kernel_init+0xb/0xe5
[    6.830515]  ? schedule_tail+0xc/0x4a
[    6.830515]  ? schedule_tail+0xc/0x4a
[    6.830925]  ? rest_init+0x10e/0x10e
[    6.830925]  ? rest_init+0x10e/0x10e
[    6.831343]  ret_from_fork+0x21/0x2c
[    6.831343]  ret_from_fork+0x21/0x2c
[    6.832026] libphy: Fixed MDIO Bus: probed
[    6.832026] libphy: Fixed MDIO Bus: probed
[    6.832650] arcnet: arcnet loaded
[    6.832650] arcnet: arcnet loaded
[    6.833011] arcnet:rfc1201: RFC1201 "standard" (`a') encapsulation support loaded
[    6.833011] arcnet:rfc1201: RFC1201 "standard" (`a') encapsulation support loaded
[    6.833856] arcnet:arc_rawmode: raw mode (`r') encapsulation support loaded
[    6.833856] arcnet:arc_rawmode: raw mode (`r') encapsulation support loaded
[    6.834641] arcnet:com90xx: COM90xx chipset support
[    6.834641] arcnet:com90xx: COM90xx chipset support
[    7.135493] S3: No ARCnet cards found.
[    7.135493] S3: No ARCnet cards found.
[    7.136044] PPP generic driver version 2.4.2
[    7.136044] PPP generic driver version 2.4.2
[    7.136573] PPP BSD Compression module registered
[    7.136573] PPP BSD Compression module registered
[    7.137113] PPP MPPE Compression module registered
[    7.137113] PPP MPPE Compression module registered
[    7.137655] NET: Registered protocol family 24
[    7.137655] NET: Registered protocol family 24
[    7.138165] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
[    7.138165] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
[    7.138990] SLIP linefill/keepalive option.
[    7.138990] SLIP linefill/keepalive option.
[    7.139543] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    7.139543] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    7.140865] serio: i8042 KBD port at 0x60,0x64 irq 1
[    7.140865] serio: i8042 KBD port at 0x60,0x64 irq 1
[    7.141421] serio: i8042 AUX port at 0x60,0x64 irq 12
[    7.141421] serio: i8042 AUX port at 0x60,0x64 irq 12


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script  # job-script is attached in this email



Thanks,
Xiaolong

View attachment "config-4.10.0-rc7-01379-g543d41b" of type "text/plain" (99181 bytes)

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

Download attachment "dmesg.xz" of type "application/octet-stream" (10912 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ