Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp901509lqs; Tue, 5 Mar 2024 23:18:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXer4gBkr2kuX9LrFUNNUrzwpjo8UyNlmI9yOkFcdI9Bo2xhXNNhrJM8A2xRtD08ny2torF4BgcyQl0PycplLhXFhBLM1zGhTyLaMwJsQ== X-Google-Smtp-Source: AGHT+IFXY+Vsu0zFs6JebMeK8wzEDvO73sucoPtREvKCbOfv/IK3iO94tn637Tq5dqdjdzGIV7Ys X-Received: by 2002:a05:6a20:6d07:b0:1a1:4422:66de with SMTP id fv7-20020a056a206d0700b001a1442266demr3318102pzb.48.1709709530511; Tue, 05 Mar 2024 23:18:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709709530; cv=pass; d=google.com; s=arc-20160816; b=YcRrn7cmOOaBEBMAOYl3HNLcZVIr1K4tMt3ZlsGGUSsO8jv4qrUMCmNBs3TqE4vsU1 H6uzON+Whqt3c7FhqrAVPuae8BMaQ9EB1G+BcQ9BOUtEleic3pDQxIpE06jVWz3nwDLO NaTw5sdC+3OppBrqH/j1gNEgQjHZaJ8nsDbCNRorq7YHfyN8/gIEmtP5ArnbtmqThQu7 Tv9qgKpD0MFa+t77deMQyQHu5KrSVoc80TGzpkPCmPYHsd/o+56oC9KoZa/uPHYMJXiZ 1pQSiqtI0xleOQvYKgia1R06/gaEkCfs0hIZC5G7Xoh+gdBTuSt4/UZpUMyCSVIYBDq1 Lx2Q== 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:dkim-signature:dkim-signature :dkim-signature; bh=dUQr1xvU/HmWnyZi7rd9MHflgE+MVTNA8Pa29gacj80=; fh=3qUQi+eYpEQb9NBMuV35OfHte1Isg97WoUNqW8CEDJ0=; b=s/+gKxrsefsW1K0zYKUbhD2P5C31LOb5osV/pOX41/3KZroehLeSfLCVQXfV2FrZMz Csj+YvwKuBMGzjfWDykS/5qj8/WmeCqe4qmSGDEnodBgupQ9vFqGdMfluggmtVIhMzb4 pU9He4lun1b/URZdMMCXgXa0zEn++E7UYpkad6X7eeK0CosqDSHSNWbYsOM98BXnSUEz YnkxdHfpGAxSMjnOocIfJAbPQGGYuSx/lRRa38tDpDb+rKb6ECJH8sIqNyTHTOTPlFtA ehfqRNK9ZU0XeO+arStO3uV9ZEUBNkPaVzjhfI5Xg8wXquKn1B1cI5q5zB0nfaTHRyPQ 0RBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=KojWK95l; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=KojWK95l; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-93414-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id gu11-20020a056a004e4b00b006e3b0284fcbsi11316053pfb.346.2024.03.05.23.18.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 23:18:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93414-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=KojWK95l; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=KojWK95l; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-93414-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 8CB682824AC for ; Wed, 6 Mar 2024 07:18:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62A855C60A; Wed, 6 Mar 2024 07:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="KojWK95l"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="qDCwZvlf"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="KojWK95l"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="qDCwZvlf" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1501E5BACE for ; Wed, 6 Mar 2024 07:18:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709709506; cv=none; b=F46iQLpDizUwqxhkpD1xYfmF254yNZyFcIWYvrxC709qbBGWH7rQT69phx45mrZHlrFYTPNV86ROdxMXOD4HW2KOg8i4lmGE3v+NMhrr+RpR3n9OpQ+/EhMUTTRd6S8hZttT9Vi8wlv/lYqw7EZH+8vlmA9s7EX9c/Q79rHqVFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709709506; c=relaxed/simple; bh=AXYajY2U+Z5syUU9moej2Uf1Mod4PTuKh3eK0Bnxjek=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=db3JeqLKUtbvaS5p1a/OEP2RJnfx6Nc70Gnya9cyldrIgPIXKOJQWES/VeIA1MkCf5mm30UuG8d4pKfroIUykOlFUVWOQT8dXXOAaU8IAXcXg7tCWUR/3agco2wFPkS+hKJ3QcpVO2pboSaBzDeAff7NoL5KnV926+6xaUQN3dw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=KojWK95l; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=qDCwZvlf; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=KojWK95l; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=qDCwZvlf; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de 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> 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: Authentication-Results: smtp-out1.suse.de; none X-Spam-Level: X-Spam-Score: -4.07 X-Spamd-Result: default: False [-4.07 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-0.988]; RCPT_COUNT_SEVEN(0.00)[11]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[intel.com,lists.linux.dev,kvack.org,linux-foundation.org,suse.cz,gmail.com,google.com,suse.com,vger.kernel.org]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-2.77)[99.02%] X-Spam-Flag: NO 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