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:	Thu, 7 Nov 2013 20:10:42 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	David Howells <dhowells@...hat.com>
Cc:	linux-kernel@...r.kernel.org
Subject: [vfs] BUG: spinlock trylock failure on UP on CPU#0, swapper/0

Greetings,

I got the below dmesg and the first bad commit seems to be

commit 1247c74b4f3f3725a8bd8dc0bbd22baa2a9049ae
Author: David Howells <dhowells@...hat.com>
Date:   Thu Sep 12 19:22:53 2013 +0100

    VFS: Put a small type field into struct dentry::d_flags
    
    Put a type field into struct dentry::d_flags to indicate if the dentry is one
    of the following types that relate particularly to pathwalk:
    
    	Miss (negative dentry)
    	Directory
    	"Automount" directory (defective - no i_op->lookup())
    	Symlink
    	Other (regular, socket, fifo, device)
    
    The type field is set to one of the first five types on a dentry by calls to
    __d_instantiate() and d_obtain_alias() from information in the inode (if one is
    given).
    
    The type is cleared by dentry_unlink_inode() when it reconstitutes an existing
    dentry as a negative dentry.
    
    Accessors provided are:
    
    	d_set_type(dentry, type)
    	d_is_directory(dentry)
    	d_is_autodir(dentry)
    	d_is_symlink(dentry)
    	d_is_file(dentry)
    	d_is_negative(dentry)
    	d_is_positive(dentry)
    
    A bunch of checks in pathname resolution switched to those.
    
    Signed-off-by: David Howells <dhowells@...hat.com>
    Signed-off-by: Al Viro <viro@...iv.linux.org.uk>

===================================================
PARENT COMMIT NOT CLEAN. LOOK OUT FOR WRONG BISECT!
===================================================

+-------------------------------------------------+--------------+--------------+
|                                                 | 50235cd9727c | 44a40fd21fcf |
+-------------------------------------------------+--------------+--------------+
| has_kernel_error_warning                        | 110          | 19           |
| BUG:kernel_early_hang_without_any_printk_output | 4            | 1            |
| WARNING:CPU:PID:at_fs/dcache.c:d_lru_del()      | 106          |              |
| BUG:spinlock_trylock_failure_on_UP_on_CPU       | 0            | 18           |
+-------------------------------------------------+--------------+--------------+

[    0.006666] Calibrating delay loop (skipped) preset value.. 5389.62 BogoMIPS (lpj=8978600)
[    0.006666] pid_max: default: 32768 minimum: 301
[    0.006717] Mount-cache hash table entries: 256
[    0.007513] BUG: spinlock trylock failure on UP on CPU#0, swapper/0
[    0.008374]  lock: 0xffff88000d801c78, .magic: dead4ead, .owner: swapper/0, .owner_cpu: 0
[    0.009584] CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.0-00775-g44a40fd #9
[    0.010008]  ffffffff81095ffb ffffffff82401d28 ffffffff81bf07d0 ffffffff82401d48
[    0.011188]  ffffffff81bf0fff 0000000000000000 ffff88000d801c78 ffffffff82401d68
[    0.012431]  ffffffff81bf102a ffff88000d801c78 ffffffff82230ff4 ffffffff82401d80
[    0.014144] Call Trace:
[    0.014544]  [<ffffffff81095ffb>] ? up+0xf/0x39
[    0.015260]  [<ffffffff81bf07d0>] dump_stack+0x19/0x1b
[    0.016063]  [<ffffffff81bf0fff>] spin_dump+0x85/0x8a
[    0.016677]  [<ffffffff81bf102a>] spin_bug+0x26/0x28
[    0.017452]  [<ffffffff813a05c5>] do_raw_spin_trylock+0x37/0x3c
[    0.018379]  [<ffffffff81c00c68>] _raw_spin_lock+0x45/0x70
[    0.019200]  [<ffffffff81112651>] ? d_flags_for_inode+0x48/0xa9
[    0.020010]  [<ffffffff81112651>] d_flags_for_inode+0x48/0xa9
[    0.020865]  [<ffffffff811126cf>] __d_instantiate+0x1d/0xdf
[    0.021709]  [<ffffffff811143d1>] d_instantiate+0x35/0x4b
[    0.022469]  [<ffffffff811144f8>] d_make_root+0x32/0x49
[    0.023344]  [<ffffffff81152469>] sysfs_mount+0x162/0x1db
[    0.024154]  [<ffffffff81104a66>] mount_fs+0x10/0xac
[    0.024921]  [<ffffffff8111adb8>] vfs_kern_mount+0x5f/0xf3
[    0.025743]  [<ffffffff8111d12c>] kern_mount_data+0x14/0x29
[    0.026677]  [<ffffffff827a0abd>] sysfs_init+0x54/0xb3
[    0.027380]  [<ffffffff8279f3e2>] mnt_init+0xcb/0x1c7
[    0.028091]  [<ffffffff8279f0a7>] vfs_caches_init+0x90/0x107
[    0.028895]  [<ffffffff810e3d11>] ? kmem_cache_create+0x23/0x25
[    0.030011]  [<ffffffff82782d55>] start_kernel+0x431/0x482
[    0.030776]  [<ffffffff82782732>] ? repair_env_string+0x58/0x58
[    0.031632]  [<ffffffff82782120>] ? early_idt_handlers+0x120/0x120
[    0.032560]  [<ffffffff8278244c>] x86_64_start_reservations+0x2a/0x2c
[    0.033345]  [<ffffffff8278252a>] x86_64_start_kernel+0xdc/0xe9

git bisect start 44a40fd21fcf04ed24396657e381da1b7412590f 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 --
git bisect good 6a05cedf89640bae8e10aa6ee726a4986c484750  # 09:04     20+      1  Merge 'oleg/uprobes/core' into devel-xian-x86_64-201311070514
git bisect good 4796e8af60ee7d2922386ef9fd4389d21e2c1665  # 09:55     20+      1  Bluetooth: Make mgmt_write_scan_failed() return void
git bisect good cca34b785a21d220176038c45071ffe842e99fd3  # 10:34     20+      1  Bluetooth: Remove link type check in hci_disconn_complete_evt()
git bisect good 004e8957280a32f7b54766531c064412bda45e48  # 10:59     20+     20  convert the rest of binfmt_elf_fdpic to dump_emit()
git bisect  bad b0d94facd7c81fae48e72f1e0b2a7e656ecde921  # 11:04      0-      1  exportfs: stop retrying once we race with rename/remove
git bisect good 50235cd9727c20b09967b5c060025eac9d0c80bb  # 11:28     20+     20  elf{,_fdpic} coredump: get rid of pointless if (siginfo->si_signo)
git bisect  bad 08196969532eee10cdeaa29fca37fa7a407b01ae  # 11:33      0-      1  dcache: use IS_ROOT to decide where dentry is hashed
git bisect  bad 7717bf21e4a5e1d371e313a4404635f4775961d9  # 11:38      1-      2  vfs: split out vfs_getattr_nosec
git bisect  bad 520ef078eabdbe7eb6a33c1f56a65ac55d41e6ed  # 11:46      0-      1  iget/iget5: don't bother with ->i_lock until we find a match
git bisect  bad 1247c74b4f3f3725a8bd8dc0bbd22baa2a9049ae  # 11:49      0-      1  VFS: Put a small type field into struct dentry::d_flags
git bisect good 50235cd9727c20b09967b5c060025eac9d0c80bb  # 12:21     90+    110  elf{,_fdpic} coredump: get rid of pointless if (siginfo->si_signo)
git bisect  bad 44a40fd21fcf04ed24396657e381da1b7412590f  # 12:21      0-     19  Merge 'vfs/for-next' into devel-xian-x86_64-201311070514
git bisect good 840dc9962cdca607c3b121fe8784866ecf169b64  # 12:59     90+     90  Revert "VFS: Put a small type field into struct dentry::d_flags"
git bisect good be408cd3e1fef73e9408b196a79b9934697fe3b1  # 13:17     90+      3  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect good 7e82ea422c42db6b9c0188faeb98d6ec9ccfef8f  # 13:29     90+     29  Add linux-next specific files for 20131106

Thanks,
Fengguang

View attachment "dmesg-quantal-inn-1:20131107060149:x86_64-randconfig-x0-1106:3.12.0-00775-g44a40fd:9" of type "text/plain" (20941 bytes)

Download attachment "bisect-44a40fd21fcf04ed24396657e381da1b7412590f-x86_64-randconfig-x0-1106-BUG:-spinlock-trylock-failure-on-UP-on-CPU-108212.log" of type "application/octet-stream" (34240 bytes)

View attachment "config-3.12.0-00775-g44a40fd" of type "text/plain" (82532 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ