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 2D84D231A21 for ; Sat, 21 Feb 2026 22:37:46 +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=1771713467; cv=none; b=hsaCk9tQ3IzSZWFZr7VPkaJAqHhWdAoR0xYYd/TXbxZcOqpjDNhNYhjTTyiXj3EfjFe74oDbg3VF5jzfggyZT1URr0em0w8p3DAH8DZ1FaUokRNYLoskQvEswZo1ZkqjRoV3yjxdkbSTpQc9GA1w8CC0AEphE1/STSKnWQhuq2c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771713467; c=relaxed/simple; bh=WhlOmnakcH0pjqoq3E74UeXBxSVcEo7wcs9KHXAZGL4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Sz2UCFqGE3b60D029nUfkikJlz7rdUU6SMKmbNJL5YwdjfqPmGLwNOWJUk/tpvKI2t68OcSI9DZwcmKyo+WD8F+uEqeCdDPQRW5U+DKHMdSwOC9TXdWG8du8yfQO7ZAvxdIAErdiGsW8XywTJ93oN7tTrPBB41XQ8OSTXkWeF7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GBK+nqFd; 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="GBK+nqFd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1BA8C4CEF7; Sat, 21 Feb 2026 22:37:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771713466; bh=WhlOmnakcH0pjqoq3E74UeXBxSVcEo7wcs9KHXAZGL4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GBK+nqFdjgvM/e+MZvfmJ0lLuGCWoof3xJLBnGEjgIGQ2LefeyrDC6xFLOqU1QGpv lSadNb7bPQv8biBAeqiiy4PpAsaO424k12saZce3sRPKYsACbdjpeByQFAx2eol9u9 Dp85mxFWjbK6Uvz9VEyn3Fz4TNTj/fuDWaEnF/61OPcxPkRof2RppBx/LJrpuPgl/F AxUL2nJ2A2O5yescp5giK6Se1bO2mRzvP61Js3fWDdTmwvjNMkp11zdnfB1iumvXUY 04L2cTRZLL2HNbUs0JVBanEqODotfgbV71rFfDqeUSIvsp/CMoM6xiILCOcyT3q4fd a/+x//0qMllaQ== Date: Sat, 21 Feb 2026 14:37:46 -0800 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] kmalloc_obj treewide refactor for v7.0-rc1 Message-ID: <202602211435.92647C06@keescook> References: <202602210108.0EABDA1CDD@keescook> 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 Sat, Feb 21, 2026 at 12:16:57PM -0800, Linus Torvalds wrote: > On Sat, 21 Feb 2026 at 11:49, Linus Torvalds > wrote: > > > > So I've pulled this [..] > > Uhhuh. Something funky is going on. > > On my local build with clang and my local machine configuration, with > this pull I get Which Clang version? > So there's something going on with this conversion, or there's another > clang bug lurking. > > I'm not sure this is a fatal issue, but it makes me *very* nervous. I'll see if I can reproduce this, but based on the last problem, I'm going to assume it's the __builtin_counted_by_ref stuff again, as that's the only "special" in in the kmalloc_flex() stuff... -- Kees Cook