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 23AE62DFA2D; Tue, 15 Apr 2025 16:02:40 +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=1744732961; cv=none; b=T0YxyngPvsEVotTr/KX0mHEBxBcHrkAsv/f6sEd18Ckyx6DOq86qSuuaus8BLNQArQSVLPuIjwsBPn8Cjf9m4ZQwWXaGobddONbmaRHyy0QM23fXED2LXDsoqnvF9lGzQT+gzsjDbuSfb1lrLKwqMnAgE3mMALgXUzgcj1mq70o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744732961; c=relaxed/simple; bh=ZUiFuzkEkJsgDH8OLimEcQjm7F2QJjU3ITM2yO8ZFVQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=DsKGPtkbS5IxDKcYDABwGmNrCBaVndoHyY5vIldIGLfg6/UoDtoF62kPz4O6pFptopKWbvFd1WumpMSsQERglSnQ1jFwAarrOIZ1miq/VPB1sJjgVczxSxgX4KfItqZTSACB88fJvgYsSS5BGh72of871sVyAXROXg4x37skXSw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sjwoQVXq; 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="sjwoQVXq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77750C4CEEB; Tue, 15 Apr 2025 16:02:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744732960; bh=ZUiFuzkEkJsgDH8OLimEcQjm7F2QJjU3ITM2yO8ZFVQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sjwoQVXqpu/aJWlGSmsBvDyvlZZW2nLU1AmRZe5iQEsJxfJqwsQBi7DYl0QCkBz9k Q6BVp75JlT783NC03uQCyWrrH36kAJLuFwnsNubZ5VCZlRR1cJ/qaq/mmgWcYKIw5z 4j/vQK15oMdbX4S+l+fRcvnH5CT8q+czmgAUrJ3bRq6XMq8yKB0LqCzUxbtNRjcv0y W92EgmO+G+6d2Qjd+HKnD1HSMDZ2FDqsLzAlGOt1/T6Rp9T8C0e4Rq5fZE6m/QkGTZ +WKj7hB1mNIznxfHVGz52k8GyzqheTKKCc3O5OJ07qUofoiQsCv6S5WNtNkCPuQ+DU VUMUCn3lFu+ZA== From: Kees Cook To: Nathan Chancellor Cc: Kees Cook , Marco Elver , Andrey Konovalov , Andrey Ryabinin , Justin Stitt , linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-hardening@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] lib/Kconfig.ubsan: Remove 'default UBSAN' from UBSAN_INTEGER_WRAP Date: Tue, 15 Apr 2025 09:02:34 -0700 Message-Id: <174473295259.3417974.16266823568790250610.b4-ty@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250414-drop-default-ubsan-integer-wrap-v1-1-392522551d6b@kernel.org> References: <20250414-drop-default-ubsan-integer-wrap-v1-1-392522551d6b@kernel.org> 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="utf-8" Content-Transfer-Encoding: 8bit On Mon, 14 Apr 2025 15:00:59 -0700, Nathan Chancellor wrote: > CONFIG_UBSAN_INTEGER_WRAP is 'default UBSAN', which is problematic for a > couple of reasons. > > The first is that this sanitizer is under active development on the > compiler side to come up with a solution that is maintainable on the > compiler side and usable on the kernel side. As a result of this, there > are many warnings when the sanitizer is enabled that have no clear path > to resolution yet but users may see them and report them in the meantime. > > [...] Applied to for-linus/hardening, thanks! [1/1] lib/Kconfig.ubsan: Remove 'default UBSAN' from UBSAN_INTEGER_WRAP https://git.kernel.org/kees/c/dcf165123e7f Take care, -- Kees Cook