Linux Security Modules development
 help / color / mirror / Atom feed
From: "Mickaël Salaün" <mic@digikod.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Mickaël Salaün" <mic@digikod.net>,
	"Günther Noack" <gnoack3000@gmail.com>,
	"Günther Noack" <gnoack@google.com>,
	"Norbert Szetei" <norbert@doyensec.com>,
	linux-kernel@vger.kernel.org,
	linux-security-module@vger.kernel.org
Subject: [GIT PULL] Landlock fix for v7.3-rc3
Date: Wed,  9 Sep 2026 17:31:18 +0200	[thread overview]
Message-ID: <20260909153118.361748-1-mic@digikod.net> (raw)

Hi,

This PR fixes an UAF and a lockdep assert NULL dereferencing, and it
properly truncates too-long strings printed by a Landlock tracepoint.
Most of the changes are brought by new tests.

Please pull these changes for v7.3-rc3 .  These commits have been tested
in the latest linux-next releases and merge cleanly with your master
branch.

Test coverage for security/landlock is 91.6% of 2574 lines according to
LLVM 22, and it was 91.5% of 2571 lines before this PR.

Regards,
 Mickaël

--
The following changes since commit df2908090cda368b01ff43709f51890076c56157:

  Linux 7.3-rc2 (2026-09-06 15:07:20 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-7.3-rc3

for you to fetch changes up to d41d0021a6ea3e9fcd14126a00fead47f981c46e:

  landlock: Test trace path output boundaries (2026-09-08 11:49:39 +0200)

----------------------------------------------------------------
Landlock fix for v7.3-rc3

----------------------------------------------------------------
Mickaël Salaün (4):
      selftests/landlock: Test abstract socket trace name limits
      landlock: Clean up ruleset validation checks
      landlock: Bound escaped trace path output
      landlock: Test trace path output boundaries

Norbert Szetei (1):
      landlock: Fix use-after-free of the source's parent directory

 include/trace/events/landlock.h                    |  70 ++++++--
 security/landlock/.kunitconfig                     |   2 +
 security/landlock/domain.c                         |   3 +-
 security/landlock/fs.c                             |  18 +-
 security/landlock/ruleset.c                        |   2 +-
 security/landlock/trace.c                          | 182 +++++++++++++++++++++
 .../selftests/landlock/scoped_abstract_unix_test.c |  76 ++++++---
 tools/testing/selftests/landlock/trace_fs_test.c   | 160 ++++++++++++++++++
 8 files changed, 466 insertions(+), 47 deletions(-)

             reply	other threads:[~2026-09-09 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-09 15:31 Mickaël Salaün [this message]
2026-09-09 18:38 ` [GIT PULL] Landlock fix for v7.3-rc3 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=20260909153118.361748-1-mic@digikod.net \
    --to=mic@digikod.net \
    --cc=gnoack3000@gmail.com \
    --cc=gnoack@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=norbert@doyensec.com \
    --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