Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347AbbKWHzp (ORCPT ); Mon, 23 Nov 2015 02:55:45 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:20052 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752504AbbKWHzo (ORCPT ); Mon, 23 Nov 2015 02:55:44 -0500 From: Vegard Nossum Subject: WARNING: CPU: 0 PID: 913 at fs/inode.c:275 drop_nlink+0x4b/0x50() To: OGAWA Hirofumi Cc: Richard Weinberger , LKML Message-ID: <5652C676.8040207@oracle.com> Date: Mon, 23 Nov 2015 08:55:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050103090208080801060303" X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2390 Lines: 61 This is a multi-part message in MIME format. --------------050103090208080801060303 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, With the attached vfat disk image (fuzzed), I get the following WARNING: WARNING: CPU: 0 PID: 913 at fs/inode.c:275 drop_nlink+0x4b/0x50() CPU: 0 PID: 913 Comm: a.out Not tainted 4.2.5+ #39 Stack: e0931b50 60075412 e13981e8 00000009 00000000 605cc684 e0931b60 605cf637 e0931bc0 60040f6d e0931ba0 6011e12b Call Trace: [<60029f3b>] show_stack+0xdb/0x1a0 [<605cf637>] dump_stack+0x2a/0x2c [<60040f6d>] warn_slowpath_common+0x9d/0xf0 [<6004114c>] warn_slowpath_null+0x1c/0x20 [<6011e12b>] drop_nlink+0x4b/0x50 [<601e9e2f>] vfat_rename+0x56f/0x800 [<60113dd2>] vfs_rename+0x9a2/0x9d0 [<60114439>] SyS_renameat2+0x639/0x690 [<601144d0>] SyS_rename+0x20/0x30 [<6002c5ce>] handle_syscall+0x6e/0xa0 [<6003a911>] userspace+0x4f1/0x5e0 To trigger it, you have to do a rename("/mnt/a/b/1", "/mnt/1"), where /mnt is your mountpoint. Also happens on 3.13.0 Ubuntu trusty kernel. Vegard --------------050103090208080801060303 Content-Type: application/x-bzip; name="vfat2.img.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="vfat2.img.bz2" QlpoOTFBWSZTWca5BnkAAAr/////0Sjbq/BCf4vHCz/t3CTFQAwAAhQlWeQaZA4ECUvNwAIc AADgADQAAyAAAAyGjQAAAAAAAAA4AA0AAMgAAAMho0AAAAAAAAAOAANAADIAAADIaNAAAAAA AAABIkhDRqTG0qD2ojPSnqaNNDIyNp6iND1PU9NNT0xTNTamNRo9IeR5Q2RJTKzCoVhWT50e f5MlDWa+Ua6hOevbmLVUHHzLUvelH5NK8ypirZoOiyQEw1lYVjvOdmXflJF9lLbnatNVsR+9 dmVNVr4pks2iAvoAmUQCSWetg1lq/prKhArDAvgK5C58JA4AAOaZiYQIV8vftJGB57VtonYX mAldnsppSJRCUmIbC20pD7bSQi4xInXj6mps+/0LAIpENKsPGw0+WMV6FRng4VkkAQM4IxTC w9eFNY6pf2+toz3Pm8vMEZJ+u/p6zaYljkNt/bjtqTQkH53V3tQNV91rX7y6SnNjXije2qua b5v6ZhUSb8lfBdhPZUdFZkIBMMz0y/XuT4QzsyglohuyL2WDafCckb3f6VNtInShre3YN0eg IQNaWfkuTSm7O/t4qNiiwaQ/MzS05+iTECwR55LgOe3LBVgsWsGqs2U3A+1UXJbh3c6mqmiU V40figTBItF2vnFL+7/fdbNw4YDQqgu5ppZ1UrEvVVZZdIqs2P+xceLVrONhxYow+mA1uHiQ C7UwsvFH4bqySMez6scwcjNvkiPYM6Eto1MkkkI0TOinzFr1mHklxsSDvjBUDELXy8shJW1y 3ISDcMfV7ipnXtF3JFOFCQxrkGeQ --------------050103090208080801060303-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/