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, 16 Mar 2014 21:17:57 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	LKP <fnstml-lkp@...fujitsu.com>, Joern Engel <joern@...fs.org>
Cc:	Prasad Joshi <prasadjoshi.linux@...il.com>, logfs@...fs.org,
	LKML <linux-kernel@...r.kernel.org>
Subject: [logfs] BUG: sleeping function called from invalid context at
 kernel/locking/rwsem.c:20

Hi Joern,

FYI, this BUG is too old to be bisected:

[    4.906444] Freeing unused kernel memory: 1244K (d2892000 - d29c9000)
[    5.631187] LogFS: Start mount 0
[    5.642106] LogFS: Start unmounting
[    5.651816] INFO: trying to register non-static key.
[    5.652023] the code is fine but needs lockdep annotation.
[    5.652023] turning off the locking correctness validator.
[    5.652023] CPU: 0 PID: 381 Comm: mount Not tainted 3.14.0-rc6-next-20140313-08623-gaf911c6 #2
[    5.652023] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    5.652023]  cd538c44 ccda7d7c d176dee0 ccda7dc0 cf4e458c d2070e6c d179ae00 ccda7e34
[    5.652023]  cf61e805 00000002 0000407c d2b5a830 cce93000 c0027e40 00000000 cd538c44
[    5.652023]  ccd54390 ccd54390 cd538c44 00000000 ccda7dec cf4e5ccc 00000000 00000000
[    5.652023] Call Trace:
[    5.652023]  [<d176dee0>] dump_stack+0x40/0x5e
[    5.652023]  [<cf4e458c>] __lock_acquire.isra.21+0x3ac/0x1a40
[    5.652023]  [<d179ae00>] ? wait_for_completion+0x20/0x40
[    5.652023]  [<cf61e805>] ? writeback_inodes_sb_nr+0x105/0x140
[    5.652023]  [<cf4e5ccc>] lock_acquire+0xac/0x100
[    5.652023]  [<cf77be6d>] ? logfs_get_wblocks+0x12d/0x160
[    5.652023]  [<d179b0cf>] mutex_lock_nested+0xaf/0x6c0
[    5.652023]  [<cf77be6d>] ? logfs_get_wblocks+0x12d/0x160
[    5.652023]  [<cf77be6d>] ? logfs_get_wblocks+0x12d/0x160
[    5.652023]  [<cf77be6d>] logfs_get_wblocks+0x12d/0x160
[    5.652023]  [<cf776243>] logfs_sync_fs+0x23/0x80
[    5.652023]  [<cf62487c>] __sync_filesystem+0x7c/0xc0
[    5.652023]  [<cf624bb2>] sync_filesystem+0x72/0xc0
[    5.652023]  [<cf78387d>] logfs_kill_sb+0x3d/0x220
[    5.652023]  [<cf5d970e>] deactivate_locked_super+0x8e/0x100
[    5.652023]  [<cf7852cf>] logfs_mount+0xc0f/0xce0
[    5.652023]  [<cf5dc113>] mount_fs+0xd3/0x2e0
[    5.652023]  [<cf58d11b>] ? kstrdup+0x5b/0xa0
[    5.652023]  [<cf60e4d1>] vfs_kern_mount+0x91/0x200
[    5.652023]  [<d17a1f6d>] ? _raw_read_unlock+0x6d/0xc0
[    5.652023]  [<cf6129c3>] do_mount+0x1383/0x1700
[    5.652023]  [<cf58d7ba>] ? strndup_user+0x5a/0xa0
[    5.652023]  [<cf613345>] SyS_mount+0x105/0x1a0
[    5.652023]  [<d17a368d>] syscall_call+0x7/0xb
[    5.688034] BUG: unable to handle kernel NULL pointer dereference at   (null)
[    5.689025] IP: [<d179b2ea>] mutex_lock_nested+0x2ca/0x6c0
[    5.689025] *pdpt = 000000000ce7f001 *pde = 0000000000000000
[    5.689025] Oops: 0002 [#1] PREEMPT
[    5.689025] CPU: 0 PID: 381 Comm: mount Not tainted 3.14.0-rc6-next-20140313-08623-gaf911c6 #2
[    5.689025] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    5.689025] task: ccd54390 ti: ccda6000 task.ti: ccda6000
[    5.689025] EIP: 0060:[<d179b2ea>] EFLAGS: 00010046 CPU: 0
[    5.689025] EIP is at mutex_lock_nested+0x2ca/0x6c0
[    5.689025] EAX: 00000000 EBX: cd538c04 ECX: cd538c30 EDX: ccda7e10
[    5.689025] ESI: 00000246 EDI: ccd54390 EBP: ccda7e2c ESP: ccda7df4
[    5.689025]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
[    5.689025] CR0: 8005003b CR2: 00000000 CR3: 0cea5000 CR4: 000006f0
[    5.689025] Stack:
[    5.689025]  00000000 00000001 00000000 cf77be6d cd538c30 cd538c44 cf77be6d cd538c30
[    5.689025]  00000000 11111111 ccda7e10 cce93000 00000000 ffffffea ccda7e3c cf77be6d
[    5.689025]  cce93000 00000000 ccda7e48 cf776243 cce93000 ccda7e58 cf62487c cce93000
[    5.689025] Call Trace:
[    5.689025]  [<cf77be6d>] ? logfs_get_wblocks+0x12d/0x160
[    5.689025]  [<cf77be6d>] ? logfs_get_wblocks+0x12d/0x160
[    5.689025]  [<cf77be6d>] logfs_get_wblocks+0x12d/0x160
[    5.689025]  [<cf776243>] logfs_sync_fs+0x23/0x80
[    5.689025]  [<cf62487c>] __sync_filesystem+0x7c/0xc0
[    5.689025]  [<cf624bb2>] sync_filesystem+0x72/0xc0
[    5.689025]  [<cf78387d>] logfs_kill_sb+0x3d/0x220
[    5.689025]  [<cf5d970e>] deactivate_locked_super+0x8e/0x100
[    5.689025]  [<cf7852cf>] logfs_mount+0xc0f/0xce0
[    5.689025]  [<cf5dc113>] mount_fs+0xd3/0x2e0
[    5.689025]  [<cf58d11b>] ? kstrdup+0x5b/0xa0
[    5.689025]  [<cf60e4d1>] vfs_kern_mount+0x91/0x200
[    5.689025]  [<d17a1f6d>] ? _raw_read_unlock+0x6d/0xc0
[    5.689025]  [<cf6129c3>] do_mount+0x1383/0x1700
[    5.689025]  [<cf58d7ba>] ? strndup_user+0x5a/0xa0
[    5.689025]  [<cf613345>] SyS_mount+0x105/0x1a0
[    5.689025]  [<d17a368d>] syscall_call+0x7/0xb
[    5.689025] Code: e4 e8 fb 43 d4 fd 83 05 e8 f4 a2 d2 01 8d 43 2c 83 15 ec f4 a2 d2 00 8d 55 e4 89 c1 89 45 d8 8b 43 30 89 4d e4 89 53
30 89 45 e8 <89> 10 8b 55 e0 8b 45 dc 89 7d ec e8 e6 72 d4 fd eb 12 8d 74 26


git bisect  bad af911c69655709defa3daa926d72d5447688754c  # 12:56      0-     14  Add linux-next specific files for 20140313
git bisect  bad 475076b4699531be570fa9b2b6a5ca0b770d0fb7  # 14:50      0-      1  Merge remote-tracking branch 'powernv-cpuidle/powernv-cpuidle'
git bisect  bad d8ec26d7f8287f5788a494f56e8814210f0e64be  # 16:11      1-      1  Linux 3.13
git bisect  bad 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52  # 19:09      0-      1  Linux 3.12
git bisect  bad 6e4664525b1db28f8c4e1130957f70a94c19213e  # 19:53      5-      8  Linux 3.11
git bisect  bad 8bb495e3f02401ee6f76d1b1d77f3ac9f079e376  # 20:25      0-      4  Linux 3.10
git bisect  bad c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1  # 21:04      0-      1  Linux 3.9
git bisect  bad 19f949f52599ba7c3f67a5897ac6be14bfcb1200  # 21:30      0-      1  Linux 3.8
git bisect  bad 29594404d7fe73cd80eaa4ee8c43dcc53970c60e  # 22:42      0-      4  Linux 3.7
git bisect  bad a0d271cbfed1dd50278c6b06bead3d00ba0a88f9  # 23:13      0-      1  Linux 3.6
git bisect  bad 28a33cbc24e4256c143dce96c7d93bf423229f92  # 00:05     20-     15  Linux 3.5
git bisect  bad 76e10d158efb6d4516018846f60c2ab5501900bc  # 00:30      0-      6  Linux 3.4
git bisect  bad c16fa4f2ad19908a47c63d8fa436a1178438c7e7  # 00:53      0-      1  Linux 3.3
git bisect  bad 805a6af8dba5dfdd35ec35dc52ec0122400b2610  # 01:24      0-      1  Linux 3.2
git bisect  bad c3b92c8787367a8bb53d57d9789b558f1295cc96  # 02:07      3-      1  Linux 3.1
git bisect  bad 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe  # 02:42      1-      2  Linux 3.0

Thanks,
Fengguang

View attachment "dmesg-yocto-ivytown2-22:20140315004917:i386-randconfig-st0-03150024:3.14.0-rc6-next-20140313-08623-gaf911c6:2" of type "text/plain" (91118 bytes)

Download attachment "i386-randconfig-st0-03150024-af911c69655709defa3daa926d72d5447688754c-Oops:----PREEMPT-79113.log" of type "application/octet-stream" (73191 bytes)

View attachment "config-3.14.0-rc6-next-20140313-08623-gaf911c6" of type "text/plain" (113577 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ