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, 24 Jan 2008 11:02:55 +0800
From:	"Dave Young" <hidave.darkstar@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>
Cc:	"Marcel Holtmann" <marcel@...tmann.org>,
	"David Miller" <davem@...emloft.net>,
	Netdev <netdev@...r.kernel.org>, bluez-devel@...ts.sf.net
Subject: bluetooth : lockdep warning on rfcomm

=============================================
[ INFO: possible recursive locking detected ]
2.6.24-rc8-mm1 #8
---------------------------------------------
bluepush/3213 is trying to acquire lock:
 (sk_lock-AF_BLUETOOTH){--..}, at: [<f8978c80>]
l2cap_sock_bind+0x40/0x100 [l2cap]

but task is already holding lock:
 (sk_lock-AF_BLUETOOTH){--..}, at: [<f894a31e>]
rfcomm_sock_connect+0x3e/0xe0 [rfcomm]

other info that might help us debug this:
2 locks held by bluepush/3213:
 #0:  (sk_lock-AF_BLUETOOTH){--..}, at: [<f894a31e>]
rfcomm_sock_connect+0x3e/0xe0 [rfcomm]
 #1:  (rfcomm_mutex){--..}, at: [<f8947556>] rfcomm_dlc_open+0x26/0x60 [rfcomm]

stack backtrace:
Pid: 3213, comm: bluepush Not tainted 2.6.24-rc8-mm1 #8
 [<c0132128>] ? printk+0x18/0x20
 [<c0154437>] print_deadlock_bug+0xc7/0xe0
 [<c01544bc>] check_deadlock+0x6c/0x80
 [<c01548fc>] validate_chain+0x14c/0x320
 [<c0156221>] __lock_acquire+0x1c1/0x730
 [<c0156d89>] lock_acquire+0x79/0xb0
 [<f8978c80>] ? l2cap_sock_bind+0x40/0x100 [l2cap]
 [<c03c05f5>] lock_sock_nested+0x55/0x70
 [<f8978c80>] ? l2cap_sock_bind+0x40/0x100 [l2cap]
 [<f8978c80>] l2cap_sock_bind+0x40/0x100 [l2cap]
 [<c03bdb4a>] kernel_bind+0xa/0x10
 [<f8947afc>] rfcomm_session_create+0x4c/0x110 [rfcomm]
 [<f8947509>] __rfcomm_dlc_open+0x129/0x150 [rfcomm]
 [<f8947568>] rfcomm_dlc_open+0x38/0x60 [rfcomm]
 [<f894a396>] rfcomm_sock_connect+0xb6/0xe0 [rfcomm]
 [<c03bcd39>] sys_connect+0x99/0xd0
 [<c010f509>] ? cache_add_dev+0x39/0x1a0
 [<c015323d>] ? put_lock_stats+0xd/0x30
 [<c01532c0>] ? lock_release_holdtime+0x60/0x80
 [<c018e86c>] ? fget+0x7c/0x100
 [<c0156b97>] ? __lock_release+0x47/0x70
 [<c018e86c>] ? fget+0x7c/0x100
 [<c02611b7>] ? copy_from_user+0x37/0x70
 [<c03bd855>] sys_socketcall+0xa5/0x230
 [<c0155659>] ? trace_hardirqs_on+0xb9/0x130
 [<c010501b>] ? restore_nocheck+0x12/0x15
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ