Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp740081rdb; Fri, 26 Jan 2024 09:11:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQ47Ugc4WIQ62Ip0emFKkcwfbI/ouSPNhFqOS3RE/SCHYzxLvcbcK5zbx3Xdsb5Db46L4M X-Received: by 2002:a05:6a00:1788:b0:6d9:b0cb:8cde with SMTP id s8-20020a056a00178800b006d9b0cb8cdemr1989671pfg.18.1706289098699; Fri, 26 Jan 2024 09:11:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706289098; cv=pass; d=google.com; s=arc-20160816; b=pdPvuuA4Kf1jxCdFaQ8KBSJDqilu9K2oa70Pkr94piPB29edqCqo3N8Wvn/EjLATC+ MZg1KX48oqV/llzORsN2aA9OiFKEW1adzgJxkFM7B8Bl1Sk/yFWBGTxG9oFyEOZsXoJO NGNjL8xBjtlHaXa+NGdpG/rH+4RT16R5ooLVW7YMBb8Pg6ms97JhQTa7BLVLpuMFwKKM G5xwJD2BiNygJyhhTRQETMfXvwYiPA+hkhE1pSovdkJ8kNcors47CBrlH/sOAg/5tQ/G HmQkQ8vf0kVApCMHuZbtcKOU1uM4sp6ulVNqmTbrHWhPjlZIo2n7ynMpiHig6vUcIbem kdYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zrATycB01Oq4j4FeneTzWEUxpwPXiI/UPirn0ViraPQ=; fh=vh34dLG7ee41KOkLSVfvNGb7yu5cb6Z1FESNgL8GDr8=; b=AjOhnfKQF17AnRWaYYu1ixW5kfoXonndVnhnjnjN6ctjazVwv2cs92bmIdX/D5pOe/ XrYSovfmxNWEyv2W+oHSpEGwxUo08bbchNhRAZFCX4jowno+4sGnTlQhnev3Bzvn96RZ rpZjMdC3xiOeonkF4di/7Us1oEDA9cIYpsVJWMkntiG4XFuArAqTh5rAA43DS6Pfcf7p mLfe1IBOVTNRucgKMLN4wdxfsMxLOda/35K22CzYb18cYkKcVo3sfHM7P+lQKyWwNcbE jRxN/TwU5rciAbVHrfYoEXZCvS1tdFWp4LQbzBVSlDaiD0HwRNHmwxaUkjbBau6IIEIG 1RsQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="Mizim/PE"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-40401-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40401-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 69-20020a630048000000b005bd039e5a04si1418669pga.622.2024.01.26.09.11.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 09:11:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40401-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=@infradead.org header.s=casper.20170209 header.b="Mizim/PE"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-40401-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40401-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5355C281D90 for ; Fri, 26 Jan 2024 17:11:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96CAC20303; Fri, 26 Jan 2024 17:11:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Mizim/PE" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 DE4C21EB55 for ; Fri, 26 Jan 2024 17:11:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706289080; cv=none; b=sCjwSHLR+suAVUKKYI/aUgwGj0nIEz7l8NSU4I3t1qu9E9X5hDlLwdc5EPnlV5Do9CFMRkD60MUSjSsLBf/Rp2r7mJB4RQCncab62LkOEB/xXtXQ4aRZYzIpWT33APa+G1Mm0p5hoVqq/1UzMmiCMROwgRh9fQNY+fIqLvdtvTA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706289080; c=relaxed/simple; bh=0xnwHPO9EHtMCiD14Ip4N3gyftO2gndKycahftIn+aA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jMDGdoPIRjOkWa7xNpDOw33kv6GJs8AqwMW+nV/MSY541fL01mtYhSxv9UrqMjOFx52GuBngmTNCrbTX2hHd8hYxlE0KcRuajNQx8UtRQKmdAmU54xaDYlfzVl1QRSRuhWsL9BFrMf5Q7tqd9VLjLXpBMJ1YIjUkorhfFE83QPA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Mizim/PE; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=zrATycB01Oq4j4FeneTzWEUxpwPXiI/UPirn0ViraPQ=; b=Mizim/PETvaSoJxj3lKnEjL17x VbhXRSDHp3brWIJMgndN4g3NU9NLxulg1HAaz+ya9sIQAM1ehcFewCVHOLRd+smjh+QZfuNzLKtGo 8yJ1oJ+zgO0DdVGl+nE+2pUwS7Q2mwzo0GLdq+596sRVw7XBnuylRET01oJHlapEFvNE83rPf/xbp qpIDvq8yv63maY3wyHJ0Vxrzrexy+F4jjuE8qpX0SFIyMwUIUdjalRJ56VB+fCwrVlk6uhe3b3L7P cctt3t1llmtnILpbYbtHUE7fs1BcFNzBsoafxaXwdjGPdwbu2mVnDS2V/UynFiIYqs5zJc8k5fyB5 nr0WfXiQ==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTPjW-0000000EHJ0-2Q1F; Fri, 26 Jan 2024 17:11:15 +0000 Date: Fri, 26 Jan 2024 17:11:14 +0000 From: Matthew Wilcox To: Chenyuan Yang Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, syzkaller@googlegroups.com, Zijie Zhao , John Hubbard Subject: Re: [Linux Kernel Bug][mm/gup] 3 Warning Crashes: kmalloc bug in gup_test_ioctl, is_valid_gup_args, pin_user_pages_fast Message-ID: References: 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=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Jan 26, 2024 at 11:04:53AM -0600, Chenyuan Yang wrote: > Dear Developers for Linux Memory Management, > > We encountered 3 warning crashes when testing the memory management > with Syzkaller and our generated specifications: These all come in through gup_test_ioctl(). It's my impression that this is something you can enable to wreak havoc on your kernel and it's not something which should ever be exposed to fuzzers.