From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D2681126C03; Wed, 11 Feb 2026 14:13:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770819236; cv=none; b=damUAzqcc2qYhpHMm4L2WdBOWY1HmQzO+6bDoSIYj90nPGH14fBpSs0orO60hNqU90gqqghue1ZuHya6JobX6RB2W2Kqo3QMj+P0NDbcclXlnMeWbFqSkr4N2za9WMf4w5UpmVcvgJvJNfTDa13WVMLl+qb9XnaGJsPkZnpv008= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770819236; c=relaxed/simple; bh=kTmR8HlNNdypEC2sQgZd8Hmj4lVNRQD+1rgOJ0XCm9M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cYhjkh/jDxzyWJeQG6EqFjc75obIK594/qW3DqOginmp1W3HSavs8AkBVVFGD1vp+SalpXNrAIOYMcoXet7M3EbRFxpLM8Y0QznxgWS+mbnETxLMv977HuF8E/73hUfMLFv7dqg1sdlu8DXve0J65T5pv8ohAPfkMuMYk3fZFlA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pw2BTBtv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pw2BTBtv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7734FC4CEF7; Wed, 11 Feb 2026 14:13:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770819236; bh=kTmR8HlNNdypEC2sQgZd8Hmj4lVNRQD+1rgOJ0XCm9M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pw2BTBtv9scYBWfC9uofOv7JqG3PX16nhSlPA3Nu82z5WqjDAYyWTCyHsHukkJY/T UMYJQ1WNiL/Od1c+fGA+teYmZnGYrJsYZI+73VTwE+G17hKpKCSSVKDpg9bx76MmXZ Mx0vWRwlvemxvM2vwkT1oNyg2Z8eY35Rm7s4uhljb0visdkSuiIH7dT7clhODH69W+ Sia5s51Go1PrzGGnmktoeMGMg54++Y/bXyGJXb5OUq8TvzOwcf94hUdR1Rh051WavK aMaOJ64ZqYrkFEApgUa/EHMW3ksOh9IDV5G2C8LleQ1wZHvV7SYq/ciM/8EX0KHlfq KG13vuP7myTAQ== Date: Wed, 11 Feb 2026 06:13:55 -0800 From: Kees Cook To: Jann Horn Cc: Al Viro , Christian Brauner , Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] fs: Keep long filenames in isolated slab buckets Message-ID: <202602110613.7FEC92C@keescook> References: <20260211004811.work.981-kees@kernel.org> <202602101736.80F1783@keescook> Precedence: bulk X-Mailing-List: linux-fsdevel@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 Wed, Feb 11, 2026 at 03:06:47AM +0100, Jann Horn wrote: > Actually, looking around a bit, there really aren't that many > allocations with __GFP_RECLAIMABLE, so this probably isn't all that > useful for same-cache attacks. (To be clear: Anything with > __GFP_RECLAIMABLE goes in the special kmalloc-rcl-* slabs.) Looking Ah! Yeah, I looked right past __GFP_RECLAIMABLE. As you say, this will keep it isolated already. -- Kees Cook