From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758457Ab3KMRrV (ORCPT ); Wed, 13 Nov 2013 12:47:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59826 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751958Ab3KMRrN (ORCPT ); Wed, 13 Nov 2013 12:47:13 -0500 Date: Wed, 13 Nov 2013 12:47:06 -0500 From: Dave Jones To: Al Viro Cc: Linux Kernel Subject: getcwd() rcu locking bug. Message-ID: <20131113174706.GA4541@redhat.com> Mail-Followup-To: Dave Jones , Al Viro , Linux Kernel MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org My fuzzer just hit this on v3.12-7033-g42a2d923cc34 ===================================== [ BUG: bad unlock balance detected! ] 3.12.0+ #2 Not tainted ------------------------------------- trinity-child1/11681 is trying to release lock (rcu_read_lock) at: [] SyS_getcwd+0x11c/0x300 but there are no more locks to release! other info that might help us debug this: no locks held by trinity-child1/11681. stack backtrace: CPU: 1 PID: 11681 Comm: trinity-child1 Not tainted 3.12.0+ #2 ffffffff81c480a0 ffff88009a40fea0 ffffffff8171b3dc ffff8802399b1560 ffff88009a40fec8 ffffffff810d370e ffff8802399b1560 ffffffff81c480a0 ffffffff811d287c ffff88009a40ff00 ffffffff810d80fe ffff88023d2d4600 Call Trace: [] dump_stack+0x4e/0x7a [] print_unlock_imbalance_bug+0xee/0x100 [] ? SyS_getcwd+0x11c/0x300 [] lock_release+0x25e/0x310 [] SyS_getcwd+0x134/0x300 [] ? SyS_getcwd+0x39/0x300 [] tracesys+0xdd/0xe2 ------------[ cut here ]------------