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 40786C54E41 for ; Wed, 6 Mar 2024 07:18:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 902896B007D; Wed, 6 Mar 2024 02:18:27 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 88CE26B007E; Wed, 6 Mar 2024 02:18:27 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 705436B0080; Wed, 6 Mar 2024 02:18:27 -0500 (EST) 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 606136B007D for ; Wed, 6 Mar 2024 02:18:27 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 321E81209B7 for ; Wed, 6 Mar 2024 07:18:27 +0000 (UTC) X-FDA: 81865761054.02.F89AB12 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by imf30.hostedemail.com (Postfix) with ESMTP id 05A5E8000E for ; Wed, 6 Mar 2024 07:18:24 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=KojWK95l; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=qDCwZvlf; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=KojWK95l; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=qDCwZvlf; dmarc=pass (policy=none) header.from=suse.de; spf=pass (imf30.hostedemail.com: domain of osalvador@suse.de designates 195.135.223.130 as permitted sender) smtp.mailfrom=osalvador@suse.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1709709505; 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=dUQr1xvU/HmWnyZi7rd9MHflgE+MVTNA8Pa29gacj80=; b=wq+L+kAAgc2Ekq6Ka0uDOagFfq4njSz+RxnCw/3j/y6SNFFH5+KKphI5bkMHpSy3E9XRwX XqsXrJGhkcQCZ+mpLHOXPie/hsbYZXxqHBsEhxnp7kC7mNT0D/HdkpBx09xGZSEC4paGzw JW7IWlA7obdBeKCpRjGHVEi4SldCIFg= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=KojWK95l; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=qDCwZvlf; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=KojWK95l; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=qDCwZvlf; dmarc=pass (policy=none) header.from=suse.de; spf=pass (imf30.hostedemail.com: domain of osalvador@suse.de designates 195.135.223.130 as permitted sender) smtp.mailfrom=osalvador@suse.de ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1709709505; a=rsa-sha256; cv=none; b=CfIbx5702dE9OmDyKFqhmzPgc5T6BViQ8EX6swyU5KHNMn3jtAttnSyLgQnsfEwJTSkmxt MWOZ0M0tpvPtCRmeJuntTxQfpIHe7Z2l1hiteaGeGqZjojvOQYpDD3LVZfJki/okezC9z/ dLiVjAzogM4tGe5yD1GUVJhKzvjenHY= Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 46AD24D86C; Wed, 6 Mar 2024 07:18:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1709709503; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dUQr1xvU/HmWnyZi7rd9MHflgE+MVTNA8Pa29gacj80=; b=KojWK95lbUNcOhMutLDRrgPCMAPSG1jqiIoD34bkBaZ4fBXOZ2L/OcI/1OuoS+YlVqxBqE 8IDpzhsB6TLp21oHWo73h9ZQATbCGfVjAdmNPrt3/xSf9idBtRWabYs24s/s03xuTizJM6 uuvpmApegmidEs/pmhJiih4gnCrlHkU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1709709503; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dUQr1xvU/HmWnyZi7rd9MHflgE+MVTNA8Pa29gacj80=; b=qDCwZvlfBUkSpmw78ZJs6fUm2b703Y94syoIkkIuDyBBeVKX7qclC6qJrufpy9L3HvdW8k o6lxXRFAAXLoXgCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1709709503; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dUQr1xvU/HmWnyZi7rd9MHflgE+MVTNA8Pa29gacj80=; b=KojWK95lbUNcOhMutLDRrgPCMAPSG1jqiIoD34bkBaZ4fBXOZ2L/OcI/1OuoS+YlVqxBqE 8IDpzhsB6TLp21oHWo73h9ZQATbCGfVjAdmNPrt3/xSf9idBtRWabYs24s/s03xuTizJM6 uuvpmApegmidEs/pmhJiih4gnCrlHkU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1709709503; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dUQr1xvU/HmWnyZi7rd9MHflgE+MVTNA8Pa29gacj80=; b=qDCwZvlfBUkSpmw78ZJs6fUm2b703Y94syoIkkIuDyBBeVKX7qclC6qJrufpy9L3HvdW8k o6lxXRFAAXLoXgCw== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id A25E613A79; Wed, 6 Mar 2024 07:18:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id RozhJL4Y6GXlCQAAn2gu4w (envelope-from ); Wed, 06 Mar 2024 07:18:22 +0000 Date: Wed, 6 Mar 2024 08:19:37 +0100 From: Oscar Salvador To: Marco Elver Cc: kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, Linux Memory Management List , Andrew Morton , Vlastimil Babka , Andrey Konovalov , Alexander Potapenko , Michal Hocko , linux-kernel@vger.kernel.org Subject: Re: [linux-next:master] [mm,page_owner] 4bedfb314b: BUG:KASAN:null-ptr-deref_in_init_page_owner Message-ID: References: <202403051032.e2f865a-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspam-User: X-Stat-Signature: ot5wrz64tsdow4awzdqstjb6qy3m8aoi X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 05A5E8000E X-HE-Tag: 1709709504-908246 X-HE-Meta: U2FsdGVkX1+NgYEzsZlTWMrxliisMGeO95RyKbvoPo7YGmMPdZWD1787uy1hlrbI4KMkMTJjZW8SOIuTx2hcj1XgTXz2mOdMG8GF1IB9p6cal3Ez8DFnav7YudR75YZBwBWSQMJxuF2clUzRrNSxg4OqoBCu+qIp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=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Tue, Mar 05, 2024 at 07:38:42PM +0100, Oscar Salvador wrote: > But they point out to > > commit 4bedfb314bdd85c1662ecc46fa25b33b998f994d (HEAD, bisection) > Author: Oscar Salvador > Date: Thu Feb 15 22:59:03 2024 +0100 > > mm,page_owner: maintain own list of stack_records structs > > which the only thing it does is to retrieve the stack_record for > {dummy,failure}.handle and increment their refcount and link them. > I am pretty sure the problem comes from either dummy_handle or > failure_handle being 0 and the stack_record we get is NULL. Yes, jfyi: I "artificially" reproduced this by making dummy_handle explicitly = 0 again. And I see that KASAN points to the same location. I am kind of surprised stackdepot ran out of space that early, but I guess we cannot take anything for granted. I am alrady working on a fixup to now blow up here. -- Oscar Salvador SUSE Labs