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: Fri, 21 Sep 2018 01:41:40 +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-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1g3AS3-0002BG-Ac for linux-f2fs-devel@lists.sourceforge.net; Fri, 21 Sep 2018 01:41:47 +0000 Received: from mail.wl.linuxfoundation.org ([198.145.29.98]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1g3AS1-003Vl4-5U for linux-f2fs-devel@lists.sourceforge.net; Fri, 21 Sep 2018 01:41:47 +0000 Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 695E52E005 for ; Fri, 21 Sep 2018 01:41:39 +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 Chao Yu (chao@kernel.org) changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO --- Comment #5 from Chao Yu (chao@kernel.org) --- (In reply to Wen Xu from comment #4) > (In reply to Chao Yu from comment #3) > > 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. > > Hi Chao, > > Sorry for a late reply! Eh the first thing is that I never did anything like > adding master key for encrypted file. Second, I feel I pasted wrong > (mismatched) kernel message/PoC...but unfortunately I do not have a local > copy on my laptop now. Hi Wen, Oops, if you got another similar kernel message, please let me know. BTW, let me tag status of this issue as NEEDINFO -- You are receiving this mail because: You are watching the assignee of the bug.