mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Johansen <john.johansen@canonical.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKLM <linux-kernel@vger.kernel.org>,
	"open list:SECURITY SUBSYSTEM"
	<linux-security-module@vger.kernel.org>
Subject: [GIT PULL] AppArmor updates for 6.8
Date: Thu, 18 Jan 2024 15:52:03 -0800	[thread overview]
Message-ID: <9fd4ffcb-3f88-4c4c-b580-86895396e933@canonical.com> (raw)

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(-)


             reply	other threads:[~2024-01-18 23:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-18 23:52 John Johansen [this message]
2024-01-19 21:27 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9fd4ffcb-3f88-4c4c-b580-86895396e933@canonical.com \
    --to=john.johansen@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®