From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23E4CC433EF for ; Sun, 12 Jun 2022 18:44:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A8DD86B028E; Sun, 12 Jun 2022 14:44:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A3C0F6B0290; Sun, 12 Jun 2022 14:44:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 92B5E6B0291; Sun, 12 Jun 2022 14:44:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 7FB916B028E for ; Sun, 12 Jun 2022 14:44:23 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 5177660990 for ; Sun, 12 Jun 2022 18:44:23 +0000 (UTC) X-FDA: 79570459206.06.9BAA70E Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) by imf22.hostedemail.com (Postfix) with ESMTP id F1AADC0099 for ; Sun, 12 Jun 2022 18:44:22 +0000 (UTC) Received: by mail-vk1-f173.google.com with SMTP id b81so1762586vkf.1 for ; Sun, 12 Jun 2022 11:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QCktWd+n5KgBQynLnBWE6RqZZ6FNqdKAToR40bXnybk=; b=rE4ZKOj9G5jD2nQ2CRonznQYOzu8A5GJ78TYm6TMyjo/YSz1Ke2AwnEVVmeUxKnSOs VU/PnveGAuCXod1sYTPGF4SYY8Kayhou1MRw9NRbhAp0Vs8rJ40+iNxr80I3A/bPOSSB XoFDipXokhUzLcWqJF7Zu8Uwr9IsUndy2MMK73MNeo15l2oLqBbu+vxpxNojHhWOTb8Z 3ZZ38lETVABRQispRTHE7nDOwCPrm7B0YGH0RBwW3xdOdgnfhWn91GJMKXDPxvEMusZa CghG+0ks70Y5Xz1TD3ibb9iy2EdpA9EEKYosomjlT7bknvtajQYIP5zCK183nPtzrdiS jC3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QCktWd+n5KgBQynLnBWE6RqZZ6FNqdKAToR40bXnybk=; b=o4kenaJn7wT17Aq+aKUcO0h3QZr3Q2RROtcPtNVO6Er99fJDZtum2kItrYna0TCruq QzkT6y8aN52OdCFOllU8mZBLzafJUL0vLWEnL8RwgoSI9uq/dLTCZlBLW99MRAKC677t EudZG5XUnoBHTLJhdpkCweWgutM46GL8cA20Na7ph0c1rcYRLmv2Nm7p/YTPNzkkV1Lu e1fs7If/5ntKVUn8q8a7vH8LsAOCcuzisnMDE5ydFmTJiQmNS8mZ69KYST3YU5HOarO8 DD0GnTKfdOk5hNrKr7bnBpjTo+gK6hxi6qMU46ydzFGP94izkxMPDVH7ZotumSRmrZsx Si3A== X-Gm-Message-State: AOAM531ATSz0a2I4M0MFwLbdneGgf4hI1MZAb+x6k5mPSnEWRSV9z8Sg jIcUxG4L5g1lY0yhZ0kYcaDns2dO1guqi6Mrg3EJTg== X-Google-Smtp-Source: ABdhPJzZ/47s2snJvZ7uwTxgvT6BhXeoHrhBRaplai/C7kYtFaFHZUC6p8rFmt5CyUlbVZ4GknNgi/R9kqTEL6R3Zxk= X-Received: by 2002:a1f:a504:0:b0:35e:4fd4:d3bf with SMTP id o4-20020a1fa504000000b0035e4fd4d3bfmr12696376vke.7.1655059462057; Sun, 12 Jun 2022 11:44:22 -0700 (PDT) MIME-Version: 1.0 References: <20220606151312.6a9d098c85ed060d36519600@linux-foundation.org> <20220608021922.n2izu7n4yoadknkx@zlang-mailbox> <20220612044230.murerhsa765akogj@zlang-mailbox> In-Reply-To: From: Yu Zhao Date: Sun, 12 Jun 2022 12:43:45 -0600 Message-ID: Subject: Re: [Bug 216073] New: [s390x] kernel BUG at mm/usercopy.c:101! usercopy: Kernel memory exposure attempt detected from vmalloc 'n o area' (offset 0, size 1)! To: Matthew Wilcox Cc: Uladzislau Rezki , Zorro Lang , Alexander Gordeev , bugzilla-daemon@kernel.org, linux-s390@vger.kernel.org, linux-xfs@vger.kernel.org, Andrew Morton , Linux-MM , Kees Cook Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1655059463; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=QCktWd+n5KgBQynLnBWE6RqZZ6FNqdKAToR40bXnybk=; b=6HbzYQiJkKrujYwNWWHD/LCocFXdBW9KcftLDjzbTn0ODzAnyn015YSjYIuPZFWRq4heCF RnhmuM8ZRHByCAzGxSpsfzAhyy4nsluTSDFQ361czR3k1ClquTVKWn6Gu0ltkCd6u4TinV DGZp2iBRET0tYKOiqjizVpLvU8UDkvU= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1655059463; a=rsa-sha256; cv=none; b=IIPUXKeeSD1tgfaKSbkdFb77r2vIzBJ3JZtX07o4jA9jTnmatfhZc1bTxwkj1vf171eQ0d bTVC1/D0yF6W+vHLx12qej6981pP6H29KKF6djgpZOW2sm3UomrvXXr46rvnncdm4U/70t opH62mzL2ihKflz8/o9RN09ZgUooT60= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=rE4ZKOj9; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf22.hostedemail.com: domain of yuzhao@google.com designates 209.85.221.173 as permitted sender) smtp.mailfrom=yuzhao@google.com X-Rspam-User: Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=rE4ZKOj9; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf22.hostedemail.com: domain of yuzhao@google.com designates 209.85.221.173 as permitted sender) smtp.mailfrom=yuzhao@google.com X-Rspamd-Server: rspam03 X-Stat-Signature: sejrrcp87qpgjtb5wq1nbyrmucr9r711 X-Rspamd-Queue-Id: F1AADC0099 X-HE-Tag: 1655059462-876608 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sun, Jun 12, 2022 at 12:05 PM Matthew Wilcox wrote: > > On Sun, Jun 12, 2022 at 11:59:58AM -0600, Yu Zhao wrote: > > Please let me know if there is something we want to test -- I can > > reproduce the problem reliably: > > > > ------------[ cut here ]------------ > > kernel BUG at mm/usercopy.c:101! > > The line right before cut here would have been nice ;-) Right. $ grep usercopy: usercopy: Kernel memory exposure attempt detected from vmalloc (offset 2882303761517129920, size 11)! usercopy: Kernel memory exposure attempt detected from vmalloc (offset 8574853690513436864, size 11)! usercopy: Kernel memory exposure attempt detected from vmalloc (offset 7998392938210013376, size 11)! ... > https://lore.kernel.org/linux-mm/YqXU+oU7wayOcmCe@casper.infradead.org/ > > might fix your problem, but I can't be sure without that line. Thanks, it worked!