From patchwork Thu Feb 15 22:19:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Moore X-Patchwork-Id: 13559219 X-Patchwork-Delegate: paul@paul-moore.com Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96DE113DBA4 for ; Thu, 15 Feb 2024 22:19:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708035584; cv=none; b=cP9LC4rkRaTuxwblZ4YFeGRwt4MjV6J39YIhDXITYiYDR49NCVQ2SmUfW3lzGkIMBpA2UWWXNg2Zvkym7847DI/scxrNSpNacC2n8qPj0rjY2nDYQ/xkAiBeKKHepm0jRRDKPFyr49TeR05/HHDbAF1s12wSZacNZfYKKmOpGuI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708035584; c=relaxed/simple; bh=t5lzTA0nIItmopI9Umsmp0Fv7pl2DXGoHCaMJc+PE60=; h=Date:Message-ID:From:To:Cc:Subject; b=Yf41IRYsgCFUWmriKiYvPnzVyf8zWOXtCWfCYDFaI035gU0ohLbM2YoGRx6UKzHMDeBhY/0drCw8r7aEUqf2Ibckl9WRx1pWdj9rH+He1tWxjCKD5YrUwqXlK7jf9W3UioHJMQU/kMHv9yJWUQjzf2m2WMRtR2QVC+eYybvp8m8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com; spf=pass smtp.mailfrom=paul-moore.com; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b=P4o2+uCT; arc=none smtp.client-ip=209.85.160.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b="P4o2+uCT" Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-42c7ccf7415so5646891cf.2 for ; Thu, 15 Feb 2024 14:19:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1708035581; x=1708640381; darn=vger.kernel.org; h=subject:cc:to:from:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=c6kwSQjWLSvkCQdCfgG1xvDgzx+947B7zGFnqfTvyPk=; b=P4o2+uCT7A7qsxALg3e+CTOh73/v6zuCRZRj+QIInUx7Y9Nd9U0dy7xl+fZdsqmObs MPwDcM6a4LRVQXvoyT2cXshdh2EyQ7I7R8mabQdyzXOn41LjcPPOFTdz6Ga7wK2J7ayI E7Cz4jF97QdIiL0h5iBPIysUJkC661WWtqBChxoJzi7iLc4+tI18FhJPuxijgblRQZBy M6KJAHso7wJ8/qwwmeXk+OCpWsDOIL9uC9LoPGaZ9yajFFnrrvO/gLJKDVORaRJa9eES 5mcaaHVk3q0Rtt3Rkx3U1W4EuXak4IRUvhJgJR0f5QOyJlgA4Q9R+hIevUV4XN66WyAZ RgUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708035581; x=1708640381; h=subject:cc:to:from:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c6kwSQjWLSvkCQdCfgG1xvDgzx+947B7zGFnqfTvyPk=; b=WWULzS7VDjHvSmXoB9Iore1siBrAqcXfs2Tf1KBdYSjjtNNzBdnsERpN+NDM4ooKrF vHUco4YEMuygiVevGF+giL78USIcU8hYCYzB0SMgGhOP6NxOz97qnNzgxXacglmRnrbX HCp1OxhsmuiV7jjR4x3Ui4icLz0Ec/dwh1hvtuCIha2RWpitq9qej56H1p9csXYulWOR 346j4KjLxYpKkYafSBE/9Yc/0RNltfFxI00fRQRhFr1qafSKIStQ1UxXNWW/7x4AjJIq 2zi+LhA/F6KWVRoOG5lFCD9DDjfPElGKjm3WtJ7MD1SGrCq52N1hAheXYT46ElS32IlP GPmw== X-Gm-Message-State: AOJu0Yy0Wa3hTEApPWUNOdBfm06sx5tdLZb1Ca89mTkV5OUYptaETbqg /bOhVK8s2DA8iC68OkohQiBo0dThW98TbRKYfCgrLCGfyD9M9cNRnO5uH1S+6w== X-Google-Smtp-Source: AGHT+IEL5fVRQ5OTvPJwk93Gadl7MJ2rvpIOBR+XfkVlQDRRNw1Rlb0K/iyrEbEf7AXLbBC8i3l+Ew== X-Received: by 2002:a0c:ca82:0:b0:68f:801:d8d5 with SMTP id a2-20020a0cca82000000b0068f0801d8d5mr3403043qvk.8.1708035581390; Thu, 15 Feb 2024 14:19:41 -0800 (PST) Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id mu15-20020a056214328f00b0068c9d0561d1sm1087563qvb.83.2024.02.15.14.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 14:19:41 -0800 (PST) Date: Thu, 15 Feb 2024 17:19:40 -0500 Message-ID: <6fcbf9b8e83e76678a0f520bfbbd6bcf@paul-moore.com> From: Paul Moore To: Linus Torvalds Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] lsm/lsm-pr-20240215 Precedence: bulk X-Mailing-List: linux-security-module@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Hi Linus, One small LSM patch to fix a potential integer overflow in the newly added lsm_set_self_attr() syscall. Please merge. Thanks, -Paul --- The following changes since commit 5a287d3d2b9de2b3e747132c615599907ba5c3c1: lsm: fix default return value of the socket_getpeersec_*() hooks (2024-01-30 17:01:54 -0500) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git tags/lsm-pr-20240215 for you to fetch changes up to d8bdd795d383a23e38ac48a40d3d223caf47b290: lsm: fix integer overflow in lsm_set_self_attr() syscall (2024-02-14 13:53:15 -0500) ---------------------------------------------------------------- lsm/stable-6.8 PR 20240215 ---------------------------------------------------------------- Jann Horn (1): lsm: fix integer overflow in lsm_set_self_attr() syscall security/security.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- paul-moore.com