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-next>] [day] [month] [year] [list]
Message-ID: <20130722083145.GB19067@localhost>
Date:	Mon, 22 Jul 2013 16:31:45 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Eduardo Valentin <eduardo.valentin@...com>
Cc:	Zhang Rui <rui.zhang@...el.com>, fengguang.wu@...el.com,
	Masatake YAMATO <yamato@...hat.com>, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [thermal_init] kernel BUG at net/netlink/genetlink.c:145!

Hi Eduardo,

I got the below dmesg and the first bad commit says that
thermal_init() is trying to register a too long group name.

commit f1e79e208076ffe7bad97158275f1c572c04f5c7
Author: Masatake YAMATO <yamato@...hat.com>
Date:   Tue Mar 19 01:47:27 2013 +0000

    genetlink: trigger BUG_ON if a group name is too long
    
    Trigger BUG_ON if a group name is longer than GENL_NAMSIZ.
    
    Signed-off-by: Masatake YAMATO <yamato@...hat.com>
    Signed-off-by: David S. Miller <davem@...emloft.net>

[    0.965552] ACPI: bus type PNP unregistered
[    0.968705] ------------[ cut here ]------------
[    0.969375] kernel BUG at net/netlink/genetlink.c:145!
[    0.970478] invalid opcode: 0000 [#1] PREEMPT SMP 
[    0.971224] CPU 0 
[    0.971474] Pid: 1, comm: swapper/0 Not tainted 3.9.0-rc3-00183-gf379fb9 #149  
[    0.972011] RIP: 0010:[<ffffffff81d89ed6>]  [<ffffffff81d89ed6>] genl_register_mc_group+0x32/0x21e
[    0.972011] RSP: 0000:ffff88000d87be80  EFLAGS: 00010246
[    0.972011] RAX: 0000000000000000 RBX: ffffffff82b87f70 RCX: ffff88000d878860
[    0.972011] RDX: ffffffff82b87f98 RSI: 0000000000000000 RDI: ffffffff82b87f98
[    0.972011] RBP: ffff88000d87beb8 R08: 0000000000000000 R09: ffffffff82c26368
[    0.972011] R10: 0000000000000001 R11: ffff88000daaf200 R12: ffffffff82b87fa0
[    0.972011] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    0.972011] FS:  0000000000000000(0000) GS:ffff88000de00000(0000) knlGS:0000000000000000
[    0.972011] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[    0.972011] CR2: 00000000ffffffff CR3: 0000000002a09000 CR4: 00000000000006b0
[    0.972011] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.972011] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[    0.972011] Process swapper/0 (pid: 1, threadinfo ffff88000d87a000, task ffff88000d878040)
[    0.972011] Stack:
[    0.972011]  ffff88000d87beb8 ffffffff81d8a2e4 0000000000000000 0000000000000000
[    0.972011]  ffffffff82c9a348 0000000000000000 0000000000000000 ffff88000d87bed8
[    0.972011]  ffffffff82c9a3bf 0000000000000005 ffffffff82c9a348 ffff88000d87bf08
[    0.972011] Call Trace:
[    0.972011]  [<ffffffff81d8a2e4>] ? genl_register_family+0x122/0x139
[    0.972011]  [<ffffffff82c9a348>] ? max8688_driver_init+0x14/0x14
[    0.972011]  [<ffffffff82c9a3bf>] thermal_init+0x77/0x94
[    0.972011]  [<ffffffff82c9a348>] ? max8688_driver_init+0x14/0x14
[    0.972011]  [<ffffffff82c54e1a>] do_one_initcall+0x7a/0x139
[    0.972011]  [<ffffffff82c55001>] kernel_init_freeable+0x128/0x1a9
[    0.972011]  [<ffffffff82c5473e>] ? do_early_param+0x88/0x88
[    0.972011]  [<ffffffff81e5acf4>] ? rest_init+0xb8/0xb8
[    0.972011]  [<ffffffff81e5acfd>] kernel_init+0x9/0xd1
[    0.972011]  [<ffffffff81e841fc>] ret_from_fork+0x7c/0xb0
[    0.972011]  [<ffffffff81e5acf4>] ? rest_init+0xb8/0xb8
[    0.972011] Code: 55 41 54 53 48 89 f3 48 83 ec 18 80 7e 18 00 75 02 0f 0b 49 89 fc 48 8d 7e 18 ba 10 00 00 00 31 f6 e8 ac b5 5e ff 48 85 c0 75 02 <0f> 0b e8 ab f3 ff ff 48 81 fb 80 64 c2 82 74 1c 48 8b 35 c3 c5 
[    0.972011] RIP  [<ffffffff81d89ed6>] genl_register_mc_group+0x32/0x21e
[    0.972011]  RSP <ffff88000d87be80>
[    1.003203] ---[ end trace 7fe0a72eb10545df ]---

git bisect start f379fb991b9f958be2c89df8dc0e446d67f657e4 v3.8 --
git bisect good bab588fcfb6335c767d811a8955979f5440328e0  # 09:13     20+  Merge tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect good 5115f3c19d17851aaff5a857f55b4a019c908775  # 09:47     20+  Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
git bisect good 41e9f3f71bc7a5d41a2b925cfdc0dc22a77f7d8c  # 10:13     20+  watchdog: sp805_wdt depends on ARM
git bisect good 6fdd496e07f511a94ba27e4a1433038b32d6af05  # 10:35     20+  input/joystick: use get_cycles on ARM
git bisect good 0cb77508252e2d0e00c5ec7e57b4be9b3f7eb24d  # 11:10     20+  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect good e20437852de4aba31068037a728e2d60cf942f56  # 11:21     20+  Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
git bisect good 112ccff716ae74ffa5f30266b29c4d72aab4074b  # 11:30     20+  Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
git bisect good 7b1b3fd74e3a8a63858fc5382af90d2a19f4afb8  # 11:46     20+  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect  bad 936063175afd895913a5e9db77e1a0ef43ea44ea  # 11:52      0-  l2tp: close sessions in ip socket destroy callback
git bisect good 547b524636249fbe906ab78a50ab0017c490316c  # 12:10     20+  PCI: Use ROM images from firmware only if no other ROM source available
git bisect good 3dd6664fac7e6041bfc8756ae9e8c78f59108cd9  # 12:46     20+  netfilter: remove unused "config IP_NF_QUEUE"
git bisect good 90b2621fd465949e1714127e829a79160de14b38  # 13:01     20+  Merge branch 'master' of git://1984.lsi.us.es/nf
git bisect  bad 44046a593eb770dbecdabf1c82bcd252f2a8337b  # 14:03      0-  udp: add encap_destroy callback
git bisect  bad f1e79e208076ffe7bad97158275f1c572c04f5c7  # 14:26      0-  genetlink: trigger BUG_ON if a group name is too long
git bisect good 90b2621fd465949e1714127e829a79160de14b38  # 14:52     60+  Merge branch 'master' of git://1984.lsi.us.es/nf
git bisect good 90b2621fd465949e1714127e829a79160de14b38  # 14:52     60+  Merge branch 'master' of git://1984.lsi.us.es/nf
git bisect good 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b  # 15:05     60+  Linux 3.11-rc2
git bisect good 8e24935d705b16bdabaaf2046493b2203be3bd40  # 15:37     60+  Add linux-next specific files for 20130722

Thanks,
Fengguang

View attachment "dmesg-kvm-kbuild-13102-20130722082509-3.9.0-rc3-00183-gf379fb9-149" of type "text/plain" (33604 bytes)

View attachment "bisect-f379fb991b9f958be2c89df8dc0e446d67f657e4-x86_64-randconfig-s04-0721-thermal_init+-x-28534.log" of type "text/plain" (22690 bytes)

View attachment "config-3.9.0-rc3-00183-gf379fb9" of type "text/plain" (99963 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ