[GIT PULL] Landlock fix for v7.3-rc3

2 messages, 2 authors, 2026-09-09 · open the first message on its own page

[GIT PULL] Landlock fix for v7.3-rc3

From: Mickaël Salaün <mic@digikod.net>
Date: 2026-09-09 15:31:40

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

Re: [GIT PULL] Landlock fix for v7.3-rc3

From: pr-tracker-bot@kernel.org
Date: 2026-09-09 18:39:09

The pull request you sent on Wed,  9 Sep 2026 17:31:18 +0200:
https://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-7.3-rc3
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/50d05c7c76c96b90462f24debacca971d2e86713

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help