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 08AB5355F4B for ; Thu, 26 Feb 2026 17:58:17 +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=1772128697; cv=none; b=siDYub2EVx3gr3I8/RmLSX9fF+XvoPuebT5wZ2NOLzRLiknyxELWImb4CwOnmK00+UQmCzHL9xVXQJoY2AbLuSEVbyyxvOPs3SvUkk0kbB0GEjaMOBW7tSZ0MvriIo2zWU8EEC6ogUJS6OIw4O5vALWCTPO4VDm02PgtsvTtb2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772128697; c=relaxed/simple; bh=gBKFzhItW4ehkbdvK/yGW/X4vtCy6TZ0QlYuxiBiA2s=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=DhlgD6ohjmh9xqBslZXgT+7O1mRY1KKlq65df3s2slnwbdIUk7jzzgonFpomdfVUGURBnbZzjSke5O9vuN/73F6mcEs+fEFetji33FjAojwzbmcMwIlJnhCmcnGg++o4Lk+OSyHN07v5BdzgDWWe+mP5O+URPNhLFfw5TYixJiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LL3/0jI3; 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="LL3/0jI3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC43FC116C6; Thu, 26 Feb 2026 17:58:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772128696; bh=gBKFzhItW4ehkbdvK/yGW/X4vtCy6TZ0QlYuxiBiA2s=; h=Date:From:To:Cc:Subject:From; b=LL3/0jI3jSDW8SiYYdbNeimn5OWDtxjDF6DZqHpyAAnkhMnw+dyuksXsbJAeo/muC hGBw2qeUBMvvorpzSwPVAjZUAI0EONS2Q+FCQgpR9quZxr480LE7q9HLyUKu/cN/FH EO05FvU9FoxQcvQdr1VJv3AnQKj5X8o2CLVIYWEdfcs75PJiR9Ai/FbRhSwpAg/z7F pdq+4QxyPVkqepke2CQyNB/PYAG51h1HWRCMfPQse4iDz3BRaO64DWgwprwcPbpJH/ fpsN5Ras4c2G0C6RXTrg+ME4Gr8lmzS3/YcPAMiQ17GNvk/n6792hGRio5I0/LeG0D /ty+MteCSfBDQ== Date: Thu, 26 Feb 2026 09:58:16 -0800 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Guenter Roeck , "Gustavo A. R. Silva" , Kees Cook , Nathan Chancellor , Richard Weinberger Subject: [GIT PULL] kmalloc_obj fixes for v7.0-rc2 Message-ID: <202602260957.131877D@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 Hi Linus, Please pull these handful of collected kmalloc_obj conversion fixes for v7.0-rc2. Thanks! -Kees The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f: Linux 7.0-rc1 (2026-02-22 13:18:59 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/kmalloc_obj-v7.0-rc2 for you to fetch changes up to 795469820c638b4449f3bb90ee5e98ebccfbc480: kcsan: test: Adjust "expect" allocation type for kmalloc_obj (2026-02-26 09:54:08 -0800) ---------------------------------------------------------------- kmalloc_obj fixes for v7.0-rc2 - Fix pointer-to-array allocation types for ubd and kcsan - Force size overflow helpers to __always_inline - Bump __builtin_counted_by_ref to Clang 22.1 from 22.0 (Nathan Chancellor) ---------------------------------------------------------------- Kees Cook (3): ubd: Use pointer-to-pointers for io_thread_req arrays overflow: Make sure size helpers are always inlined kcsan: test: Adjust "expect" allocation type for kmalloc_obj Nathan Chancellor (1): init/Kconfig: Adjust fixed clang version for __builtin_counted_by_ref init/Kconfig | 2 +- include/linux/overflow.h | 8 ++++---- arch/um/drivers/ubd_kern.c | 10 +++++----- kernel/kcsan/kcsan_test.c | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) -- Kees Cook