Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp534834lqh; Fri, 31 May 2024 08:41:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWirH1g8lUwtIcR0RcGUXQFaueX/dDC1ytidbcNU+9MH/ga2ivA6/JM0UnqiRILjc4jVYa9vmEXoiTb3iRF0ieTQZkQaHHZUXLCxpb5nQ== X-Google-Smtp-Source: AGHT+IExdFnqo4vyClniG2WOajl8mThd0j3MAQOB4WtgVEN+SZCCH14QsYcJEHcjHIIXozjL8SQx X-Received: by 2002:ac8:7f49:0:b0:43a:f936:3ce7 with SMTP id d75a77b69052e-43ff52b4d77mr24768281cf.53.1717170071813; Fri, 31 May 2024 08:41:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717170071; cv=pass; d=google.com; s=arc-20160816; b=QeXkTnYtE6k1eWaHC924jj4BB4MP+R5T340y4zDLGE5+UR0UnG76OBc2/zFQswvZWR cA6dBcjlOJrvp/Vg/97euWKYUnsaJn9cgaxhDMSfpy4LMCOGBmORy1wYitdpCmL2blvH bTMdwNWNyS5dR5r9v8okn1iM81/oObBDY8vpZ6gGDZ5T0ppW3aqlP77X5GG+qgThNO2Z q4T/fLM5lpx+VgCRk5wMnQjuGmcCp53myiAKF0cYxYyTGPJEgqVzFGqpdGDlUT69Gry6 Z/watEkhc0cfJaGDQ1Rj92PUlvi6UYTJ9/WXsOkq/Q2VVo2GqVr3J0xnrOgn291H3KEI 9qOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=j4+nbp4ODTAZgk4eMuAJTaPQPhKuOjoc5EjXd36hnA4=; fh=tNVdgP5I3AXBWbpmeaeJ8uGwINT1ZCByBgzV0M3EFf4=; b=DPaMHzGP4+cz9q0l8ECiVJpakXjxFDo4Bq6fj8rtl+d0Dexejv4qbtu0EwgXYdlrIe mwqk3BhVvf4JS1ZnY3vXVDVwdfarF0FlexLkr3a/qR3QvDztONlnn5u9Zy3DjOGKLC5S 3OT1wasQdvlY3qZUubL3CLaUzRhDeVkpxvTVNzxXBVJVKjZbFhScfm/juSsdf6zMNIR2 AH/0Cyp4f3Gv8AEdlaIGFOB2QfZRiZJr9y3+oWkRSZWQLKC7RDQskQDeaplhk/RjYtie OqvrTJcsQINFZtNZntOxRNB7hMNAuGUEr5lbXFldK4N5WFLubn1L3JqFuR/afodNEdHd WZYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=XpxlPg86; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-197085-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197085-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43ff2466b00si6607381cf.363.2024.05.31.08.41.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 08:41:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197085-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=XpxlPg86; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-197085-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197085-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 839541C24F79 for ; Fri, 31 May 2024 15:41:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14B92155C8B; Fri, 31 May 2024 15:40:57 +0000 (UTC) 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-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 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(-)