Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp89384rbb; Fri, 23 Feb 2024 12:49:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXRtKUqJjKBmnbzulkbEH7HeP0Gv0U33P0daqZY8yhViUNv4X13TcxBBrFKv/M51G4LCHDtbfNVBnGjLRxCT+ioa7MCJqNitg1iwAbtlg== X-Google-Smtp-Source: AGHT+IEpRJwxkHaDYi5TCw3wtgb31dgYUZF6O3yKG4Jb4mjbSUbXjSD8xTnyK4MB0ZTog6RTUc7p X-Received: by 2002:a05:620a:f88:b0:787:a9af:d6b8 with SMTP id b8-20020a05620a0f8800b00787a9afd6b8mr1452881qkn.8.1708721356743; Fri, 23 Feb 2024 12:49:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708721356; cv=pass; d=google.com; s=arc-20160816; b=Uq1KhYZs71XEcHB1TziOKfhOmkZvX7TRtpgGpX02aqCfxE4804Ufy1pWv2gnxWW+qv gK2o/+7+zadwtHwlDNgkRSgHqVhqpomgShda5Uh9+50ms5Tj2gwE9KfiAxjnRZr6EcZd jNBe/xgzqpeUqY53AKA4T2C5ipbNYlQU8MtHyqKqKtlLEYAaJl0/3S2Qf1KqWIrHcTMU MYJtNSt0sSi6NJQD57WOYTh8KSZDA31hOne8NmtCNeloknIvZkp1stYldfKcm3QSsbXt RHHG+EqIO4NU37Coxw4iJAxMXNdX2UuLFNNn2gylRZLqKPWqAfjXjlg1R6vH2/G2LDo1 xOIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=XrIweBt1xAeTI+DcqMD36fsii+srzNHP7jHLCDfCPsk=; fh=zzIs/JJsQhkLmPiruKYvMi3+fZOx2ORNyV29BLMVbbE=; b=eamDkhJKYTPyoz/dAMgAQFMpcKIAH3uOMzyJAezASf2/3g+xNSnQe9N2DX1SYVkOFT NB53/ymQLw057iDXBdq7BpfSoXlkn/IeG6pYXVTHGYVGW4mmSV3thgXnhzrVTndXYMxH 63yN8oHgZX/14PzhgcVMHQ68mWYh8Z9qKHzfBvgkG+OGk4cPhmL/3cZNEdbmQXMi5Izz cuIuH6lohOc7145+0WYBZYIyPiytbkBuiAEO4aRHRVqdnLUeYrN28vioYfM7+oxHZl5l FnLlo8MOW6ts2TBiM6vk8HTGDdEKbsncmNhSaACKbllkrrhDh9zadKz833Sh0XgUH5FJ 2+Iw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=bLBv3fYJ; 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-79142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79142-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p17-20020a05620a113100b00787428d0ddcsi15772596qkk.99.2024.02.23.12.49.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 12:49:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=bLBv3fYJ; 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-79142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79142-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 64E281C25177 for ; Fri, 23 Feb 2024 20:49:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91B4B14D431; Fri, 23 Feb 2024 20:48:14 +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="bLBv3fYJ" Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) (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 1D1BE1448FD for ; Fri, 23 Feb 2024 20:48:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708721293; cv=none; b=dg1+Igl6qPaSmlNO6CjXbMJasaWnnUI8EqGkYR9ldcDoJI5eEJyPY5Cj5FfJr4TapBJlNL1YvCGTZr8UJ5ArDyzJ7KWRnaWkb/Q0wfEwsp+Ynmi/31mMjn8SbPv4zAcQeAqshMWNS7hkMNWfS9Y+Nch7mxuduIeYQ5c3I7E1upE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708721293; c=relaxed/simple; bh=XrIweBt1xAeTI+DcqMD36fsii+srzNHP7jHLCDfCPsk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=reTmpSjCRzY/VqTg0pOhMx10d1Yj5el0OtgzSckFgG3Gk1a1MUhn35TD5EqQ3/81ksk8SN58HjH+IczUgM+aN5swED530SFGD4fl0b4OWQ7UjaBzkI+cWFPG3S6BmRkSBRpXrhKT2wG05GwfNbGhT0KrXFImBumEePEbZ4rJs3M= 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=bLBv3fYJ; arc=none smtp.client-ip=209.85.128.179 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-yw1-f179.google.com with SMTP id 00721157ae682-6087396e405so6789847b3.0 for ; Fri, 23 Feb 2024 12:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1708721290; x=1709326090; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XrIweBt1xAeTI+DcqMD36fsii+srzNHP7jHLCDfCPsk=; b=bLBv3fYJELOZ6nfGWoobO0anvO1jTjRBdTd2oTf/gIyOGKQst9Uq42SlO1Wu5izh8w 5EazRfsfXx9H0Owe+vMv4NEDOMfS5SLY8Qik6ulvw4UyoYqGsJbnBcrzXVfH6ixuSAk3 bhdbjzSt6P7jDIvPggMXzq9RFeD2i1ROAOmcZhTU0YZM8AqD80EO8M99nUzDdUsqJd1e RIAFE9CBKWelkK+Y9m+O19AOaqzdYzVyd0o+/u5aFKwnOpSCERJddy/pmhfLO0B8214t mEs2lyznZZZxzNf6CZq5X1XZzK1USZCCcVtQaJ7LRc0xS/RNAbn8KC0o5PXKStetuwR7 Xf/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708721290; x=1709326090; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XrIweBt1xAeTI+DcqMD36fsii+srzNHP7jHLCDfCPsk=; b=JoVhD1rjJHfcQoyxgqlylqKujPBLAT5KCuYxyMxaaxUUCiDlhtosxtsa464YNsMxYc We3xfcqk/iEhOa8JSHqniV9XjoM3TryyRnrYZ/ax+WRmZASG8guQCCfzeQmHP32drBxB EKy8PbUgC6WBxHTa+hGu7TNbTS84bxs9TvNbbN+I59ZVqR3FpXPYbZgLCvfiT1rLLeJB a4oEa/WuQQ5ER/ixCJxPa7QWFCgcwpI7/EpSagtEdJXphrvxTNjSP0qj3Fe6mM/NqnBp HY7wAdybwoOxYDACOCSGVq3rec0l63p/xA3O5i18ou2jCbVJGcfu7OnaR6yhQtuhrMXT 2hWg== X-Forwarded-Encrypted: i=1; AJvYcCXWSOOyNaEOVf+H53lpTmlhthu1m2qyOu1P+RYgaAIxa747NueIEfICLUvX3teMFkcuzy9FdwwM8/CdD9DBQlX2YrtUY9PujfrZ7s2g X-Gm-Message-State: AOJu0YzJ8nJovZrWPnSwnMn9mIP9TXMoWMdcZscRQodM9hfylVcmPWdi PpiEn+CSvilzFKbYRPcInq0UE+2ihSC6hdWyHhpaqW20bVA1UtO4C5/jJ3m1EObHogQ2qvZoAKC OV3iz6kxUKmxT3MVmtofaTmAt1Ey3rfC5VhV5 X-Received: by 2002:a25:6642:0:b0:dc2:4fff:75ee with SMTP id z2-20020a256642000000b00dc24fff75eemr837275ybm.3.1708721290133; Fri, 23 Feb 2024 12:48:10 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240223190546.3329966-1-mic@digikod.net> <20240223.iph9eew7pooX@digikod.net> In-Reply-To: <20240223.iph9eew7pooX@digikod.net> From: Paul Moore Date: Fri, 23 Feb 2024 15:47:59 -0500 Message-ID: Subject: Re: [PATCH 1/2] SELinux: Fix lsm_get_self_attr() To: =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= Cc: Casey Schaufler , John Johansen , James Morris , "Serge E . Hallyn" , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Feb 23, 2024 at 2:17=E2=80=AFPM Micka=C3=ABl Sala=C3=BCn wrote: > These bugs have been found with syzkaller. I just sent a PR to add > support for the new LSM syscalls: > https://github.com/google/syzkaller/pull/4524 Thanks :) --=20 paul-moore.com