[GIT PULL] Landlock fix for v6.10-rc2

From: Mickaël Salaün
Date: Fri May 31 2024 - 11:41:13 EST


Hi Linus,

This PR fixes a wrong path walk triggered by syzkaller.

Please pull these changes for v6.10-rc2. This commit merged cleanly with your
master branch. The kernel code has been tested in the latest linux-next
releases for two weeks, but I rebased it on v6.10-rc1 to fix a commit message
and properly test it again.

Regards,
Mickaël

--
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-6.10-rc2

for you to fetch changes up to 0055f53aac80fd938bf7cdfad7ad414ca6c0e198:

selftests/landlock: Add layout1.refer_mount_root (2024-05-31 16:41:54 +0200)

----------------------------------------------------------------
Landlock fix for v6.10-rc2

----------------------------------------------------------------
Mickaël Salaün (2):
landlock: Fix d_parent walk
selftests/landlock: Add layout1.refer_mount_root

security/landlock/fs.c | 13 +++++++--
tools/testing/selftests/landlock/fs_test.c | 45 ++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 2 deletions(-)