From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 200465] null ptr dereference in fscrypt_do_page_crypto() when operating a file on a corrupted f2fs image Date: Mon, 17 Sep 2018 03:04:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1g1jpj-0001Vd-Rd for linux-f2fs-devel@lists.sourceforge.net; Mon, 17 Sep 2018 03:04:19 +0000 Received: from mail.wl.linuxfoundation.org ([198.145.29.98]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1g1jph-003dKP-EW for linux-f2fs-devel@lists.sourceforge.net; Mon, 17 Sep 2018 03:04:19 +0000 Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEB222967F for ; Mon, 17 Sep 2018 03:04:10 +0000 (UTC) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: linux-f2fs-devel@lists.sourceforge.net https://bugzilla.kernel.org/show_bug.cgi?id=200465 --- Comment #3 from Chao Yu (chao@kernel.org) --- Steve, I figure out that patch to solve issue which I encounter with image attached by Wen Xu, the bug can be triggered with below scripts: - mount image /mnt/f2fs/ - cd /mnt/f2fs/foo/bar/ - ls -l After applying that patch, the problem was gone. But when the bug triggeres, related call stack is not the same as reported one, also I can't reproduce reported call stack with the method provided from Wen Xu. I guess the right producing way is adding master key for encrypted file, I'd like to confirm with Wen Xu. -- You are receiving this mail because: You are watching the assignee of the bug.