From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BD15374E79 for ; Tue, 7 Apr 2026 03:52:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775533946; cv=none; b=BSM/S2DYW4obhl77VD9wC/fKYKD9N8R2pCczFQbPA+oL03WPKMC7pGEEOkTTQuHui0fwML0Q6sV07yoJjoc26EQnE2+/3vZg2PdYHrfHihL1sBBFL/owfz6ZmHqlZxOnX6vMUzkZO0V+x8YZNKCuCAV/lF00xzjZ+SRSwioCi/M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775533946; c=relaxed/simple; bh=lsIPGMculNPMBTkoHZ1GO4Hu9aisIppZJSOmrE0LBiM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iVL3rXbmbTPYrds3eFf2/A1GLo1TTQRwdH6OB/eZG+75NEn0MeoQrizClUwwr/2F8NCFeCZSZar3c821xdXxhxTrfE+zHWKJ4KGFZ1hO6wCMvUGbEQU2maLV4fFPAonH0JC7R/k0bmdjVYab3aFg5OSM/dMO7r1VZzkIRnlx4sI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=oDRcNGsx; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="oDRcNGsx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775533946; x=1807069946; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=lsIPGMculNPMBTkoHZ1GO4Hu9aisIppZJSOmrE0LBiM=; b=oDRcNGsxvLTzgNoO/6XeWm6JifyeKy0Lq5BKJ2EITM5/3SK9YzNxKcO8 q8RrEpsSM9lh0ks9GPjx+1yvJe3hUBchQSqoGd/OvlmM2TVcb/j9AOcWE EYJtSDxQI8f0J8EWP2N8Qa4kll4xovI9X9SSse5vkt7BLGt9AAI1sUFgl vyjw8C3Demf4/txizIsxSzcYquOJ+WbAe2bbPkYpaX9rkG4vqDfSgUId1 0Dy/cxFz/Yf+vAnHK07ouMGDQSUgv9gTUGyHToraPNUVyvYfTgarXgo1E iLjqIJb+1+Rl3tZ6MkBe2B0wWSah7IluCgNNtPipf+kCZGzro+AaqaCnR A==; X-CSE-ConnectionGUID: cMrSGSZ5Ry2+1MrhAZ3DRw== X-CSE-MsgGUID: H5LiZ3QLRqurEkaaP2X43g== X-IronPort-AV: E=McAfee;i="6800,10657,11751"; a="80080618" X-IronPort-AV: E=Sophos;i="6.23,164,1770624000"; d="scan'208";a="80080618" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2026 20:52:24 -0700 X-CSE-ConnectionGUID: O8sZA86tSAiPzY6ANpPspA== X-CSE-MsgGUID: YBEopBAjTDC2JOue9QwY0A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,164,1770624000"; d="scan'208";a="227994506" Received: from lkp-server01.sh.intel.com (HELO d00eb8a6782a) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 06 Apr 2026 20:52:22 -0700 Received: from kbuild by d00eb8a6782a with local (Exim 4.98.2) (envelope-from ) id 1w9xUA-0000000002Z-2hNA; Tue, 07 Apr 2026 03:52:18 +0000 Date: Tue, 7 Apr 2026 11:51:40 +0800 From: kernel test robot To: tejas bharambe , "ocfs2-devel@lists.linux.dev" Cc: oe-kbuild-all@lists.linux.dev, "mark@fasheh.com" , "jlbec@evilplan.org" , "linux-kernel@vger.kernel.org" , "syzbot+a49010a0e8fcdeea075f@syzkaller.appspotmail.com" , Joseph Qi Subject: Re: [PATCH v2] ocfs2: fix use-after-free in ocfs2_fault() when VM_FAULT_RETRY Message-ID: <202604040729.Vs91c7q4-lkp@intel.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi tejas, kernel test robot noticed the following build errors: [auto build test ERROR on brauner-vfs/vfs.all] [also build test ERROR on linus/master v7.0-rc6] [cannot apply to next-20260403] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/tejas-bharambe/ocfs2-fix-use-after-free-in-ocfs2_fault-when-VM_FAULT_RETRY/20260403-161805 base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all patch link: https://lore.kernel.org/r/JH0PR06MB66325344CF84BBC38B2973C38950A%40JH0PR06MB6632.apcprd06.prod.outlook.com patch subject: [PATCH v2] ocfs2: fix use-after-free in ocfs2_fault() when VM_FAULT_RETRY config: x86_64-randconfig-161-20260404 (https://download.01.org/0day-ci/archive/20260404/202604040729.Vs91c7q4-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) smatch: v0.5.0-9004-gb810ac53 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260404/202604040729.Vs91c7q4-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202604040729.Vs91c7q4-lkp@intel.com/ All errors (new ones prefixed by >>): >> fs/ocfs2/mmap.c:41:28: error: use of undeclared identifier 'inode' 41 | trace_ocfs2_fault(OCFS2_I(inode)->ip_blkno, | ^ 1 error generated. vim +/inode +41 fs/ocfs2/mmap.c 29 30 31 static vm_fault_t ocfs2_fault(struct vm_fault *vmf) 32 { 33 struct vm_area_struct *vma = vmf->vma; 34 sigset_t oldset; 35 vm_fault_t ret; 36 37 ocfs2_block_signals(&oldset); 38 ret = filemap_fault(vmf); 39 ocfs2_unblock_signals(&oldset); 40 > 41 trace_ocfs2_fault(OCFS2_I(inode)->ip_blkno, 42 vmf->page, vmf->pgoff); 43 return ret; 44 } 45 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki