From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) (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 E5DC237BE9F for ; Mon, 1 Jun 2026 12:44:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.178.238 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780317846; cv=none; b=a8OrC4PPS27VD7Xp4SMQaQ10mBy/6Zy/69LkdYOLP0DwOS8bZv3WdN9aNawRzQPgHXejgIHgqBb7YD4WSJA62Do7g4J8dhwAZOeO3rmQGLIXx5gb3cwvX1trx/IDUlHtrL+7tEtK8WodvNOzAMmZtmXi9FzTSXi6M4rJkHdMBV0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780317846; c=relaxed/simple; bh=NDFMcgTqTVItYatJ+m+xcPx8E83lnJEth5O7pDlUh5E=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Yb72bagOjgIfTnh5X3l3iSeSbI1tgV4ljpcX8O09uXM07g6YFL7+aUlZNUGWKpr6D9TaSmxgQIzLYWhDLzyO3YiehfgsmEy0pEHvegCapHENcy9bIza/SxgP2rBQ8eY2hR5Vi05PT9We5s3MZ8JkNk9f1ScoCnhzPnvzpKKv1Lg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=windriver.com; spf=pass smtp.mailfrom=windriver.com; dkim=pass (2048-bit key) header.d=windriver.com header.i=@windriver.com header.b=Os0z+Eub; arc=none smtp.client-ip=205.220.178.238 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=windriver.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=windriver.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=windriver.com header.i=@windriver.com header.b="Os0z+Eub" Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6519w92H2932822; Mon, 1 Jun 2026 12:43:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= PPS06212021; bh=NDFMcgTqTVItYatJ+m+xcPx8E83lnJEth5O7pDlUh5E=; b= Os0z+EubuWsoLk0trDWUahoEq8FkVvPNdIyAHYJnQVDMrgk+kKtE4l0OJXMQUY4M Xz5+aMqikeXVcs27L2cJiwMIhVVPzUgUNtK8L8vymKsNwdzder+iqtOEs3mt62EQ d1gzOaUXJ67qUl9gq9EoFXFoKECc2TmC2dMksEkaeak5TlYDn7+CA/wOo8iD/q2E VdXnCjJfPInzOPJsEcKeP43IQRPbwAxLS5lb8X4p1vrCbYvxajDaL0I0O5hbMKOA EoalI3t7GTeqYpbo1g16cV51HUEBSOpjRqWx6fi52WU1kW2irHlLdLOyXiWQVDVx 9DN4ZXW+bZCeh2zkq1owKg== Received: from ala-exchng02.corp.ad.wrs.com (ala-exchng02.wrs.com [128.224.246.37]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4efpv8ayn5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 01 Jun 2026 12:43:33 +0000 (GMT) Received: from ALA-EXCHNG02.corp.ad.wrs.com (10.11.224.122) by ALA-EXCHNG02.corp.ad.wrs.com (10.11.224.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.61; Mon, 1 Jun 2026 05:43:32 -0700 Received: from pek-yzhou-d3.wrs.com (10.11.232.110) by ALA-EXCHNG02.corp.ad.wrs.com (10.11.224.122) with Microsoft SMTP Server id 15.1.2507.61 via Frontend Transport; Mon, 1 Jun 2026 05:43:31 -0700 From: Yun Zhou To: CC: , , , Subject: Re: [PATCH] jfs: validate l2nbperpage in diMount to prevent shift-out-of-bounds Date: Mon, 1 Jun 2026 20:43:30 +0800 Message-ID: <20260601124330.3095626-1-yun.zhou@windriver.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260418131012.1039172-1-tristmd@gmail.com> References: <20260418131012.1039172-1-tristmd@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjAxMDEyNyBTYWx0ZWRfXxmB2i5TQbWVU rayNTR1NTyGN976ewj8w7Z9TuQ5ZmCzRwRZ6EVPqP0remCouu3h1UN617VdSDKftZx2rJssqOJo FCXXhT8Cxg8ydqhoJ/gKkagk7NVkY4/uEJxuCrcpqSALfhaMpoTTYAkAqnY5fgDLocQnzYHNP7s 9Y93lGmd8nZzYizxzbA9g9X+MSwWCFW6OfvmyDbEaV46PtyYyh83xeVDQBEbRRlRWD2fwQmZomg IUmLaTicmI/ngkTXVwcL/xw8J28CRMhTldGiEqBW9WnrqIuXoWLv9BPNLjkVOy97p/JRbsAsUd8 R7b3SavViLY0kVSbtHYbsipXBav2LhopbpNCtpgBoXouMvr9zYFomJ3B+nMgNvoFCVvTDTdAIu2 Yg6djj9A71ZaC7a/1HTbP8tRXqvtKiKXgsIR1JNJtjlNsSZ9sjPNbtFfN5+gYlfUkt/1dIdWaPA DBYWimlcjMqUbzm+epg== X-Authority-Analysis: v=2.4 cv=Opt/DS/t c=1 sm=1 tr=0 ts=6a1d7e75 cx=c_pps a=Lg6ja3A245NiLSnFpY5YKQ==:117 a=Lg6ja3A245NiLSnFpY5YKQ==:17 a=FelO9ux0wxsA:10 a=VkNPw1HP01LnGYTKEx00:22 a=bi6dqmuHe4P4UrxVR6um:22 a=fTW__CHxibyLmBMfj2wP:22 a=pGLkceISAAAA:8 a=t7CeM3EgAAAA:8 a=5AA7LlqFboScnJr0mU4A:9 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: hxKbW_4I-vS98HbHEKScaSApQ7y9PcbB X-Proofpoint-ORIG-GUID: hxKbW_4I-vS98HbHEKScaSApQ7y9PcbB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-01_03,2026-05-28_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 clxscore=1011 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2606010127 On Fri, Apr 18, 2026, Tristan Madani wrote: > Add validation of l2nbperpage against reasonable bounds before using it > in arithmetic operations. The fix looks correct to me. Minor nit: the subject and commit message say "l2nbperpage" but the actual field being validated is "im_l2nbperiext" (and im_nbperiext). Could you respin with the corrected naming? Reviewed-by: Yun Zhou