From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-1908.mail.infomaniak.ch (smtp-1908.mail.infomaniak.ch [185.125.25.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0634D24211 for ; Fri, 31 May 2024 15:40:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.25.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717170056; cv=none; b=rH+XPHHlSy3TGImr5sbtDSwJ2p9W3kyw6cEY5OvAixV32zaDrLJRpyYTo/6H+QyVnJEebU55UWLM7eKux5LDo8xnVTH5Nvd8OtNAVpA+sjoP55AUp0EuZyE3R/4c1Ji6EkAQOweqm9WUrGpTAWJ1rq+PpbDa7M+vQM7h1Y9QZ10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717170056; c=relaxed/simple; bh=jMphLtJ1ajjONUHwdMfQkImvbdmMMRz8DvS2PZBC1Ww=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=o0sb0ioSVpyeZ4+GR0FMPIwOr0xquh9BoQVW/HCC5dIgv0TOvQnyR/KrRm1CpaOYcJKlYXqDqueY3Jq4Bh2NJW6Co9Jgn1RUBUVEBlmAworpPgzoxHnD9ZcuhP+cYnBw4w0VAYa0J+5+2XjWslXencqAXY1WRCn18hAY2QiC9Sk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net; spf=pass smtp.mailfrom=digikod.net; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b=XpxlPg86; arc=none smtp.client-ip=185.125.25.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=digikod.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="XpxlPg86" Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VrS4q5Z1lz1WM; Fri, 31 May 2024 17:40:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digikod.net; s=20191114; t=1717170043; bh=j4+nbp4ODTAZgk4eMuAJTaPQPhKuOjoc5EjXd36hnA4=; h=From:To:Cc:Subject:Date:From; b=XpxlPg867rk6kWp5pkC+7M2c23z8uYSM2AN3yaalvLFuvlMCHvGjrGs4ugotxmmE+ 7IyDArcdEgg1dTPWYq5ju6vKTl5WSSe0eoIXss4vf3m6T5fp4yw7DW799IVaNGCvtc fSdV7graSZaMU4aM9mXSPPPc7K5Q5CLmZ9xC5RhU= Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4VrS4q27FFzZ0S; Fri, 31 May 2024 17:40:43 +0200 (CEST) From: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= To: Linus Torvalds Cc: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , =?UTF-8?q?G=C3=BCnther=20Noack?= , Paul Moore , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: [GIT PULL] Landlock fix for v6.10-rc2 Date: Fri, 31 May 2024 17:40:34 +0200 Message-ID: <20240531154034.198316-1-mic@digikod.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Infomaniak-Routing: alpha 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(-)