Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp16463pxj; Wed, 16 Jun 2021 18:58:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYX4c/9DaN8rEA24tAsR6u67T7OrW5BZ/wqZd7wkKIOO8fT8Jtehpo+2qsqKf5gnh5JkiS X-Received: by 2002:a17:906:4dd1:: with SMTP id f17mr2410060ejw.528.1623895113579; Wed, 16 Jun 2021 18:58:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623895113; cv=none; d=google.com; s=arc-20160816; b=W0lO41BPHjLf3n3q8FQCh1pUE0EdvHnm+xa7hUe5OrMph9iSuYxBcxNA5i/uNtlEAB BNqEQjfhxBoHXRV4k7wmCJqW9TDDk/1i+5zcyey43ZEvW+Aij8hmxHQcnDHao835zgS+ v4SlltkWy51NgI6BsCWu8qBDqjELrmVTBEz0QketNKIaY/YnmoGmDJ7BfXoCbEZXgxew lCx3rFsaanuBNuw4YmVullf0GMXyBmFeqqCgiv0tPLcWr5PbXI7JKllp8QVTFCgTKrJS lXvS2S0DUOGes/kwZ9Sd32VjpqWhF8eSg9l8SktXHPQLYL/75rgwO7dBZERTpNIxqyV3 xndQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=qb5d+U0Id8lIqAWfxQheAcWONeEcboJpT5+z508o/Ww=; b=z4D7UVVvHSrXhkK3OsgieTMzjW+/+xb+eMtlNRIbyYqdQs1zRuHC2KW+uSRvej1ueF SfTRk1X99n116EpLMaQgVOLm1QHY6YzoncSOAnzbWndrZHR7jLqdtVk09YryPWRTJ4O/ 3tt5cb5LYPc67HkJWX0BEkzqWwdupI2TZgGrsrXcsIFCxma7M4Eo1sRuI+xwOnQ+wry1 EOOqXu1XbKe2ENzcAK6XybdazUt99PCzomediqZzszcYwspPwx/qdYv041IAEQaj38Y9 tfajt7ggMmf88T+W5SuEypHvxix4bAxw+gYhiuiOPNueiCgkmuzfrNFZy6HNOBWH37e9 Hpuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HQF8dUO0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si3698619ejn.13.2021.06.16.18.58.10; Wed, 16 Jun 2021 18:58:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HQF8dUO0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232745AbhFPTnO (ORCPT + 99 others); Wed, 16 Jun 2021 15:43:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231262AbhFPTnN (ORCPT ); Wed, 16 Jun 2021 15:43:13 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96131C061574; Wed, 16 Jun 2021 12:41:07 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id x19so1658468pln.2; Wed, 16 Jun 2021 12:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=qb5d+U0Id8lIqAWfxQheAcWONeEcboJpT5+z508o/Ww=; b=HQF8dUO0vj/JLY5AGo7v2s8QQaIzYV63qYOxawNXAC3aRARyE+nU5hzCMBYgwpOUA+ q8nRzMkhc/tm6xxqwnopRUIz9WhF/HjXQjuanWT1+4mEkJ0UbKeZivFfZx94lhKOnQOP Ts7ZOjGA+YuFjIs9CLzBW3fINp+e9Um330Lz/Ig9wIZRxuRqLJJQam+5oQ2mzJV7WY1H yGwhgdKL8GJ1aWOeIyR1DNwwTwqNOo7pvB7p1J30SaPr82rNVxB7EhI/vk2o1PYt2hoc pp4iCipOjQ4/v83k/wL7M+dB89WD9kEBv4C8g2FUeiatzg/lKnEzH/64bvnzamhh106y ef/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=qb5d+U0Id8lIqAWfxQheAcWONeEcboJpT5+z508o/Ww=; b=iYENDc5yElHPjw4YOGF82Qg2SfN9ravFncjx0gC0p/ww89ZHuTJVcq2Lc51syH/G1o rws5ujpPSHK4QLJj4NyCsTd42pdfCJR9zmwvs+f94SSj7TSk21IVqjb6OHV2bOfA8CQr YMHyyaBzHfusBYIC630haeUMfkKIReyNCi3SqZxMn3BS/l352VpR7pcj389sna7LOK+c wp07OXWOdTsEqeYgQ0r0CRzaVPdzirska+/pCBnvSCmKPo9gV91KEUfJOh2X1vU4n1Y+ HekSh3bZG8tuLF+4EJvjR4QfH5aMIrIZi4zTBRJFj0fNZlaZ7t4nmK+QYqsQOFqhpBeg bpPw== X-Gm-Message-State: AOAM531djmFcUav1tZQxXOEN4EKJ/ofDpnkdmU3ahvOX9pBRt7Wm+wl6 LUiub79CTJBjU7K35m75zX7uZRpocHJeTw== X-Received: by 2002:a17:90a:9f8f:: with SMTP id o15mr1473325pjp.55.1623872467040; Wed, 16 Jun 2021 12:41:07 -0700 (PDT) Received: from ?IPv6:2001:df0:0:200c:9d12:c2c8:273e:6ffd? ([2001:df0:0:200c:9d12:c2c8:273e:6ffd]) by smtp.gmail.com with ESMTPSA id c14sm3086391pgv.86.2021.06.16.12.40.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Jun 2021 12:41:06 -0700 (PDT) Subject: Re: Kernel stack read with PTRACE_EVENT_EXIT and io_uring threads To: Geert Uytterhoeven , "Eric W. Biederman" Cc: Linus Torvalds , linux-arch , Jens Axboe , Oleg Nesterov , Al Viro , Linux Kernel Mailing List , Richard Henderson , Ivan Kokshaysky , Matt Turner , alpha , linux-m68k , Arnd Bergmann , Ley Foon Tan , Tejun Heo , Kees Cook References: <87sg1p30a1.fsf@disp2133> <87pmwsytb3.fsf@disp2133> <87sg1lwhvm.fsf@disp2133> <6e47eff8-d0a4-8390-1222-e975bfbf3a65@gmail.com> <924ec53c-2fd9-2e1c-bbb1-3fda49809be4@gmail.com> <87eed4v2dc.fsf@disp2133> <5929e116-fa61-b211-342a-c706dcb834ca@gmail.com> <87fsxjorgs.fsf@disp2133> From: Michael Schmitz Message-ID: <594ca040-3ad3-5cfe-2b9e-8e7804c199b5@gmail.com> Date: Thu, 17 Jun 2021 07:40:57 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On 16/06/21 7:38 pm, Geert Uytterhoeven wrote: > Hi Eric, > > On Tue, Jun 15, 2021 at 9:32 PM Eric W. Biederman wrote: >> Do you happen to know if there is userspace that will run >> in qemu-system-m68k that can be used for testing? > There's a link to an image in Laurent's patch series "[PATCH 0/2] > m68k: Add Virtual M68k Machine" > https://lore.kernel.org/linux-m68k/20210323221430.3735147-1-laurent@vivier.eu/ Thanks, I'll try that one. I'll try and implement a few of the solutions Eric came up with for alpha, unless someone beats me to it (Andreas?). Cheers,     Michael > > Gr{oetje,eeting}s, > > Geert >