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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44EE03E4.5050902@free.fr>
Date:	Thu, 24 Aug 2006 21:54:12 +0200
From:	Laurent Riffard <laurent.riffard@...e.fr>
To:	Andrew Morton <akpm@...l.org>,
	Kernel development list <linux-kernel@...r.kernel.org>
Subject: Re: 2.6.18-rc4-mm2: ptkcdvd mapping may cause possible recursive
 locking

Le 20.08.2006 07:00, Andrew Morton a écrit :
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc4/2.6.18-rc4-mm2/
>

# pktsetup dvd /dev/dvd

pktcdvd: writer pktcdvd0 mapped to hdc

=============================================
[ INFO: possible recursive locking detected ]
2.6.18-rc4-mm2 #115
---------------------------------------------
vol_id/3579 is trying to acquire lock:
 (&bdev->bd_mutex){--..}, at: [<c015b0d9>] do_open+0x6b/0x3c2

but task is already holding lock:
 (&bdev->bd_mutex){--..}, at: [<c015b0d9>] do_open+0x6b/0x3c2

other info that might help us debug this:
2 locks held by vol_id/3579:
 #0:  (&bdev->bd_mutex){--..}, at: [<c015b0d9>] do_open+0x6b/0x3c2
 #1:  (&ctl_mutex#2){--..}, at: [<c028f93a>] mutex_lock+0x21/0x24

stack backtrace:
 [<c0103949>] show_trace_log_lvl+0x12/0x25
 [<c0103a2a>] show_trace+0xd/0x10
 [<c010415f>] dump_stack+0x19/0x1b
 [<c012cdef>] __lock_acquire+0x781/0x9aa
 [<c012d2dd>] lock_acquire+0x60/0x80
 [<c028f9fc>] mutex_lock_nested+0xbf/0x200
 [<c015b0d9>] do_open+0x6b/0x3c2
 [<c015b49e>] blkdev_get+0x6e/0x79
 [<e0f6187f>] pkt_open+0x99/0xbeb [pktcdvd]
 [<c015b10f>] do_open+0xa1/0x3c2
 [<c015b5db>] blkdev_open+0x1f/0x48
 [<c015313d>] __dentry_open+0xb8/0x186
 [<c0153279>] nameidata_to_filp+0x1c/0x2e
 [<c01532b9>] do_filp_open+0x2e/0x35
 [<c0153300>] do_sys_open+0x40/0xba
 [<c01533a6>] sys_open+0x16/0x18
 [<c0102c51>] sysenter_past_esp+0x56/0x8d
 =======================

/dev/dvd is a DVD writer, HL-DT-ST DVDRAM GSA-4165B model, "LG" brand.

Full dmesg an .config attached.
~~
laurent

View attachment "config-2.6.18-rc4-mm2" of type "text/plain" (47163 bytes)

View attachment "dmesg" of type "text/plain" (26293 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ