From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 66F7B423A85 for ; Wed, 3 Jun 2026 09:42:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780479745; cv=none; b=r+sUkK1/7dpwbSJAvyahl9wD1fiHLX1VlZF2huc+JZo824n6AtiWp2wfJCPMJLM6CTTDupkZ2F3le6yEMoq7zhU2A0/2pXA4BqSOcNZIr50OjrgIOK1MNa0WQdwl8KfMySSgVFuFOBDWwQAxizsL9169eAtRNPh0pCWHRYkPizI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780479745; c=relaxed/simple; bh=FoREvyDOk6vrpXisJB5b46mzFPhGv4BXyP5ttXjU7B4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BRVCeebsc4Rz9pT7WJrVkLicMe2gfzgI0M8fnVLDSllqdMUX9NXbCar5nWiPvXB7tRrC9giBHB3hrzRRn2YQoucx4ILlR3QYL/lrok/pw6LQlX8u7K6nH/cBnxGwswkUKX3pJf3u/vTUhqZQFcf9LlrOYWL90Oy2V+9dlmhc3YI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fXcVOwdD; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fXcVOwdD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D41D1F00893; Wed, 3 Jun 2026 09:42:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780479742; bh=FoREvyDOk6vrpXisJB5b46mzFPhGv4BXyP5ttXjU7B4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=fXcVOwdDp62maIsBSWn3OaoD/wly6yOpV0Kll/jT60KBPRG+CmGkoSWKbDd9ndqGL 9IgBjLxYPcpOStOADgAZEekzbkGpA3FzCiyBBb0JKeHhw5WTQ4sKy0uM8VjlxwSUwj 8Y1wXf65UR1QtP47XjK1NizvI6hRHRrx9qATN18+s5ajmwx5+TL7kaW+chn2/bvjUA ym5Hzi4VfnPzbu0qUyUhmly19dreGFOeF1qi0XMzzPCBbIDAiUhvEn1qmZFgzYXzzv gfsbrhA0V9HKHAZirI7FZQ9mdTqhN+/foxm5fYzaqiT7c4fpgsK4hHMx10s7Psdas+ cv0ZkHkMw9dDQ== Date: Wed, 3 Jun 2026 10:42:16 +0100 From: Keith Busch To: liuxixin Cc: linux-nvme@lists.infradead.org, axboe@kernel.dk, hch@lst.de, sagi@grimberg.me, nj.shetty@samsung.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 1/1] nvme: validate FDP configuration descriptor sizes Message-ID: References: <20260527133205.GA12042@lst.de> 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: On Tue, Jun 02, 2026 at 10:00:01PM +0800, liuxixin wrote: > Validate descriptor sizes while walking the FDP configurations log so > dsze == 0 or a descriptor past the log end cannot cause unbounded > iteration or reads past the buffer. Thanks, applied to nvme-7.2.