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>] [day] [month] [year] [list]
Message-ID: <1331758844.3723.3.camel@lappy>
Date:	Wed, 14 Mar 2012 17:00:44 -0400
From:	Sasha Levin <levinsasha928@...il.com>
To:	Al Viro <viro@...iv.linux.org.uk>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	linux-fsdevel <linux-fsdevel@...r.kernel.org>
Cc:	Dave Jones <davej@...hat.com>
Subject: vfs: chmod: Hung task after calling chmod()

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]  [<ffffffff826edfc4>] schedule+0x24/0x70
[  241.493132]  [<ffffffff826ee023>] schedule_preempt_disabled+0x13/0x20
[  241.493878]  [<ffffffff826ec79f>] __mutex_lock_common+0x1ff/0x5a0
[  241.494683]  [<ffffffff811dbe4a>] ? chmod_common+0x5a/0xc0
[  241.495357]  [<ffffffff811ea22e>] ? putname+0x2e/0x40
[  241.495946]  [<ffffffff811dbe4a>] ? chmod_common+0x5a/0xc0
[  241.496669]  [<ffffffff826ecb80>] mutex_lock_nested+0x40/0x50
[  241.497388]  [<ffffffff811dbe4a>] chmod_common+0x5a/0xc0
[  241.498033]  [<ffffffff811e079c>] ? __fput+0x1cc/0x300
[  241.498656]  [<ffffffff826f0da9>] ? sysret_check+0x22/0x5d
[  241.499480]  [<ffffffff811dc964>] sys_fchmodat+0x34/0x50
[  241.500350]  [<ffffffff811dc994>] sys_chmod+0x14/0x20
[  241.500952]  [<ffffffff826f0d7d>] system_call_fastpath+0x1a/0x1f
[  241.501671] 1 lock held by trinity/3058:
[  241.502142]  #0:  (&type->i_mutex_dir_key){+.+.+.}, at: [<ffffffff811dbe4a>] chmod_common+0x5a/0xc0
[  241.503314] Kernel panic - not syncing: hung_task: blocked tasks

-- 

Sasha.

--
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