Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp229513lqt; Thu, 6 Jun 2024 01:37:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjZvtmZiaQuzwcSPcWQsQD6qE53zi0IAwPhHScQC5mliUVkKCDAIQu/iihtSAmQpBjCgx4xp3pLzpP2gABTJtDAU7As5MIKCoGESealA== X-Google-Smtp-Source: AGHT+IFBlxqkLcRYqjuX0NhdaCo9wje6xRFTS5n2BVhoUYfYM6r/2epAjuk+l/Abr+I2NMom63ce X-Received: by 2002:a50:d495:0:b0:57a:1fef:619e with SMTP id 4fb4d7f45d1cf-57a8b6a7222mr2672106a12.18.1717663037008; Thu, 06 Jun 2024 01:37:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717663036; cv=pass; d=google.com; s=arc-20160816; b=yUSi+fUShHc7drKqpT89OBji/IoqwL6rRR/DTTl+MAWv4+diZI/tDxYnDfPAPojP0e cvpSt8GbDddGMWl5W9WASI23jyFS53lPclDHLgRHXZSyZiO1VYTIQ0nPwrrg1g0uUash 3ft9ZRAPxWKO87/FFVfWCBd1FYkh6m/Y/bVKdj1HjS9qA7baS5KfFJM0cwcE6jB1z7uw 5uXCGiFvpBEg5CUE9jPR4lyqna0YQUOnQBLpUOS0iPKa6klJLZvQILvTG/BVQRH7PSfp gAp0LcrRCUHJQVJ/B6dnDzXKE7FpNO4Hlu+ZdTI4FljDvMDEeuMIZwbMgCA0AeoIK2n9 co2Q== 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:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=y7WK71CX1bWFgxub7m1jJiwAutqf8GRVZ6L2udibCoE=; fh=ka34OsseS3FUR7dFtWsAEC/4UAcTjeXOQD93ddRx7Gc=; b=whxhIiFaTojikrZv0v/8BI7Y1Xn+RVn5Dh1PLxsx64CftMlcojLfolVE1YIM05u17q vyhjXtFaSihMnudof0i0UP2pXIGg52lmRenF/haG9NmdkSAj4xcEtYj4dLYNXyvgsghu Fhh4pQlRvXHAAtejC2d/0jakGhmuYLU5SHn7yvS/rq6eyU1VtK4mBP9dBhVSIObPiaX0 hcvB6OlVGKGGfmjuqTN9XTR19Jl6VPeLl907Nsgfiv3ElPvXya0kXyXotrKXw1wXbA+5 qo4IVjDwtjPESlhj838Z6otG5E+1utFrf7fK69yasN/Hjt6Kz5raKroZCw5nHkomo9uR 6M2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=1+yU8Cs3; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="aZz9x/m5"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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-203840-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203840-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae1febe7si468058a12.230.2024.06.06.01.37.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 01:37:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203840-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=1+yU8Cs3; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="aZz9x/m5"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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-203840-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203840-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8BE751F23FB5 for ; Thu, 6 Jun 2024 08:37:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D409E13C80B; Thu, 6 Jun 2024 08:35:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="1+yU8Cs3"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="D38aEflB"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="aZz9x/m5"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="fOo/jCg2" 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 E212E1DFEB for ; Thu, 6 Jun 2024 08:35:34 +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=1717662936; cv=none; b=UIZI5yPqIIy5cPDKVxAE8WZKLRvC1AKOjpSJ/goshHtCQEGBl1isFf+YOnfcM0MeWw/qFjSmc6FLhgBvQAxpT/8tDJTxnL3FXzkI+h5WGtNV34lvIeeWM5PNpT7KemX4KT/d0vVpgA+3py0f96zt5gB+QHFIHvwUdbjUMANasLo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717662936; c=relaxed/simple; bh=EwO14/mEgbQRHzXhPbzNnk8eNjPwE+X1Ypz6bQX5UkM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NRjy/nonughP2XDjNjeI6RW1IzXTDN/2j+Fz4xruRqldVunWgfD7h2S8WlT19urBafm7jvpth76K/grsjgX25UwUxJVWjLflfhEWwa1PuT2ocrPqBHKqjxz3mPBWw9rVnk81ReKJ+pOLcR4jLgilzcBlxfz7rPcY/xw7ZHRLrRg= 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=1+yU8Cs3; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=D38aEflB; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=aZz9x/m5; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=fOo/jCg2; 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 2592021AD8; Thu, 6 Jun 2024 08:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1717662933; 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=y7WK71CX1bWFgxub7m1jJiwAutqf8GRVZ6L2udibCoE=; b=1+yU8Cs3Fnfu77s+0HXV08KzmvPMw4TTCk3Cajtn8uXj2eN3e5zBeRJa/x5cLu8cI26OyJ 0T5MTNl01fDdZsEDRwr0VasgO00DsbH9ZwxN9Udl0cVugFuMeqpcW0yqWCIhgOI33NgCyM ctGYewYBr+mHFUPkoY9UiTvRtOXim1A= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1717662933; 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=y7WK71CX1bWFgxub7m1jJiwAutqf8GRVZ6L2udibCoE=; b=D38aEflBbVq6FR9fgQijRg7PQh/cIBqQ/6drnOB9uq4F1IYZssfil/+9kjYwrJtCFAGhW6 QAUDpDV0o0j9X4CA== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1717662932; 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=y7WK71CX1bWFgxub7m1jJiwAutqf8GRVZ6L2udibCoE=; b=aZz9x/m5tfre4ZFI2mQS8qD9g0d7CFHDBBh5g+84pap6U+zxtU7V2pxNVH/SBjdjiGTRRY SUrFqjg+5IdrF/2f/1lV2YdFV+2qw02ZUrmRUI/LgQWcyWPqpmHxEkd3K6s5L43rKOa0tZ Wmxn5cwmCrt5I0lu5Haul+Sk6ppwp3g= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1717662932; 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=y7WK71CX1bWFgxub7m1jJiwAutqf8GRVZ6L2udibCoE=; b=fOo/jCg2XkK24Xb5Lc2XfrsaUS8ZJisGpxBZk9XXhAAyK3D36+cRBk7aoPI0MQOPLnWDJx kwl19X88vkddTIDw== 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 0F16713A1E; Thu, 6 Jun 2024 08:35:32 +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 jIFHA9R0YWbTZQAAD6G6ig (envelope-from ); Thu, 06 Jun 2024 08:35:32 +0000 Message-ID: <96b67998-213c-49c1-8f67-07d43f89715b@suse.cz> Date: Thu, 6 Jun 2024 10:35:31 +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 2/3] slab: don't put freepointer outside of object if only orig_size Content-Language: en-US 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-2-c535b9cd361c@linux.dev> From: Vlastimil Bab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jQQeobXBDDE31t5SBg++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-2-c535b9cd361c@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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,suse.cz:email,intel.com:email] X-Spam-Score: -2.79 X-Spam-Flag: NO On 6/5/24 9:13 AM, Chengming Zhou wrote: > The commit 946fa0dbf2d8 ("mm/slub: extend redzone check to extra > allocated kmalloc space than requested") will extend right redzone > when allocating for orig_size < object_size. So we can't overlay the > freepointer in the object space in this case. > > But the code looks like it forgot to check SLAB_RED_ZONE, since there > won't be extended right redzone if only orig_size enabled. > > As we are here, make this complex conditional expressions a little > prettier and add some comments about extending right redzone when > slub_debug_orig_size() enabled. > > Reviewed-by: Feng Tang > Signed-off-by: Chengming Zhou Reviewed-by: Vlastimil Babka > --- > mm/slub.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/mm/slub.c b/mm/slub.c > index 7fbd5ce4320a..704c662227e6 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -5152,10 +5152,9 @@ static int calculate_sizes(struct kmem_cache *s) > */ > s->inuse = size; > > - if (slub_debug_orig_size(s) || > - (flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || > - ((flags & SLAB_RED_ZONE) && s->object_size < sizeof(void *)) || > - s->ctor) { > + if ((flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || s->ctor || > + ((flags & SLAB_RED_ZONE) && > + (s->object_size < sizeof(void *) || slub_debug_orig_size(s)))) { > /* > * Relocate free pointer after the object if it is not > * permitted to overwrite the first word of the object on > @@ -5163,7 +5162,9 @@ static int calculate_sizes(struct kmem_cache *s) > * > * This is the case if we do RCU, have a constructor or > * destructor, are poisoning the objects, or are > - * redzoning an object smaller than sizeof(void *). > + * redzoning an object smaller than sizeof(void *) or are > + * redzoning an object with slub_debug_orig_size() enabled, > + * in which case the right redzone may be extended. > * > * The assumption that s->offset >= s->inuse means free > * pointer is outside of the object is used in the >