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]
Date:	Sun, 6 Oct 2013 15:58:11 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Russell King <rmk+kernel@....linux.org.uk>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	linux-kernel@...r.kernel.org
Subject: BUG: sleeping function called from invalid context at mm/slab.c:3060

Greetings,

I got the below dmesg and the first bad commit is

commit c817a67ecba7c3c2aaa104796d78f160af60920d
Author: Russell King <rmk+kernel@....linux.org.uk>
Date:   Thu Jun 27 15:06:14 2013 +0100

    kobject: delayed kobject release: help find buggy drivers
    
    Implement debugging for kobject release functions.  kobjects are
    reference counted, so the drop of the last reference to them is not
    predictable. However, the common case is for the last reference to be
    the kobject's removal from a subsystem, which results in the release
    function being immediately called.
    
    This can hide subtle bugs, which can occur when another thread holds a
    reference to the kobject at the same time that a kobject is removed.
    This results in the release method being delayed.
    
    In order to make these kinds of problems more visible, the following
    patch implements a delayed release; this has the effect that the
    release function will be out of order with respect to the removal of
    the kobject in the same manner that it would be if a reference was
    being held.
    
    This provides us with an easy way to allow driver writers to debug
    their drivers and fix otherwise hidden problems.
    
    Signed-off-by: Russell King <rmk+kernel@....linux.org.uk>
    Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

mount: mounting proc on /proc failed: No such device
grep: /proc/filesystems: No such file or directory
[    4.188118] BUG: sleeping function called from invalid context at mm/slab.c:3060
[    4.190236] in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper/0
[    4.191696] 1 lock held by swapper/0/0:
Starting Bootlog daemon: 
[    4.192991]  #0:  (H

git bisect start 45c4ea0c4c1b8abffb575b865243fd1c69bbecd9 v3.11 --
git bisect  bad 39eda2aba6be642b71f2e0ad623dcb09fd9d79cf  # 03:04      0-  Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
git bisect  bad aa7054f5a5a9ff728ce291cb103afa19f4f849eb  # 03:16    160-  Merge tag 'pinctrl-v3.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect  bad 751144271f4b63d5de9005ea4e5e6e5c7c6fd629  # 03:40    110-  Merge tag 'staging-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
git bisect good c211148fb6355f347ec819a05c3034acd56e75c1  # 09:25   2140+  staging: dgnc: adds TODO
git bisect good b9a1048137f4ae43ee90f61a3f34f0efe863cfeb  # 14:30   2140+  usbcore: fix incorrect type in assignment in descriptors_changed()
git bisect good ec1882a9391c55332ebf3d1654f40b76e4a6c010  # 21:05   2140+  Merge tag 'regulator-v3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
git bisect good 1d1fdd95df681f0c065d90ffaafa215a0e8825e2  # 03:49   2140+  Merge tag 'char-misc-3.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect  bad f9ae443b5a1aa3d34d57df966a220a51a854d4c8  # 03:59     37-  sysfs: group.c: add kerneldoc for sysfs_remove_group
git bisect  bad 910f5c7cdb1d4541997f01c17b731bdfe2e92eda  # 04:23    190-  Correct unfaithful translation on HOWTO in ko_KR
git bisect  bad 86df268705696ce2286410f1493e294e889bdce6  # 04:35     83-  drivers:base:core: Moved sym export macros to respective functions
git bisect good 7c42721fe0c58a848849b43ff558cf2fb86aa35a  # 13:41   2140+  char: tile-srom: fix build error
git bisect  bad 92a3e661bf55457091817c5c346c4313be2508af  # 13:49    310-  SCSI: OSD: convert class code to use dev_groups
git bisect  bad 58b267d3e3f3ce87c3e559e4c330c8c03e905f5e  # 13:53    249-  dma: convert dma_devclass to use dev_groups
git bisect  bad c817a67ecba7c3c2aaa104796d78f160af60920d  # 14:00    445-  kobject: delayed kobject release: help find buggy drivers
git bisect good 7c42721fe0c58a848849b43ff558cf2fb86aa35a  # 21:46  10000+  char: tile-srom: fix build error
git bisect  bad a0cf1abc25ac197dd97b857c0f6341066a8cb1cf  # 21:47     55-  Add linux-next specific files for 20130927
git bisect good 918cf69e1b11370ca6da77c96ff3383b06a72bf3  # 02:15  10000+  Revert "kobject: delayed kobject release: help find buggy drivers"
git bisect  bad 7dee8dff47734ee52da2cd8b8ea9736e42c5062f  # 02:20     25-  Merge tag 'pm+acpi-3.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
git bisect  bad a0cf1abc25ac197dd97b857c0f6341066a8cb1cf  # 02:20      0-  Add linux-next specific files for 20130927

Thanks,
Fengguang

View attachment "dmesg-yocto-lkp-tt02-10:20130928023627:3.12.0-rc2-02842-g45c4ea0:25" of type "text/plain" (62979 bytes)

Download attachment "bisect-45c4ea0c4c1b8abffb575b865243fd1c69bbecd9-x86_64-randconfig-x1-0928-BUG:-sleeping-function-called-from-invalid-context-at-105490.log" of type "application/octet-stream" (99612 bytes)

View attachment "config-3.12.0-rc2-02842-g45c4ea0" of type "text/plain" (81006 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ