public inbox for linux-security-module@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] AppArmor updates for 7.1
@ 2026-04-23 23:53 John Johansen
  2026-04-24 18:32 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: John Johansen @ 2026-04-23 23:53 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: open list:SECURITY SUBSYSTEM, LKLM

Hi Linus,

We ran into some issue with what was going to go in this cycles PR,
and I am still not happy with the revisions.  So I am just going with
some bug fixes and 3 cleanups that have been queued most of the cycle.

This has been merge, built and regression tested, against your tree
from a couple of days ago.

There isn't any thing all that exciting in here, separating out the
changes.

+ Cleanups
   - Use sysfs_emit in param_get_{audit,mode}
   - Remove redundant if check in sk_peer_get_label
   - Replace memcpy + NUL termination with kmemdup_nul in do_setattr

+ Bug Fixes
   - Fix aa_dfa_unpack's error handling in aa_setup_dfa_engine
   - Fix string overrun due to missing termination
   - Fix wrong dentry in RENAME_EXCHANGE uid check
   - fix unpack_tags to properly return error in failure cases
   - fix dfa size check
   - return error on namespace mismatch in verify_header
   - use target task's context in apparmor_getprocattr()


Pull at your convenience -rc2 even later is fine, and if you want I
can just send the bug fixes up during the -rc2 window.


thanks
- john




The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

   Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor tags/apparmor-pr-2026-04-23

for you to fetch changes up to 11b7df0952663f20ce72c9a22a3cf9278cf84db7:

   apparmor/lsm: Fix aa_dfa_unpack's error handling in aa_setup_dfa_engine (2026-04-22 20:11:08 -0700)

----------------------------------------------------------------
+ Cleanups
   - Use sysfs_emit in param_get_{audit,mode}
   - Remove redundant if check in sk_peer_get_label
   - Replace memcpy + NUL termination with kmemdup_nul in do_setattr

+ Bug Fixes
   - Fix aa_dfa_unpack's error handling in aa_setup_dfa_engine
   - Fix string overrun due to missing termination
   - Fix wrong dentry in RENAME_EXCHANGE uid check
   - fix unpack_tags to properly return error in failure cases
   - fix dfa size check
   - return error on namespace mismatch in verify_header
   - use target task's context in apparmor_getprocattr()

----------------------------------------------------------------
Cengiz Can (1):
       apparmor: use target task's context in apparmor_getprocattr()

Daniel J Blueman (1):
       apparmor: Fix string overrun due to missing termination

Dudu Lu (1):
       apparmor: Fix wrong dentry in RENAME_EXCHANGE uid check

GONG Ruiqi (1):
       apparmor/lsm: Fix aa_dfa_unpack's error handling in aa_setup_dfa_engine

John Johansen (2):
       apparmor: fix dfa size check
       apparmor: fix unpack_tags to properly return error in failure cases

Massimiliano Pellizzer (1):
       apparmor: return error on namespace mismatch in verify_header

Thorsten Blum (3):
       apparmor: Replace memcpy + NUL termination with kmemdup_nul in do_setattr
       apparmor: Remove redundant if check in sk_peer_get_label
       apparmor: Use sysfs_emit in param_get_{audit,mode}

  security/apparmor/lsm.c           | 36 ++++++++++++++----------------------
  security/apparmor/match.c         |  2 +-
  security/apparmor/path.c          |  8 +++++---
  security/apparmor/policy_unpack.c |  2 ++
  4 files changed, 22 insertions(+), 26 deletions(-)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] AppArmor updates for 7.1
  2026-04-23 23:53 [GIT PULL] AppArmor updates for 7.1 John Johansen
@ 2026-04-24 18:32 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2026-04-24 18:32 UTC (permalink / raw)
  To: John Johansen; +Cc: Linus Torvalds, open list:SECURITY SUBSYSTEM, LKLM

The pull request you sent on Thu, 23 Apr 2026 16:53:00 -0700:

> git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor tags/apparmor-pr-2026-04-23

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/eefe0b9dee5db64ec87707c8e44f31851f257389

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-24 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-23 23:53 [GIT PULL] AppArmor updates for 7.1 John Johansen
2026-04-24 18:32 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox