From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id AD81680031 for ; Fri, 20 Nov 2026 15:05:31 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AKF4Dq1030169; Fri, 20 Nov 2026 18:04:13 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AKF4Dq1030169 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="VDRO9wxI" Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AKF4A4X030161 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Fri, 20 Nov 2026 18:04:11 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AKF4A4X030161 Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-cddf142187aso545497a12.2 for ; Fri, 20 Nov 2026 07:04:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AL+hErEcD0xI22fucfWgzsoDdjDuNHviuLsMK/E2bqU/+GAlhJiguoYSekn6dgTmpfreC6LC7zYaUg==@openvz.org X-Gm-Message-State: APuU4Z/x9OMK/aoA4SprUuqN4yt5geMURnSBaLg+gKHdsqocx7ujQ3b/ sAknCAf4Ultz2NhUhMQC0y6a1h2iBXOSWak71kz0LVRtksXMAFiMLGfX34iddcYkx07Odhk/gE6 DrgeoDLV6A75n+6a8rByJOGCdxBrHmRlN1rmQfFhuEPk1wII9/QKcnQ== X-Gm-Gg: AYBFou2WViSuqUx9lwPYTr3nt+7TUP/LLC3xGhH6+kRl3J1vgoXHCsriPhzBnk/g40i 6Det71flIavkvrCWYxExQeSLW5gPLgtTRQcxvBuwyL6geekAx2vkRR5iI1kIUgs9mJMc472rF87 e/m593PFe6hRcuCj4ntYTiVHrePHFI52EU9JvteQ556Re7t08bRzdrBDYeA9uad9fKRYpUgmlKw sr/8nNIYq9caNj30GoPVYPYYIoccuKBfGolLSyrvXNRYEadwWY9fayfNrphLPk5SMl8wxR5ifbx 81VY1jvry5dkj5WrRx0F6xPiAvOytZtCGRrDBo6AOUHR4NbTuEI9sNescZqotcu0tYu/Fx/cr61 F02RY3cWqIxFL+3A8ipLtrami8jQsrg2ddSC7TY6vogBFaNs2FdZPtcwZg2jTFKwJ82IzpZcpmx lk/Xu4E4+gCY4n8FLNTIekGtsrJ4XK X-Received: by 2002:a05:6a21:9190:b0:3fa:7d10:d1be with SMTP id adf61e73a8af0-4014621590fmr3465355637.0.1795187049758; Fri, 20 Nov 2026 07:04:09 -0800 (PST) X-Received: by 2002:a05:6a21:9190:b0:3fa:7d10:d1be with SMTP id adf61e73a8af0-4014621590fmr3465317637.0.1795187049127; Fri, 20 Nov 2026 07:04:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1795187049; cv=pass; d=google.com; s=arc-20260327; b=M9mZbM2MdIyXQkNLD06ngOc1/10daZ84UP1JNrl8BUi7Tep0ZxJBQ33ZT2k1iuMifN fYIMNR97RiewxAysq43OLUa6ftUbfgnYATT/HDUjaAbXYLtF6IFpe3IVv1/vz23DntyN b47HDKV4nsgo3dFb3JSJO+pDTpTlHkLOF7HNF2OXxNFL3uwZ+5C3wUr/RG3YUWgBPD+M KfvH+R0CABti8FC1a0rZLzYtcbGQHADTfoIdQ8l+KR94XS+JTqAO6I6/JJ7m/6inu+fa fMyIOudpGnac8yqIohtDyIqbmlg6yA2njgqKEtPWKVrFUmVirdz5jMbUgOmiSlKIX/LA b+5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=mime-version:message-id:date:references:in-reply-to:cc:to:from :subject:content-transfer-encoding:dkim-signature; bh=gmlOczJ5ncWzcCJip9yxg4KF8ecskxRuSnq9NoGnvu0=; fh=4d/mjassTFVlz2AEuQDWd/imUF5nfwul5hiSja8WuFE=; b=XYH7KZ+GBbvccHTstsS3LPNJSY2mzX5+HrlRWvGoUKhRWeLwCE40CCDH80UgszNOF+ sfnKCvVGWG5hXS9jHbSUxaid6XLqXeHqa7miH+DO0rx+SVveA2qj8NN42M6koEB1gcnb IZlopzyQJL/h3NG9aEG1Y1uZK3oyiN8t9jcvwnoRK5if8rvp2m5bXYRYzMjtlH1XGYQC bNU8pTgtgTp7dR5e+3ZXYaYRzYBT6XUL5PI8+w1uMCa2WXN2+nip/P196J4PBFHpAmej xOM0PHOkXUdy/plClzlKZWrEbCSxnvzhCvLIciucYJr1zkkXinHr5hj6P8uX6AzYvEFK vjPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector2 header.b=VDRO9wxI; arc=pass (i=1 spf=pass spfdomain=virtuozzo.com dkim=pass dkdomain=virtuozzo.com dmarc=pass fromdomain=virtuozzo.com); spf=pass (google.com: domain of ptikhomirov@virtuozzo.com designates 2a01:111:f403:c200::1 as permitted sender) smtp.mailfrom=ptikhomirov@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazlp170100001.outbound.protection.outlook.com. [2a01:111:f403:c200::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-8c870584949si7852586b3a.13.2026.11.20.07.04.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2026 07:04:08 -0800 (PST) Received-SPF: pass (google.com: domain of ptikhomirov@virtuozzo.com designates 2a01:111:f403:c200::1 as permitted sender) client-ip=2a01:111:f403:c200::1; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector2 header.b=VDRO9wxI; arc=pass (i=1 spf=pass spfdomain=virtuozzo.com dkim=pass dkdomain=virtuozzo.com dmarc=pass fromdomain=virtuozzo.com); spf=pass (google.com: domain of ptikhomirov@virtuozzo.com designates 2a01:111:f403:c200::1 as permitted sender) smtp.mailfrom=ptikhomirov@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fZiOoqpoHReo+JQwI0CEtjDhgxGXv7Z07ptuJD72GdCR3gcaVbRRdz+zp4GRJy28kaB2bvCelYy4bUtaZSOOmr724fPMsAlyW3u54s00sLkjFetG4bvIDPliqrMnVp/gFTO2EVbkVASNg2nOj/A7J1EDDYMrDeppm51BIQjqs5B/SS4/+yQwUD89Ivh+pu6uvPM/EWSd3tbApRZ0DKGbBT51iELLtCqjO9OxFR3BAdCDYx2iCuKC9THE1jlWCuFwr4xgYqHVmCle9NEgRHi+YM7rg+Jdyzf2o/eux3z5T9ipZ2JyFHT2ESz9oZI4bBJCXK/1S5EYX09IB1rowU0wxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gmlOczJ5ncWzcCJip9yxg4KF8ecskxRuSnq9NoGnvu0=; b=Pi+lpUePYMNN8rM0MtZ9tw5bI/3ep0ryCYi9hio3n64vpfKtHEtoOqe2sYNfXI0jvDz+K0NhbZpBieYGTtAEQGR/uHX7IRAMf//7Kx90TjXDr6MEv96wskPY7Yfp/pkclVmCN9C3v9FXmjxLbsoE8/G/Q8EPDzDiSKUXJH3SUjWvO+LKtL5r3Sjz2Y4O5BAHX0J3ox2yjXxK3mH02ylGfYJ6BoFzLpNP3lHEf89/IWVbbm65PVNY/NU+rqO1tXf3hDRRf5jjyTGziDmL7OuQvzgV84JC59DQ1JHBuXlJqwSaRJz/QZWVnK5jt9kjLzMwPHKVPBh69l5uGy8eYg3aXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=virtuozzo.com; dmarc=pass action=none header.from=virtuozzo.com; dkim=pass header.d=virtuozzo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gmlOczJ5ncWzcCJip9yxg4KF8ecskxRuSnq9NoGnvu0=; b=VDRO9wxItMHwI3gOfJN//gAUIfuz5nEze0v4ZR2gDoJbTZJaPvoPktD3YjN8M8fN/7f4vw/hQ2KFMGm5I5IUKJqVXv1eFBb1sIiej8AzcphIQw8s98aJn8W2KZ1ictJCltxvRhBxHueSouZhJv6Aq51Xb5AweFGkPUe6FKf5cY7VAs0FDBvbGgqbWA9dzg49m9h49JYDocJKNrKSfty+CU7/fhj+ZbcxZ+yBuys08QgJXiUIz05VnTs+FFhd/csRCqTvEfOwygAXzAxMI/g04oidDPc2n3fdtjMopNzRK/VHSxuj//Y5aSyD/ZkijUA0EPafpmXvG4MDjdYmywNy2w== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=virtuozzo.com; Received: from AM0PR08MB11804.eurprd08.prod.outlook.com (2603:10a6:20b:747::14) by AS2PR08MB8573.eurprd08.prod.outlook.com (2603:10a6:20b:55c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.639.12; Fri, 20 Nov 2026 15:04:05 +0000 Received: from AM0PR08MB11804.eurprd08.prod.outlook.com ([fe80::bf46:f137:f6d2:5b3a]) by AM0PR08MB11804.eurprd08.prod.outlook.com ([fe80::bf46:f137:f6d2:5b3a%7]) with mapi id 15.21.0639.011; Fri, 20 Nov 2026 15:04:05 +0000 From: Pavel Tikhomirov To: Konstantin Khorenko In-Reply-To: <20261120-b4-prep-khorenko-vstor-156164-ve-setup-task-pseudosuper-v3-1-fb0214ce4f45@virtuozzo.com> References: <20261120-b4-prep-khorenko-vstor-156164-ve-setup-task-pseudosuper-v3-0-fb0214ce4f45@virtuozzo.com> <20261120-b4-prep-khorenko-vstor-156164-ve-setup-task-pseudosuper-v3-1-fb0214ce4f45@virtuozzo.com> Date: Fri, 20 Nov 2026 16:04:02 +0100 Message-Id: <179518704230.1830672.6160419212142476220.b4-review@b4> X-Mailer: b4 0.16.0 X-ClientProxiedBy: BE1P281CA0094.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:79::12) To AM0PR08MB11804.eurprd08.prod.outlook.com (2603:10a6:20b:747::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR08MB11804:EE_|AS2PR08MB8573:EE_ X-MS-Office365-Filtering-Correlation-Id: d8adc148-322a-478b-3b52-08df47178513 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|52116014|376014|23010399003|10070799003|10067099003|4143699003|5023799004|56012099006|261026121527099003|261022115727099003|261022105027099003|261022075727099003|261021121427099003|261009223027099003|261102123227099003|261026140227099003|261028144727099003|6133799003|22082099003|18002099003|3023799007; X-Microsoft-Antispam-Message-Info: MANeM1SrKcaSFx51hkbMEug4l7Up3KdfbJDvN6mCbTdpLHcKUCZNfE7VHaxVK7qvh8G7nm2XZVvFD3DtSR6FFDqV6ZzvLr7tgRAE+Zlsalhmk/CBcOsjgLMI8mVmhlJTihCN8UscVTSXd+tPVTfjWavXfUf+i6mswepVnptXRXxjD1VTS9Bf0h7FQOl+DykwqYRL3Ph6Y3uzs/2LwyRxG9IO42tWmGa45qtG2ejgRBnf9SBgvLfhdX0L/sZ2L3y6YCJ8L1O9wCjr+/uDuVObQ0VcBHOLYJoZYj80Ek5MxNYWF53fwPSnsEJLrrHyjI2MsYoMa3mZKjrVuuPS//3zJ1D+UYcVhvs4y3F7R2baqeHxCUIHIgsA7+CviuNhG3eGeLbq5yseUlY2JTc3pR5CHHi87QFj07dVffLtwPTiG4ZEdgxHCiVOMS2xXqiHkGiBhPHdFWgNHG9vlYYWbXB3gbIgYLyU522QdcQiuAnvklNa6RQEdW71Ztwcybwxp6qKIFLgbmW1c9RQqpo2fLJ/2Z1/iqleiRbYiBVIiVVtjswvAZxHTCo6h8WqWZqItkYIMbYWtOF6Iljq5HZRlkpg23mWjEMchqQ7MTj6a6XBHoGYD30azwFgWzEUga2X0zJe X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR08MB11804.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(52116014)(376014)(23010399003)(10070799003)(10067099003)(4143699003)(5023799004)(56012099006)(261026121527099003)(261022115727099003)(261022105027099003)(261022075727099003)(261021121427099003)(261009223027099003)(261102123227099003)(261026140227099003)(261028144727099003)(6133799003)(22082099003)(18002099003)(3023799007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Q3Bqb1NENkwwY1pPV2RjRHc0TGFQdkNsVW5pVGhPa0RQTW9OSzhMNlhRM2tn?= =?utf-8?B?N2xCYk1ZR2hIVVZySG5WcTdjUXN2eDc4TWUvd0VPN3gwMG9qTHc2d2VDNktZ?= =?utf-8?B?UDlRc2hqWU8vaXkydTdsQnhzZnFQV3BZbFgxRGt2Um5HL1hPVXZLSmFwRHJF?= =?utf-8?B?SUlFRzMzUGY1NCsxWi9rU1VQVC9FSEt0ZkVPdW0yQytUWmxqbm90cjRNREQx?= =?utf-8?B?QVJldEhVSjR6SDQzdVlrQS9zUVpDRkhTSkRmYXRiOEF2UHRDTzN2MEJ2Z3Rr?= =?utf-8?B?c3F2ak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E9lL05yUWxu?= =?utf-8?B?S1ovd3lEYWwyRVpOOG1aY3VMV21CUHA2RWphaU1DOFlaOVZMVjU1c21Qa1Zv?= =?utf-8?B?TUFOUjBaQ015UlpmV1pIeE82NWJ1b2NKckhCV2NMSkxNbGN0clRQdm9lVlZk?= =?utf-8?B?cEswL09GM1FuV2ZSY0FuS3dnZFdSWmhJcmtZaUE1ZE1GVUVoYnlwSjUwQUNm?= =?utf-8?B?RlRJeWJ0QzJuUkR6TG5aUXBFMklUUjJRa2oyNDB3WDM1bUpHSnUzbUl3RUJC?= =?utf-8?Q?qfwL77tLQ8Zefc5QWaez5xoT2wcJjEA6pAgQPtIrASJct?= X-MS-Exchange-AntiSpam-MessageData-1: ai2D/oOA6cPTlw== X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8adc148-322a-478b-3b52-08df47178513 X-MS-Exchange-CrossTenant-AuthSource: AM0PR08MB11804.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2026 15:04:05.3067 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: krrLLLf0+75qUkjKE/4VmvE5SVR6SUpxIqxQhQcXhIc5P8ujwbyGQf9S/9iQY5Us5W0Mm0rNL02gw8X1MAABmtCGtfulJTEE7byS63usG8U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8573 X-OZ-Fwd: true Cc: devel@openvz.org Subject: Re: [Devel] [PATCH hci-8.2 v3 1/2] ve: trust every host task of a pseudosuper VE until it execs X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org > Since "ve: hide the tasks that set up a starting VE from the rest of > it" a host task entering a VE is marked VD_VE_SETUP_TASK only while the > VE is VE_STATE_STARTING, and VD_VE_ENTER_TASK afterwards. While the VE > is pseudosuper only the setup tasks may reach each other and use the > pseudosuper relaxations; an entered task only skips the mount limit. > > libvzctl before 10.0.144 writes START to ve.state, which ends in > VE_STATE_RUNNING, before it configures the disk: a helper then joins > the init task's namespaces one by one through setns(), opens > /proc//ns/mnt, makes the ploop device nodes and mounts the second > disk inside the container. It joined a running VE, so it is an entered > task, and the init task, a setup task, is hidden from it. > > Every container start with such a libvzctl fails: > > Failed to open /proc//ns/mnt: Permission denied > Failed to configure disk > Cancel init execution > > libvzctl 10.0.144 and newer open the namespaces before joining any and > are not affected. > > Both kinds of task come from the host and have not exec'd. Before the > series every task of a pseudosuper VE had the relaxations, and libvzctl > runs its in-process helpers for disks, devices, bind mounts and GPUs > inside the VE after START, so trust them alike: ve_current_is_pseudosuper() > accepts either mark while the VE is pseudosuper, and > ve_current_is_host_task() goes. An entered task stays hidden from the > container after pseudosuper is cleared, as before, and a binary the host > tools exec still drops its mark. > > Fixes: a7d797d177e7 ("ve: hide the tasks that set up a starting VE from the rest of it") > https://virtuozzo.atlassian.net/browse/VSTOR-156164 > > Feature: trace: prohibit tracing sensitive tasks from CT > Reviewed-by: Mirian Shilakadze > Signed-off-by: Konstantin Khorenko > > diff --git a/fs/namespace.c b/fs/namespace.c > index 0eae165b1299e..db0100203dc29 100644 > --- a/fs/namespace.c > +++ b/fs/namespace.c > @@ -3226,7 +3226,7 @@ int ve_devmnt_process(struct ve_struct *ve, dev_t dev, void **data_pp, int remou > if (devmnt->dev == dev) { > err = ve_devmnt_check(data, devmnt->allowed_options); > /* > - * Setup tasks of a pseudosuper VE, ie the restore > + * Host tasks of a pseudosuper VE, ie the restore > * procedure, skip the allowed options filtering, since > * restore mode is special. > */ > @@ -3367,7 +3367,7 @@ int ve_devmnt_verify(struct ve_struct *ve, dev_t dev, char *opts, bool new_mount > > static inline int ve_try_reserve_mount(struct ve_struct *ve) > { > - int ret = ve_current_is_host_task(ve) || ve_is_super(get_exec_env()); > + int ret = ve_current_is_pseudosuper(ve) || ve_is_super(get_exec_env()); > /* > * Ignore limits in ve0 and for the host's tasks of a pseudosuper VE, > * but still count. > diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h > index 53cb5ff32a233..388b256ed4af8 100644 > --- a/include/linux/mm_types.h > +++ b/include/linux/mm_types.h > @@ -1116,8 +1116,8 @@ extern struct mm_struct init_mm; > #define VD_LICDATA_ACCESS 2/* tasks accessed containers license data, > * no ptrace and no coredump allowed */ > #define VD_VE_SETUP_TASK 3/* tasks the host sent into a starting VE, > - * reachable only from each other while it > - * is pseudosuper, VD_PTRACE_COREDUMP after */ > + * reachable only from the host's tasks while > + * it is pseudosuper, VD_PTRACE_COREDUMP after */ > > /* Pointer magic because the dynamic array size confuses some compilers. */ > static inline void mm_init_cpumask(struct mm_struct *mm) > diff --git a/include/linux/ve.h b/include/linux/ve.h > index f83d2229d36de..d29339112f250 100644 > --- a/include/linux/ve.h > +++ b/include/linux/ve.h > @@ -284,7 +284,6 @@ extern bool is_ve_init_net(const struct net *net); > void ve_setup_task(struct task_struct *p, struct ve_struct *old_ve, > struct ve_struct *ve); > bool ve_current_is_pseudosuper(struct ve_struct *ve); > -bool ve_current_is_host_task(struct ve_struct *ve); > int ve_vps_dumpable(struct mm_struct *mm, struct ve_struct *ve); > > void ve_set_rpc_kill_fn(void (*fn)(struct net *, bool)); > @@ -419,7 +418,6 @@ static inline int vz_security_protocol_check(struct net *net, int protocol) { re > static inline void ve_setup_task(struct task_struct *p, struct ve_struct *old_ve, > struct ve_struct *ve) { } > static inline bool ve_current_is_pseudosuper(struct ve_struct *ve) { return true; } > -static inline bool ve_current_is_host_task(struct ve_struct *ve) { return true; } > #define ve_vps_dumpable(mm, ve) ((mm)->vps_dumpable) > > static inline void ve_set_rpc_kill_fn(void (*fn)(struct net *, bool)) { } > diff --git a/kernel/ptrace.c b/kernel/ptrace.c > index ff71c3e37bc14..c2b27e455c8ee 100644 > --- a/kernel/ptrace.c > +++ b/kernel/ptrace.c > @@ -285,7 +285,7 @@ static bool task_still_dumpable(struct task_struct *task, unsigned int mode) > * have its vps_dumpable confirmed, so deny it. This closes the window > * where a dying CT task could be inspected (e.g. an fd stolen via > * pidfd_getfd()) after exit_mm() cleared ->mm. While its VE is > - * pseudosuper, a setup task is only inspectable by another one. > + * pseudosuper, a setup task is only inspectable by a host task. > */ > if (!ve_is_super(get_exec_env())) { > struct ve_struct *ve = task_ve(task); > diff --git a/kernel/ve/ve.c b/kernel/ve/ve.c > index 076892a750cfc..0ad145b38b54b 100644 > --- a/kernel/ve/ve.c > +++ b/kernel/ve/ve.c > @@ -1022,7 +1022,7 @@ static u64 ve_pseudosuper_read(struct cgroup_subsys_state *css, struct cftype *c > * is allowed in a sake of container restore for example. > * > * To set this value up one has to be a real node's owner. > - * Inside the VE only its setup tasks may drop it, see > + * Inside the VE only its host tasks may drop it, see > * cgroup_file_write(). > */ > static int ve_pseudosuper_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val) > @@ -1780,44 +1780,25 @@ bool ve_check_trusted_exec(struct file *file, struct filename *name) > return false; > } > > -/** > - * ve_current_has_mark - is current a task of pseudosuper @ve with @mark > - * @ve: the VE > - * @mark: the vps_dumpable value > - */ > -static bool ve_current_has_mark(struct ve_struct *ve, unsigned int mark) > -{ > - struct mm_struct *mm = current->mm; > - > - return ve->is_pseudosuper && task_ve(current) == ve && > - mm && mm->vps_dumpable == mark; > -} > - > /** > * ve_current_is_pseudosuper - may current use the pseudosuper relaxations of @ve > * @ve: the VE that grants them > * > - * Always true for ve0. Otherwise only a VD_VE_SETUP_TASK of @ve may, and only > - * until pseudosuper is cleared. Exec clears VD_VE_SETUP_TASK, so the container > - * binaries that the host tools run may not. > + * Always true for ve0. Otherwise only a host task of @ve may, one the host > + * sent in while @ve was starting (VD_VE_SETUP_TASK) or after that > + * (VD_VE_ENTER_TASK), and only until pseudosuper is cleared. Exec clears > + * both marks, so the container binaries that the host tools run may not. > */ > bool ve_current_is_pseudosuper(struct ve_struct *ve) > { > - return ve_is_super(ve) || ve_current_has_mark(ve, VD_VE_SETUP_TASK); > -} > + struct mm_struct *mm = current->mm; > > -/** > - * ve_current_is_host_task - is current a host task of pseudosuper @ve > - * @ve: the VE > - * > - * Always true for ve0. Otherwise true for a setup task of @ve and for a host > - * task that joined @ve after it started, such as the CRIU helper that mounts > - * proc for a nested pid namespace, until pseudosuper is cleared. > - */ > -bool ve_current_is_host_task(struct ve_struct *ve) > -{ > - return ve_current_is_pseudosuper(ve) || > - ve_current_has_mark(ve, VD_VE_ENTER_TASK); > + if (ve_is_super(ve)) > + return true; So if argument is VE0 we say yes we have privileges, no matter who we are, even for VEX task. If somehow get access to host root cgroup and it's ve is VE0 we have it allowing us operation. If we somehow see host process from CT this also allows operation on it (ptrace?). AI believes that today it's safe, but still looks suspicious. -- Pavel Tikhomirov _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel