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: <20141228003838.GA21557@wfg-t540p.sh.intel.com>
Date:	Sat, 27 Dec 2014 16:38:38 -0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Johannes Berg <johannes.berg@...el.com>
Cc:	LKP <lkp@...org>, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [genetlink] WARNING: CPU: 0 PID: 109 at net/netlink/genetlink.c:1011
 genl_bind()

Greetings,

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

commit c380d9a7afff0e4c2e5f3c1c2dc7d2f4214dd962
Author:     Johannes Berg <johannes.berg@...el.com>
AuthorDate: Tue Dec 23 20:54:40 2014 +0100
Commit:     David S. Miller <davem@...emloft.net>
CommitDate: Sat Dec 27 02:20:23 2014 -0500

    genetlink: pass multicast bind/unbind to families
    
    In order to make the newly fixed multicast bind/unbind
    functionality in generic netlink, pass them down to the
    appropriate family.
    
    Signed-off-by: Johannes Berg <johannes.berg@...el.com>
    Signed-off-by: David S. Miller <davem@...emloft.net>

+---------------------------------------------------+------------+------------+------------+
|                                                   | 7d68536bed | c380d9a7af | bdf7b239ea |
+---------------------------------------------------+------------+------------+------------+
| boot_successes                                    | 279        | 34         | 0          |
| boot_failures                                     | 0          | 59         | 12         |
| WARNING:at_net/netlink/genetlink.c:#genl_bind()   | 0          | 59         | 12         |
| WARNING:at_net/netlink/genetlink.c:#genl_unbind() | 0          | 59         | 12         |
| backtrace:netlink_bind                            | 0          | 59         | 12         |
| backtrace:SyS_bind                                | 0          | 59         | 12         |
| backtrace:do_group_exit                           | 0          | 59         | 12         |
| backtrace:SyS_exit_group                          | 0          | 59         | 12         |
| backtrace:netlink_setsockopt                      | 0          | 15         | 4          |
| backtrace:SyS_setsockopt                          | 0          | 15         | 4          |
+---------------------------------------------------+------------+------------+------------+

/bin/sh: /proc/self/fd/9: No such file or directory
/bin/sh: /proc/self/fd/9: No such file or directory
[   17.673482] ------------[ cut here ]------------
[   17.674874] WARNING: CPU: 0 PID: 109 at net/netlink/genetlink.c:1011 genl_bind+0x142/0x15e()
[   17.676682] CPU: 0 PID: 109 Comm: trinity-main Not tainted 3.18.0-11169-gc380d9a #9
[   17.678005]  0000000000000009 ffff88000b44fdd8 ffffffff8175b593 ffff88000b44fe18
[   17.679450]  ffffffff810b55aa 0000000000000000 ffffffff8174d931 ffffffff834a3400
[   17.680929]  0000000000000000 0000000000000000 0000000000000000 ffff88000b44fe28
[   17.682377] Call Trace:
[   17.682820]  [<ffffffff8175b593>] dump_stack+0x2e/0x3e
[   17.683753]  [<ffffffff810b55aa>] warn_slowpath_common+0xb6/0xe5
[   17.684801]  [<ffffffff8174d931>] ? genl_bind+0x142/0x15e
[   17.685797]  [<ffffffff810b56db>] warn_slowpath_null+0x23/0x2c
[   17.686930]  [<ffffffff8174d931>] genl_bind+0x142/0x15e
[   17.688149]  [<ffffffff8174ab86>] netlink_bind+0x155/0x2ce
[   17.689413]  [<ffffffff8170e512>] SyS_bind+0xc1/0x117
[   17.690564]  [<ffffffff81769058>] ? _raw_spin_unlock+0x38/0x50
[   17.691875]  [<ffffffff8114553f>] ? context_tracking_user_exit+0xe2/0x101
[   17.693471]  [<ffffffff810eafbd>] ? trace_hardirqs_on+0x1b/0x24
[   17.694823]  [<ffffffff8176a2e7>] system_call_fastpath+0x12/0x17
[   17.696182] ---[ end trace f8ae22d84a926b3f ]---
[   17.697267] ------------[ cut here ]------------

git bisect start bdf7b239ea04ec0372de511b630858d31ce0a27d 97bf6af1f928216fd6c5a66e8a57bfa95a659672 --
git bisect good 353ffe5824fadf421e54334766749a621875bf25  # 17:12     85+      0  Merge 'iio/testing' into devel-lkp-nhm1-smoke-201412271621
git bisect  bad e110b301867f3479fe39b036cd25c8dd9587a348  # 17:12      0-      9  Merge 'vfs/for-linus' into devel-lkp-nhm1-smoke-201412271621
git bisect  bad b15800a33d77b5efeb46467961694acc3b9a86f5  # 17:17      9-      5  Merge 'net/master' into devel-lkp-nhm1-smoke-201412271621
git bisect good e88bf5beea5b1cf596aec20cbe298080ee5c56ba  # 17:20     93+      0  Merge 'arm-integrator/realview-dt' into devel-lkp-nhm1-smoke-201412271621
git bisect good ec449f40bb3e19c77f62ddabf7c1fe3ccefece6f  # 17:25     93+      0  openvswitch: Fix MPLS action validation.
git bisect good 5f35227ea34bb616c436d9da47fc325866c428f3  # 17:31     93+      0  net: Generalize ndo_gso_check to ndo_features_check
git bisect good b63a2a1ff1f7cde479aef091a4b9a9f7238a0657  # 17:37     93+      0  Merge tag 'wireless-drivers-for-davem-2014-12-26' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers
git bisect good b10dcb3b94010e3ac3951f68789400b1665effb1  # 17:42     93+      0  netlink: update listeners directly when removing socket
git bisect  bad 24f626d3439f61d87fca0c0c07f614fba41a4e92  # 17:45     15-     10  Merge branch 'netlink_multicast'
git bisect  bad c380d9a7afff0e4c2e5f3c1c2dc7d2f4214dd962  # 17:49     13-     33  genetlink: pass multicast bind/unbind to families
git bisect good 7d68536bed72b09de03b07479dd707c5831b3b94  # 17:56     93+      0  netlink: call unbind when releasing socket
# first bad commit: [c380d9a7afff0e4c2e5f3c1c2dc7d2f4214dd962] genetlink: pass multicast bind/unbind to families
git bisect good 7d68536bed72b09de03b07479dd707c5831b3b94  # 17:59    279+      0  netlink: call unbind when releasing socket
# extra tests with DEBUG_INFO
git bisect good c380d9a7afff0e4c2e5f3c1c2dc7d2f4214dd962  # 18:08    279+      0  genetlink: pass multicast bind/unbind to families
# extra tests on HEAD of linux-devel/devel-lkp-nhm1-smoke-201412271621
git bisect  bad bdf7b239ea04ec0372de511b630858d31ce0a27d  # 18:08      0-     12  0day head guard for 'devel-lkp-nhm1-smoke-201412271621'
# extra tests on tree/branch linux-devel/devel-hourly-2014122715
git bisect  bad 462a586c1d24c1935547379c98d99e96d83c7b8f  # 18:55      7-     29  0day head guard for 'devel-hourly-2014122715'
# extra tests on tree/branch linus/master
git bisect good 58628a7831edac5f7a13baa9d9320c758c5204c8  # 19:02    279+      0  Merge branch 'parisc-3.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
# extra tests on tree/branch next/master
git bisect good 2fb8bdb2ca2808ce901fdfc1eda31bcb488156d0  # 19:07    279+      0  Add linux-next specific files for 20141226


This script may reproduce the error.

----------------------------------------------------------------------------
#!/bin/bash

kernel=$1
initrd=quantal-core-x86_64.cgz

wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd

kvm=(
	qemu-system-x86_64
	-cpu kvm64
	-enable-kvm
	-kernel $kernel
	-initrd $initrd
	-m 320
	-smp 2
	-net nic,vlan=1,model=e1000
	-net user,vlan=1
	-boot order=nc
	-no-reboot
	-watchdog i6300esb
	-rtc base=localtime
	-serial stdio
	-display none
	-monitor null 
)

append=(
	hung_task_panic=1
	earlyprintk=ttyS0,115200
	debug
	apic=debug
	sysrq_always_enabled
	rcupdate.rcu_cpu_stall_timeout=100
	panic=-1
	softlockup_panic=1
	nmi_watchdog=panic
	oops=panic
	load_ramdisk=2
	prompt_ramdisk=0
	console=ttyS0,115200
	console=tty0
	vga=normal
	root=/dev/ram0
	rw
	drbd.minor_count=8
)

"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------

Thanks,
Fengguang

View attachment "dmesg-quantal-client7-25:20141227174912:x86_64-randconfig-n0-12271619:3.18.0-11169-gc380d9a:9" of type "text/plain" (259375 bytes)

View attachment "config-3.18.0-11169-gc380d9a" of type "text/plain" (70782 bytes)

_______________________________________________
LKP mailing list
LKP@...ux.intel.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ