From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: vfs: chmod: Hung task after calling chmod() Date: Wed, 14 Mar 2012 17:00:44 -0400 Message-ID: <1331758844.3723.3.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Dave Jones To: Al Viro , linux-kernel , linux-fsdevel Return-path: Received: from mail-bk0-f46.google.com ([209.85.214.46]:51561 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755381Ab2CNTA7 (ORCPT ); Wed, 14 Mar 2012 15:00:59 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi all, I've found the following backtrace after running the trinity fuzzer in a KVM guest using the latest linux-next. Unfortunately I don't have full logs for this, so I can't tell exactly which parameters were passed to chmod(). [ 241.469508] INFO: task trinity:3058 blocked for more than 120 seconds. [ 241.471949] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 241.476626] trinity D 0000000000000000 4544 3058 1 0x00000000 [ 241.480595] ffff880035f29d98 0000000000000082 ffff880035f29d28 ffff880035f29fd8 [ 241.483212] 00000000001d4340 ffff880035f28000 00000000001d4340 00000000001d4340 [ 241.487158] 00000000001d4340 00000000001d4340 ffff880035f29fd8 00000000001d4340 [ 241.490875] Call Trace: [ 241.492186] [] schedule+0x24/0x70 [ 241.493132] [] schedule_preempt_disabled+0x13/0x20 [ 241.493878] [] __mutex_lock_common+0x1ff/0x5a0 [ 241.494683] [] ? chmod_common+0x5a/0xc0 [ 241.495357] [] ? putname+0x2e/0x40 [ 241.495946] [] ? chmod_common+0x5a/0xc0 [ 241.496669] [] mutex_lock_nested+0x40/0x50 [ 241.497388] [] chmod_common+0x5a/0xc0 [ 241.498033] [] ? __fput+0x1cc/0x300 [ 241.498656] [] ? sysret_check+0x22/0x5d [ 241.499480] [] sys_fchmodat+0x34/0x50 [ 241.500350] [] sys_chmod+0x14/0x20 [ 241.500952] [] system_call_fastpath+0x1a/0x1f [ 241.501671] 1 lock held by trinity/3058: [ 241.502142] #0: (&type->i_mutex_dir_key){+.+.+.}, at: [] chmod_common+0x5a/0xc0 [ 241.503314] Kernel panic - not syncing: hung_task: blocked tasks -- Sasha.