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: 201811 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp163318dyb; Thu, 15 Feb 2024 14:39:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWxC7HYYPwJMcB1SY7V3ISt2hEd9DeiXNQQrqQGrLY/A9Bem300zAbOwjUBlHbpv0TSHB57PrCikmVoCyOQvBB/7lls5Q== X-Google-Smtp-Source: AGHT+IH3tYgDSYLQsA0+vJSWOItrV25VB/wYMTLyul1sinbYRGsUqSZj6rTmifXIDwdGvhCO05vC X-Received: by 2002:a05:6a20:3ba1:b0:19e:9c5f:ff04 with SMTP id b33-20020a056a203ba100b0019e9c5fff04mr3049742pzh.20.1708036740660; Thu, 15 Feb 2024 14:39:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708036740; cv=pass; d=google.com; s=arc-20160816; b=Wja9MHe+eAEfEZgjMwXOPAEIC3ei9/SSbi0I8B2V4T62nVViEWuUP8KvFEKTN6ApED PJaSAniwePq8hY6u6h0MAgbBUmeZDULDib3ULTSXWMjlw5IFb0NK8I7dzX6Hi0I0t9Gw bFWxmAxzNgfsM6ZebKtyB+vz0EevwLGS4el4T00Wp1r5SI+PYZ7F1IMp41EB5ZQvhm+H pApVrxKP4faiyCtVBnI8ObyAW0bkjFlkpBVdY3t4j+eFkMfeiNIq6jNY315/DAXHwFEm IxVv7MUh9AzJkg/Fql73L1KED9MldtHR4MQnUd5c9KyRX7vcyTtB4HolFHS6EW06aClb CC4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:subject:cc:to :from:message-id:date:dkim-signature; bh=c6kwSQjWLSvkCQdCfgG1xvDgzx+947B7zGFnqfTvyPk=; fh=/GTqdKEFw3Cm61c0/zVlsnwntnoIftMhRjfmwkZrZdk=; b=KCPX2myCwnV+vuejGR3CddR1Qqf7snMYYV3s3QIoyulxD3UYKbm7xMFeNerbDcJDMH VP8zJy+dKQqRP1XEntyJQ60YrUqRU5oUR8b6H2oRQ1/AoGbKk8IrlvQmH5W+R+hidyRI nzeDPrUwsrTE5pSr79XaNGbECQ/8M/i3ZX4eZLYTYQ12XYn5IMt3yX0hEeFoUIkMPeHf soPmdC0kWzw5nftnMMR/eqMWYC5C1XLDYADeehqwBvV/KIzCup3MT0aVTw+n5NS46GOZ T3DQIrl/4KcS7iwmRXmNkEUZMwu14eM5qQL3D/HeHfApirlmGtn96SFTF3n+w37b5WyB Lpmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=P4o2+uCT; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-kernel+bounces-67772-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67772-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c16-20020a6566d0000000b005dc3e746573si1748447pgw.826.2024.02.15.14.39.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 14:39:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67772-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=P4o2+uCT; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-kernel+bounces-67772-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67772-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D92A8B25B70 for ; Thu, 15 Feb 2024 22:20:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 661B51420D1; Thu, 15 Feb 2024 22:19:48 +0000 (UTC) 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: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) (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 8A0D313AA23 for ; Thu, 15 Feb 2024 22:19:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708035585; cv=none; b=ONjJLQtsEEoS6aJgvtOd/SIAj4wKnJzOHHxKB1zxC5GQp8pSTvFdYjvrckVkAUkqlOJIv3mm+lA7dV5d6K8tbwIH+BPyTZ0scPST0GraUHRPfjLeuAkLoNkiB8lBPKW0FgEgFnZY5E+2baDhgjQO88SDIAA0VkGL8zppi+6mOwI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708035585; c=relaxed/simple; bh=t5lzTA0nIItmopI9Umsmp0Fv7pl2DXGoHCaMJc+PE60=; h=Date:Message-ID:From:To:Cc:Subject; b=D7x8cObor7WXXem60JDSJuoJFGiHUntANKpGmM6L4FTsDVbY1qVb3Ist/f5X4ZiLBwNGeg+6f7ut0514xsqUSvHcNIeDl2BmiT4qfyeg2hFLTWwqbbYOocMjKiIRuWumvkgW/bTi8KaplAQuvxUjk+pL+YuwTqOhsi0Szyjlu24= 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.171 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 Received: by mail-qt1-f171.google.com with SMTP id d75a77b69052e-42c705e8e4bso8192031cf.0 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=xUkrwBqAxBl9/2MWkL7TIrij5zfCv5WX+fsvVn/yckhCXCLD5iuSMZ/7LyDDxYd+7M y239OSO/6A24kH/NSZEPlla4OZ6DvlDeFiLkXBTaz0Tg8CzqdTdVNxdvcLTvd8f1hBox zEz2H7xRK0obzp936GAy260zZoXCmaCdddERS8sokPX2cRdyNkRsHg5XRFPxOE0pHn/R JndUoXB0KyP08VZMBD89Im1/T4uRfcTOGeQ+qHuBRegcIN7+L7gly1H7yNgwd8t7NLsi T9i3+hyTlIGzhIP01I1Xgn/ZuU5cL3iK7CqgBQTaLIid01UKEFBtmAVy7h6XuAa87PZX HNmg== X-Forwarded-Encrypted: i=1; AJvYcCUv237NHau/5KP9LcQhUyUEO7AlXlyZ2U6TYDSyblGILnBLxIEZPYtXVoD57NPBj2IIWeFDTF3OnLx2ijDxznBiGZuAmmAmTSGAY65m X-Gm-Message-State: AOJu0YwvMXrGJIAtBUpioYl+Awi/re1HkS1fZYLcWvmZZhwxDM75sKl7 wn/TRUxpCSbdE8skIbqw9oVlUH7/iZ+cUO4Y4KGCAmDWgNDhdv58Z0cL80wdunMrdRp2zkQGZ1E = 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791006333436054413 X-GMAIL-MSGID: 1791006333436054413 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