Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp917450lqo; Fri, 17 May 2024 05:49:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUU1EMDZLKnFYZkiBEiC44t0Y9byUF9dRoYCVigCVs1B6J53DDg+D2pYbiVAhtbkOTm4K/uiZEkSQCE4uWuykL/NAy65o82T8Vclzzfiw== X-Google-Smtp-Source: AGHT+IF7Bzs2YLEG5BVhOo5Vg+UcoGg/84WlVTQK6S0lTbjX7XZzCnO0FOTZOnbHQKqAdpFayQsI X-Received: by 2002:a05:6e02:1988:b0:36c:4348:35d7 with SMTP id e9e14a558f8ab-36cc1473f49mr239851225ab.9.1715950151858; Fri, 17 May 2024 05:49:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715950151; cv=pass; d=google.com; s=arc-20160816; b=JHVHIZgfWUkgkgchfCwefxEi61RBDT3mP6KlYXakCwxJZtPc2Yf4Sftvb+Fvb/yL8I ealnMXj1Uvk/B9CNHwSNIWzLV11vf9ca5v5FG2wIfIma8OWltEQyqRoKqchePgQjv+wO DArUnH5i4V+KcidRm1ZcMlp8b/jJmPyL0Xbs68ydHPnPFE3ChZDdi6UH+QQdK+n0srFL 0gZUFtCDlBbITq8Z3z3xNLgUpFJpvW7VNGMAKSplPd4R60AuWPNMJIOMI2BXGwtwN8f8 LyktnBnPR7fO1nkaEm3nhE0MVmI6U3r6SnnGuWcs1HUTe6znO81b9CtajJCm0074rhvX NNUQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=RrZY6xn2FaPVT1bsWbKMdNB1yTcqmVSQiHKHdrREhK4=; fh=8uw5qEOxqKm+JEEr5e/KC0tZ1YdGkWlynYWYzjutAVE=; b=lW0S/wM79m4H+pcbZSA8p0t4gBMBDXoqlSCAt0Ln1DBctFoV0o6MljEvngN2vuFR3y PCdDrF92SRyZm52D4QmDfdiNoSt1d6jcPuP1GaBoyFffxeFel8b2uvuTJUsMCDxCoVsw dLxLtsvbnos6S3RrEja1j6XYyVQy7yrOFSs68tHTbe3xm1OImMQb7fQNkGJhnT6t7vJ1 Bt8u1QAV0F3i/EZ7oGhZHxC5kXy96JdBBhuPkymh22Q/c0EeXJOBgyAwt7+3ph3wQvEe N08vHkNKZ4tVAOTKddvv8464uSn8La7H7tMzfC7ea8I2nfKkdPc2wM4aHdm+WEvJmSQz 8KXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=H7DpfFPO; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-182105-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182105-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-658d4ba682asi1837483a12.585.2024.05.17.05.49.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 05:49:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182105-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=H7DpfFPO; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-182105-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182105-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 66392283146 for ; Fri, 17 May 2024 12:49:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBF8B4F887; Fri, 17 May 2024 12:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="H7DpfFPO" Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) (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 85435381BB; Fri, 17 May 2024 12:48:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.121 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715950140; cv=none; b=ea5fFBQ1KvTTc8Sw1pjWGKHJ4xVKmQ4pHwhAel+FR3FZ49oE6OAqI87Jkf1T19+7XV7hwBnNxiIjwZXToFyZwM3dEScOVabJTtCnaxV5Ho3V7iNSdiAdGL3WR7iOXIXrAUvr4lsKkE4Mp68VBw6FL9dBQ3J31h9XgNNH99enBFo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715950140; c=relaxed/simple; bh=dilVB45lPcfOkXyvcYAE9pscecJkRbRB9Uy91f480o0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gsfZEQHn00R9QCwaZooqqn5JCo5XGRjt0kyihW3rzu6V97VH3NLQNSAnadM+P2+5OKKcexQczBKjNNbCKLU9NZxHDYJCSyYWEvszzKcD13uVPfKi5SFYPtiQHTcG2f3O18I3rPIY+bFvTEsJj/0YLmgWyKOwwdR2Nr4+xbxyMCc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=H7DpfFPO; arc=none smtp.client-ip=185.125.188.121 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Received: from [10.55.0.156] (unknown [149.11.192.251]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id EEF253FCF2; Fri, 17 May 2024 12:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1715950136; bh=RrZY6xn2FaPVT1bsWbKMdNB1yTcqmVSQiHKHdrREhK4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=H7DpfFPO84G33pIPBpvf9XnQF3WoqQifAarZzqebIybaM5RN400Nk3FwTOySoGMQi yz5pZLJ964kfyU6elP8eykZQ5oIu0ezioNPiEb8tIeXrf16hxB2ijmi9GUzfmFwz71 KGrzcJcBdeGGExf8o0u4kiDfD3BECOrM+tJ5Qcqv1EY7bc2YFyH2CTh9k3X0GddNMh gPQ5fyzVo+7P5JTIYsHrQ/8sy1b9zvzjXXUitoK3EiuH39e2WxXFCix6lLf6d5OD5j yoy9gp0s9z2Os2upcr21+wvTBmiM8sWoDxldD/GiHY2an20NVrD2noRIIp+MiHmWod mEVVMIDu3VxCg== Message-ID: Date: Fri, 17 May 2024 05:48:55 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] capabilities: user namespace capabilities To: Jonathan Calmels , "Eric W. Biederman" Cc: brauner@kernel.org, Luis Chamberlain , Kees Cook , Joel Granados , Serge Hallyn , Paul Moore , James Morris , David Howells , Jarkko Sakkinen , containers@lists.linux.dev, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org References: <20240516092213.6799-1-jcalmels@3xx0.net> <20240516092213.6799-2-jcalmels@3xx0.net> <878r08brmp.fsf@email.froward.int.ebiederm.org> Content-Language: en-US From: John Johansen Autocrypt: addr=john.johansen@canonical.com; keydata= xsFNBE5mrPoBEADAk19PsgVgBKkImmR2isPQ6o7KJhTTKjJdwVbkWSnNn+o6Up5knKP1f49E BQlceWg1yp/NwbR8ad+eSEO/uma/K+PqWvBptKC9SWD97FG4uB4/caomLEU97sLQMtnvGWdx rxVRGM4anzWYMgzz5TZmIiVTZ43Ou5VpaS1Vz1ZSxP3h/xKNZr/TcW5WQai8u3PWVnbkjhSZ PHv1BghN69qxEPomrJBm1gmtx3ZiVmFXluwTmTgJOkpFol7nbJ0ilnYHrA7SX3CtR1upeUpM a/WIanVO96WdTjHHIa43fbhmQube4txS3FcQLOJVqQsx6lE9B7qAppm9hQ10qPWwdfPy/+0W 6AWtNu5ASiGVCInWzl2HBqYd/Zll93zUq+NIoCn8sDAM9iH+wtaGDcJywIGIn+edKNtK72AM gChTg/j1ZoWH6ZeWPjuUfubVzZto1FMoGJ/SF4MmdQG1iQNtf4sFZbEgXuy9cGi2bomF0zvy BJSANpxlKNBDYKzN6Kz09HUAkjlFMNgomL/cjqgABtAx59L+dVIZfaF281pIcUZzwvh5+JoG eOW5uBSMbE7L38nszooykIJ5XrAchkJxNfz7k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9sOUJ+nOna3dwr6uHFSqKw7HwNl/PUGeRqgJEVu++ +T7sv9+iY+e0Y+SolyJgTxMYeRnDWE6S77g6gzYYHmcQOWP7ZMX+MtD4SKlf0+Q8li/F9GUL p0rw8op9f0p1+YAhyAd+dXWNKf7zIfZ2ME+0qKpbQnr1oizLHuJX/Telo8KMmHter28DPJ03 lT9Q Organization: Canonical In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/17/24 04:55, Jonathan Calmels wrote: > On Fri, May 17, 2024 at 06:32:46AM GMT, Eric W. Biederman wrote: >> >> Pointers please? >> >> That sentence sounds about 5 years out of date. > > The link referenced is from last year. > Here are some others often cited by distributions: > > https://nvd.nist.gov/vuln/detail/CVE-2022-0185 > https://nvd.nist.gov/vuln/detail/CVE-2022-1015 > https://nvd.nist.gov/vuln/detail/CVE-2022-2078 > https://nvd.nist.gov/vuln/detail/CVE-2022-24122 > https://nvd.nist.gov/vuln/detail/CVE-2022-25636 > > Recent thread discussing this too: > https://seclists.org/oss-sec/2024/q2/128 > they were used in 2020, 2021, and 2022 pwn2own exploits. Sorry I don't remember the exact numbers and will have to dig. pwn2own 2023 4/5 hacks used them https://www.zerodayinitiative.com/blog/2023/3/23/pwn2own-vancouver-2023-day-two-results I will need to dig to find the CVEs associated with them. pwn2own 2024 I can not discuss atm but its not just pwn2own, the actual list of kernel CVEs that unprivileged user namespaces make exploitable is much larger.