Message ID | 9fd4ffcb-3f88-4c4c-b580-86895396e933@canonical.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-30641-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp693621dyb; Thu, 18 Jan 2024 15:52:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0J9K1WEc6EnoeyQQrIq5xh7eEHGuWKeWIsO0lwn/S/F+JlN0L43xY1qrHN1lztZiC6GKm X-Received: by 2002:a05:6871:329b:b0:210:df58:38db with SMTP id mp27-20020a056871329b00b00210df5838dbmr103972oac.67.1705621963985; Thu, 18 Jan 2024 15:52:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705621963; cv=pass; d=google.com; s=arc-20160816; b=BEkEXzb3+3+89fZ+jgDILoyGJTlGCb9XcdSwK3rg14BAcCmzTulkCqCE9kSGWTt6Wm zxEDSqpEGOma7lqXK/yjuCiiTSD4hTNYnoPkNoGzbXnWLR67xD/FemKIYX5F19Zq3vKL 3a5mq9Teue7gsDkojzJ4inIidog3DCEAguFIsMNKuWrEDGnBQ4bLuKdCtW9Y1jf0xFNC pbKh3UY1pkbL6X0U6tzFJfeLY8HBwC9IIOJAgA4GAq3PFNoePQPUyzvAbxNqZamNRSms eNX+LmvHKZT1B97wiOKt7DtJ3X+YCN8Qtz9jL/KUFbo66dsGmPjMWqe/latq/oinIBfd cAyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:organization:autocrypt:content-language :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=eG7DznVqyLsKmJ1D8OEmMt/Nkq0A9HA7Gw76/3J1s0g=; fh=YOjN7xfy5lIOs/wek/SBTJgHUiPN29fWO4r9aCwO8Vo=; b=sc4vz2iVcb9j5y83V7afWWH21V+p2XFHMIF5NbvUUlH2FHeKn2SlBWzOTf6qoUxufm nV/BLfOMLaMgpfxFsFP/I5BexJaow1DKmZ/JLWSaUOfFJ2NT5f6t381/HZytFeSAQxwg EGC/vtPxS/u8cMNA2g+7jiYLyCuIreORXT1HKRhAoxaXVIN4GbIuRFlaWzjjG0BTGZRX 7iaH5KuDZALxhEBsU+c6OotzvHw6xLyNx0WsSJElASLSl/24t0+ZonvegZUEQb/pbLcp +fTsqHK4x4qIe99lXoT6LvxkrvZG2t3uM+cTt+EE0/moSoILnAY4j3BJLo1iI23Th9u2 P5Fw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Tr2hSSgB; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-30641-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30641-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id g5-20020a636b05000000b005c6977f9c0dsi2191241pgc.214.2024.01.18.15.52.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 15:52:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30641-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Tr2hSSgB; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-30641-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30641-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.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 02192B22FFC for <ouuuleilei@gmail.com>; Thu, 18 Jan 2024 23:52:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CADCE28DA1; Thu, 18 Jan 2024 23:52:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="Tr2hSSgB" Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) (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 8853D1EA66; Thu, 18 Jan 2024 23:52:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.121 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705621944; cv=none; b=n2K93M4mf3mZBdnthJ+gjT3OZUJgLiucSKHsW/rio1LeaHziNUBuVg5noirSp9cxiHi6NYPf2MmyRTXzM5hqPjX1+TuqUzmbpHyhixkG50LmmoCijyev96C3NJR6VSg4OCj1F0mifXYZEwnyhK62wzFnTDbpo1kILsU7Jp2DcqI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705621944; c=relaxed/simple; bh=5Y49qao2TEBYAh3zbMzGnVU3z2Sn+Hk/yl0ojczX4nc=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:Content-Type; b=fYbrlixegMw2nG2XHvvSb6lOAnFq7lKfCyNQHyabKRrkayf08w+XZ14FuVcPVih8M7pAX4y478Z3DJg4KQs2V7ctpaBsD8vNs2BJD1JyGRVAUeQpVxBGxQBmjML9tOAcQ4Ghio/9u33t3ZcW3nffmfmjet5IaWzEzeP/9Nc60kA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=Tr2hSSgB; arc=none smtp.client-ip=185.125.188.121 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Received: from [192.168.192.85] (unknown [50.39.103.33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 13DC44025B; Thu, 18 Jan 2024 23:52:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1705621933; bh=eG7DznVqyLsKmJ1D8OEmMt/Nkq0A9HA7Gw76/3J1s0g=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:Content-Type; b=Tr2hSSgBRd4hD6N14xAY4OfELMPYusV1I1ZHGqFxfnbqQ+C/l86HygiGpy5h+ngqT hDb9LnGAUki12eYI1pXQIXu4GQaZN5o2Y7tcPDi+gV0W32Jlo9LfYdWtb6bTvAYgJH S9PY4CxHgQ7FJX+M7up6ZVfGqSbXhqpadnp6su+Kua7X5RcC1ChQ8PoUQZ6C8mEIBj oWh8MET0dm2+5W4X+D594VKWvTSsV93AhJkHW4bHDquTdhSbQzojIcxWflww4PCMDD LBQlgea7OUPpjSB+MCEAShMT5Idx5u9kAYpIjrSP5c72wEy4AMrYXta8UHQvB8r8QI qJPAW9D3MFJUw== Message-ID: <9fd4ffcb-3f88-4c4c-b580-86895396e933@canonical.com> Date: Thu, 18 Jan 2024 15:52:03 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: John Johansen <john.johansen@canonical.com> Subject: [GIT PULL] AppArmor updates for 6.8 To: Linus Torvalds <torvalds@linux-foundation.org> Cc: LKLM <linux-kernel@vger.kernel.org>, "open list:SECURITY SUBSYSTEM" <linux-security-module@vger.kernel.org> Content-Language: en-US Autocrypt: addr=john.johansen@canonical.com; keydata= xsFNBE5mrPoBEADAk19PsgVgBKkImmR2isPQ6o7KJhTTKjJdwVbkWSnNn+o6Up5knKP1f49E BQlceWg1yp/NwbR8ad+eSEO/uma/K+PqWvBptKC9SWD97FG4uB4/caomLEU97sLQMtnvGWdx rxVRGM4anzWYMgzz5TZmIiVTZ43Ou5VpaS1Vz1ZSxP3h/xKNZr/TcW5WQai8u3PWVnbkjhSZ PHv1BghN69qxEPomrJBm1gmtx3ZiVmFXluwTmTgJOkpFol7nbJ0ilnYHrA7SX3CtR1upeUpM a/WIanVO96WdTjHHIa43fbhmQube4txS3FcQLOJVqQsx6lE9B7qAppm9hQ10qPWwdfPy/+0W 6AWtNu5ASiGVCInWzl2HBqYd/Zll93zUq+NIoCn8sDAM9iH+wtaGDcJywIGIn+edKNtK72AM gChTg/j1ZoWH6ZeWPjuUfubVzZto1FMoGJ/SF4MmdQG1iQNtf4sFZbEgXuy9cGi2bomF0zvy BJSANpxlKNBDYKzN6Kz09HUAkjlFMNgomL/cjqgABtAx59L+dVIZfaF281pIcUZzwvh5+JoG eOW5uBSMbE7L38nszooykIJ5XrAchkJxNfz7k+FnQeKEkNz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3dwr6uHFSqKw7HwNl/PUGeRqgJEVu++ +T7sv9+iY+e0Y+SolyJgTxMYeRnDWE6S77g6gzYYHmcQOWP7ZMX+MtD4SKlf0+Q8li/F9GUL p0rw8op9f0p1+YAhyAd+dXWNKf7zIfZ2ME+0qKpbQnr1oizLHuJX/Telo8KMmHter28DPJ03 lT9Q Organization: Canonical Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788474256814711266 X-GMAIL-MSGID: 1788474256814711266 |
Series |
[GIT,PULL] AppArmor updates for 6.8
|
|
Pull-request
git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor tags/apparmor-pr-2024-01-18Message
John Johansen
Jan. 18, 2024, 11:52 p.m. UTC
Hi Linus, Please pull the following apparmor for patches for the 6.8 merge window. This PR adds a single feature, switch the hash used to check policy from sha1 to sha256 There are fixes for two memory leaks, and refcount bug and a potential crash when a profile name is empty. Along with a couple minor code cleanups. These patches have been in linux-next and been tested while in there, and have also had a merge and regression test against your current tree as of this morning. thanks - john The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor tags/apparmor-pr-2024-01-18 for you to fetch changes up to 8ead196be219adade3bd0d4115cc9b8506643121: apparmor: Fix memory leak in unpack_profile() (2024-01-09 01:45:25 -0800) ---------------------------------------------------------------- + Features - switch policy hash fro sha1 to sha256 + Bug Fixes - Fix refcount leak in task_kill - Fix leak of pdb objects and trans_table - avoid crash when parse profile name is empty + Cleanups - add static to stack_msg and nulldfa - more kernel-doc cleanups ---------------------------------------------------------------- Dimitri John Ledkov (1): apparmor: switch SECURITY_APPARMOR_HASH from sha1 to sha256 Fedor Pchelkin (3): apparmor: free the allocated pdb objects apparmor: fix possible memory leak in unpack_trans_table apparmor: avoid crash when parsed profile name is empty Gaosheng Cui (1): apparmor: Fix memory leak in unpack_profile() John Johansen (5): apparmor: declare stack_msg as static apparmor: declare nulldfa as static apparmor: add missing params to aa_may_ptrace kernel-doc comments apparmor: cleanup network hook comments apparmor: Fix ref count leak in task_kill security/apparmor/Kconfig | 12 ++++---- security/apparmor/apparmorfs.c | 16 +++++----- security/apparmor/crypto.c | 6 ++-- security/apparmor/domain.c | 2 +- security/apparmor/lib.c | 1 + security/apparmor/lsm.c | 63 +++++++++++---------------------------- security/apparmor/policy.c | 13 ++++---- security/apparmor/policy_unpack.c | 13 +++++--- security/apparmor/task.c | 2 ++ 9 files changed, 54 insertions(+), 74 deletions(-)
Comments
The pull request you sent on Thu, 18 Jan 2024 15:52:03 -0800:
> git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor tags/apparmor-pr-2024-01-18
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/237c31cb5d83b3f77715f6d6a185f46a5ee4ec88
Thank you!