Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp225695lqt; Thu, 6 Jun 2024 01:28:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVd/mq3y9ovOlmzs3x0v4LBsF+2Oci0YLOL1MBUBpAKl1clY8vtwDg+rOWysiorMwjrYXZfksuEKEfLVGh682/WtpDTMjySTcyK2vD6Rw== X-Google-Smtp-Source: AGHT+IEfgo7Sbq+r88GyzP/PY/Bf+3/hxIh7WPUN7VesX+/VVm3NJZ7bKP7hxqcQjwNFqXDbURiv X-Received: by 2002:a05:6358:e823:b0:199:3458:47d1 with SMTP id e5c5f4694b2df-19c6c6af02amr445021255d.11.1717662495108; Thu, 06 Jun 2024 01:28:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717662495; cv=pass; d=google.com; s=arc-20160816; b=f0GXZUP/ONEHeSyPrWBc4hV3s5ZAYEaOTKFrjvJMMF48OVa5+JCsCCAf2AqcPE7K/3 EaCu5/YdSgPdcfjXGXNRoJRf6St5xYxXQg30ro5BWAhHEpP1q6ayRAvGKjxzygI5r++d f//sj+rPRa4t97IYdc97QPS9ytZk0vrHxjYikaUGVjbGqjxQN9ySuitjsLj0fYdXcB1m oQixdau2WMHmmLDjRcQEzkBUfSALkRLhWmOB1Ulg3L0bu+mN/9JraVePgdpTFbSwL9sc ZxjzT8WtFrZbSsRR4r6d3HlzmOfmQE6O2Sthc8sQB40Pot3LEoRVad8/woOYVPjv8c+w OcKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=6jiPdbd20VjozORRerWC26vG1+ezrVORj3LEO3DREF0=; fh=ka34OsseS3FUR7dFtWsAEC/4UAcTjeXOQD93ddRx7Gc=; b=pMv11B6ZIfN8Vyy3xW/BYXDB92Ss6Z2SRAdC4MhHwnDXEBMDndlL0OyZuHmNqi/f8T mzFuNT54k0q1I0EZldfkPd9YJDPeBn9sMKOMGrILmRLg0HragT9lGDwU/oqe2HBfDz41 lh2HOKGa02URCZcKWftvvxHbil+rm2cisBllVrdBF12Lfpc5zGlOr3zZ8atNybYjAqXh ub1MBVg4O0xH9jF4vjHiM85wZOXj939++3rBD0tQTpJ9Pev+v070zr4KYrwV2V0hxvW7 wEUagGm36XX21rbfziL3PKz2sS9cC42PnOWT2tyWJTYrZSgMF7MfmnxaSq1Cww/lRyJ2 GZug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=iq+3N3Ya; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=v1UVVONM; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=DYo2NAoi; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-203824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203824-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2a280d14si758447a12.795.2024.06.06.01.28.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 01:28:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203824-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.cz header.s=susede2_rsa header.b=iq+3N3Ya; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=v1UVVONM; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=DYo2NAoi; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-203824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203824-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 AC9F92852B5 for ; Thu, 6 Jun 2024 08:28:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A6C613C67E; Thu, 6 Jun 2024 08:28:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="iq+3N3Ya"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="o5l2hoyd"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="v1UVVONM"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="DYo2NAoi" 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 3E49E381A4 for ; Thu, 6 Jun 2024 08:28:05 +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=1717662487; cv=none; b=AUfbDSucqfy6BO4oQZkvTjgRxDI0aHm2VQurIsucbPCTJYVlH6uggwU7+Xr3CopBvhq/dpqCs/d2VK/yQ57yyEGVhvuW7O42CLqAwjaQem+A5C9PUK3IIClEXnu5mhR1HVGRIqAdC8iSeDh9IxN6g/GmeGkXUU2HgVYbi+lI08k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717662487; c=relaxed/simple; bh=urVaAz59lmFVtrCwgpcr7cFuKX6dQw6fSOUZw8e5LOQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=emK3arQLfmx3bmV//gxxsyX2QTASEdBPBDCAVJeowv6NkJhWcCd/vpXRl3uxfn1/olpn+fXj0gpaOGzo4xlnKzyrh1bfNSyP8DwxxpVTbWhVe4+mTtGljRxwOyEnOg7gBZbdp+u9HpWniNjQt4coVCqrSz3WxZzgmohz/xq7KBU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=iq+3N3Ya; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=o5l2hoyd; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=v1UVVONM; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=DYo2NAoi; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (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 1851421AD7; Thu, 6 Jun 2024 08:28:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1717662483; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=6jiPdbd20VjozORRerWC26vG1+ezrVORj3LEO3DREF0=; b=iq+3N3YaYHt47ur3L9ka1fOGv8sxQqiI8XCs8dGT6JFsPIbIsHC+ACBEGeaqCOIS8Da7LA GADL+DAmReYhgQjk/jP7ZoUN9eerThBgtpwBZntQcm3mOG5HuRaEYRewLCGpeTsxFQlRrO mbZBq3dJJY+fU1HdDA0RZ/5iYQ58Cc0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1717662483; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=6jiPdbd20VjozORRerWC26vG1+ezrVORj3LEO3DREF0=; b=o5l2hoydoeKnX6bTTgOSElq+zFayICMJEl3d5BOMEL+bszUHHy+h3FHZYxZLlz66polDwA HFtrN+qVOTuK0/Dg== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1717662482; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=6jiPdbd20VjozORRerWC26vG1+ezrVORj3LEO3DREF0=; b=v1UVVONM11N/gFuFmKHSjLltNLpc6F5B4WM6sDq15UBn+YkdMQKkE+AhRHkGcbT3K/Czee p1QbqRufq9QZfWbPpUiFG8zVwAv1a0BrVnugDWUIKnN3VdikX6T7Om9q5qjE4Vln5aSbKm VRECrQ8gKtg91KRsPv4H5a2OmgUeMxg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1717662482; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=6jiPdbd20VjozORRerWC26vG1+ezrVORj3LEO3DREF0=; b=DYo2NAoiAP2OM8rwolgoVWGiaoWEfKdvkMn5CDMMo24CK1Xe6VHhteu3Ok8DYjw57L6DF6 Y5hcksHZZUqrSNBA== Received: from imap1.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 imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id F1C5213A1E; Thu, 6 Jun 2024 08:28:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id uUepOhFzYWZdYwAAD6G6ig (envelope-from ); Thu, 06 Jun 2024 08:28:01 +0000 Message-ID: Date: Thu, 6 Jun 2024 10:28:01 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] slab: make check_object() more consistent To: Chengming Zhou , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Feng Tang Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, zhouchengming@bytedance.com References: <20240605-b4-slab-debug-v2-0-c535b9cd361c@linux.dev> <20240605-b4-slab-debug-v2-1-c535b9cd361c@linux.dev> Content-Language: en-US From: Vlastimil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ysjQQeobXBDDE31t5SBg++veI6tXfpco/UiKEsDswL1WAr tEAZaruo7254TyH+gydURl2wJuzo/aZ7Y7PpqaODbYv727Dvm5eX64HCyyAH0s6sOCyGF5/p eIhrOn24oBf67KtdAN3H9JoFNUVTYJc1VJU3R1JtVdgwEdr+NEciEfYl0O19VpLE/PZxP4wX PWnhf5WjdoNI1Xec+RcJ5p/pSel0jnvBX8L2cmniYnmI883NhtGZsEWj++wyKiS4NranDFlA HdDM3b4lUth1pTtABKQ1YuTvehj7EfoWD3bv9kuGZGPrAeFNiHPdOT7DaXKeHpW9homgtBxj 8aX/UkSvEGJKUEbFL9cVa5tzyialGkSiZJNkWgeHe+jEcfRT6pJZOJidSCdzvJpbdJmm+eED w9XOLH1IIWh7RURU7G1iOfEfmImFeC3cbbS73LQEFGe1urxvIH5K/7vX+FkNcr9ujwWuPE9b 1C2o4i/yZPLXIVy387EjA6GZMqvQUFuSTs/GeBcv0NjIQi8867H3uLjz+mQy63fAitsDwLmR EP+ylKVEKb0Q2A== In-Reply-To: <20240605-b4-slab-debug-v2-1-c535b9cd361c@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Flag: NO X-Spam-Score: -2.79 X-Spam-Level: X-Spamd-Result: default: False [-2.79 / 50.00]; BAYES_HAM(-3.00)[100.00%]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; TAGGED_RCPT(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_TO(0.00)[linux.dev,linux.com,kernel.org,google.com,lge.com,linux-foundation.org,gmail.com,intel.com]; RCPT_COUNT_TWELVE(0.00)[12]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo] On 6/5/24 9:13 AM, Chengming Zhou wrote: > Now check_object() calls check_bytes_and_report() multiple times to > check every section of the object it cares about, like left and right > redzones, object poison, paddings poison and freepointer. It will > abort the checking process and return 0 once it finds an error. > > There are two inconsistencies in check_object(), which are alignment > padding checking and object padding checking. We only print the error > messages but don't return 0 to tell callers that something is wrong > and needs to be handled. Please see alloc_debug_processing() and > free_debug_processing() for details. > > If the above inconsistencies are not intentional, we should fix it. It doesn't seem intentional, I don't see why padding specifically would be different from the other tests here. > - if (!freeptr_outside_object(s) && val == SLUB_RED_ACTIVE) > - /* > - * Object and freepointer overlap. Cannot check > - * freepointer while object is allocated. > - */ > - return 1; > - > - /* Check free pointer validity */ > - if (!check_valid_pointer(s, slab, get_freepointer(s, p))) { > + /* > + * Cannot check freepointer while object is allocated if > + * object and freepointer overlap. > + */ > + if (!freeptr_outside_object(s) && val == SLUB_RED_ACTIVE && Seems this condition should have been logically flipped? > + !check_valid_pointer(s, slab, get_freepointer(s, p))) { > object_err(s, slab, p, "Freepointer corrupt"); > /* > * No choice but to zap it and thus lose the remainder > @@ -1370,9 +1368,14 @@ static int check_object(struct kmem_cache *s, struct slab *slab, > * another error because the object count is now wrong. > */ > set_freepointer(s, p, NULL); > - return 0; Should set ret = 0 here? > } > - return 1; > + > + if (!ret && !slab_add_kunit_errors()) { Also 5/6 of slub_kunit tests now fail as we increased the number of recorded errors vs expected. Either the slab_add_kunit_errors() test above should have a variant (parameter?) so it will only detect we are in slab-kunit test (to suppress the printing and taint) but doesn't increase slab_errors (we increased them for the individual issues already), or simply raise the expectations of the tests so it matches the new implementation. Thanks, Vlastimil > + print_trailer(s, slab, object); > + add_taint(TAINT_BAD_PAGE, LOCKDEP_NOW_UNRELIABLE); > + } > + > + return ret; > } > > static int check_slab(struct kmem_cache *s, struct slab *slab) >