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 439982F0C7A for ; Tue, 2 Dec 2025 20:02:09 +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=1764705730; cv=none; b=XWgKpYNsCwNOkJEgoWtX8Pudf+y1TEQBdkkrlFSCNVKtqg+bCNa346FuKV92Zr05nqkhjrDRnwTuQsGYRh/qM6copqGBNYe1Wus2bKJ/lBk1p3HuBDWK0EO5weKoZf+bF27dhA0Iq9Gh12S1Q0DawYpoOdGl6pp50E/kYlog99s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764705730; c=relaxed/simple; bh=XFuLg9lJctH0VKY86m1mjS5P/inr7GUFiw7RuDAWW1c=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=rYd6Fy1dg3SKEaeODk7/pnQSEzOosD3dtNkDVO06V3zbaOzz0OWf/OmoIX06HhgHAK0oR5ykpeauoxMLYTzA++8+lbBKFpv9WLwzhjukSt8EA4IPVf9vWvj6tSRdMsGfZJByJ7jI4xlBPmBkl6EKZmDcPJXBiAy1oAuESREYQp4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UAnwsfuf; 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="UAnwsfuf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A862EC4CEF1; Tue, 2 Dec 2025 20:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764705729; bh=XFuLg9lJctH0VKY86m1mjS5P/inr7GUFiw7RuDAWW1c=; h=Date:From:To:Cc:Subject:From; b=UAnwsfufIwRtL3SKWAZyqUN5XglVLmpeXP6wWLIDnvMC4lLMsliWKWMDWVS0Q0hgj VzmyrmTmNF2lBiVzUfvGNlXl2tgzydYEUqgYRU01lNN5DNruA0713aDB/ebeAS0RSM dnkyb2GLpwaa5R/PPOaadWTEutZwoPkMm9u1HHNczhqdz2Gls+rVLtqvLt40GoWfvD YWetGLAFEb+XaTfwBZ5FlPZrKhqKmvyfdaJZlBB1NcSttMVWGVyHcX6BVVWoQStXdM jegR3tdtaCb0l7VDIUZqGqBKL4ok/NiLWWSQCr4e9GNF1wpkZNJBf6qWYuSVUpr4ai zDoIvG9ZHhylQ== Date: Tue, 2 Dec 2025 12:02:09 -0800 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Andy Shevchenko , Kees Cook , Kriish Sharma , Miguel Ojeda , Nathan Chancellor Subject: [GIT PULL] hardening updates for v6.19-rc1 Message-ID: <202512021158.AE1C9BB38@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 hardening updates for v6.19-rc1. The random driver fixes are to correct some accidentally wrong types used in allocations (that didn't affect the resulting size) that never got picked up from the batch I sent a few months ago. The Makefile change is to enable better GCC diagnostics for the value range tracking, so we can get better visibility into where those values are coming from when we get out-of-bounds warnings at compile time. Thanks! -Kees The following changes since commit 211ddde0823f1442e4ad052a2f30f050145ccada: Linux 6.18-rc2 (2025-10-19 15:19:16 -1000) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v6.19-rc1 for you to fetch changes up to 7454048db27d685a155aaf4ea03bb9ad0d086bb9: kbuild: Enable GCC diagnostic context for value-tracking warnings (2025-11-24 12:44:05 -0800) ---------------------------------------------------------------- hardening updates for v6.19-rc1 - string: Add missing kernel-doc return descriptions (Kriish Sharma) - Update some mis-typed allocations - Enable GCC diagnostic context for value-tracking warnings ---------------------------------------------------------------- Kees Cook (4): comedi: Adjust range_table_list allocation type drm/plane: Remove const qualifier from plane->modifiers allocation type media: iris: Cast iris_hfi_gen2_get_instance() allocation type kbuild: Enable GCC diagnostic context for value-tracking warnings Kriish Sharma (1): string: Add missing kernel-doc return descriptions Makefile | 3 +++ include/linux/string.h | 7 +++++++ drivers/comedi/drivers/ni_670x.c | 2 +- drivers/gpu/drm/drm_plane.c | 2 +- drivers/media/platform/qcom/iris/iris_hfi_gen2_command.c | 2 +- 5 files changed, 13 insertions(+), 3 deletions(-) -- Kees Cook