Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1108858lql; Tue, 12 Mar 2024 07:33:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWeX0KulLQzZDxJrjV7VrTnqvfglDp06G5EMiK82INqOoOqLGrKjES5L8oL6+9yvU2noJjPNqdJkdMbm2F8PYwA6biC75N61yMLqseUXw== X-Google-Smtp-Source: AGHT+IHcPxdNpx6nTCd/LpniYRrlMhCdmSzeiSjxfYxAlvEz0ar1AT9geNG6Mr+EVjegP5LZ0Nt4 X-Received: by 2002:a05:6a20:3947:b0:1a0:ce31:128b with SMTP id r7-20020a056a20394700b001a0ce31128bmr620939pzg.34.1710254029559; Tue, 12 Mar 2024 07:33:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710254029; cv=pass; d=google.com; s=arc-20160816; b=qugRhsEJKV+BxYig37+9UWlCldUP8xU10ITrw9pGyN1NPxuQiKYewMWVp7wBWiPkS6 r99XIaZvPg4fZQ0Pi3J4MTDZ6sUK3VI0X4p/LqAcqurh1gcW7GZNGIej8/e6U2EmwRSp G183F/TGaPfPsrFr9XEUGujFgJEbj3KmSzsOX+feXsx2HK7RUcRLQ2w3PAvy4qwvQWXA pklkxIk9K0UFaUvAQRxtU4RD8WppHLmWhyB07VAC9MVePj20+9NH70K0y+1G7mIlLC6H Y64Doko+0W26SFkzQrBwxPWqu6IgRC3uRrvyXz0LnnKvNgCaBHskmSztWlgcmfmoECrU Vz2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=H3QUU+bDuG/CH/xp6vxOYNaWEsumKnKlYVFzA2J3lvk=; fh=2kZG7ca5lykaV+0U9ERbUZAA9KMppqjkNyiM1MAmfRU=; b=EVCTPK4hmwt5l1/ca/bWJhHd2B6e5kQIa/oMuHdQR+m5jLQ1HsiYj0Kmun5/1QNyzA AB4T5/+QzG8wYoeGDL9hSJf3GZqR7PzOMyXiREjqbmpPKUmuO2u2CXQ1vdWHiRdacak5 R+HUaF4Uj25MFKpzdnCxNdx/psKQHq8h05Qeqz+ApsELLl9LSO04wACtCJGZNUf8gLQP Nrl2AQqkd8JPq5AblBqrbe3jIXWp7Un+ON0ab7lW0gKGcfhkZD3SBj01eJA/jTBQKqR8 djWUful77dPdyjPCt4cmEiW/GnIa1jS7+OD84Lf9T5kGIm5A/aJdpOX3gcHsMwL+/gpb fgXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=strlen.de); spf=pass (google.com: domain of linux-kernel+bounces-100368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100368-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 z128-20020a636586000000b005dc432da142si7071503pgb.479.2024.03.12.07.33.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 07:33:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100368-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; arc=pass (i=1 spf=pass spfdomain=strlen.de); spf=pass (google.com: domain of linux-kernel+bounces-100368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100368-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 4FA10283972 for ; Tue, 12 Mar 2024 14:33:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8035B7CF36; Tue, 12 Mar 2024 14:30:43 +0000 (UTC) Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (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 F210C29AB; Tue, 12 Mar 2024 14:30:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.216.245.30 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710253843; cv=none; b=eoL+H/R2Hm2OC3nPHiNQXq985hLwDm1uaLqweZkJBlS9PXhUjECViVCFrrM0vEFRhMSio1rpSM04LggPOQaWFLQZkMxtwbZ12gv+8L7YvDdkViA7APlgqMbicQlLTuvToj6As0E+Eiq/xad3wu0BFYN22sh1U9q/p0pPNm7O0Xo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710253843; c=relaxed/simple; bh=Nv9DSRH1knEN/7XSZZmWRevE7uROHH/o5/dobsKswvs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eAfEl9QRtStSJnVyFD5RZ4hvnX05uIedwIO9UJ1wcJCNy//1pCCyn/7sZ5nEQzmcY8vER57B9yHo4Dg0sc9MDL+29D03OlzRh+/SshN44EhzQ7vqgqS0paAvgLW857br+rsvYwxnatGuzWKzpPUqNHN7F59TKzcsvzGqpvVV/9I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.client-ip=91.216.245.30 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1rk39B-0001Mp-4H; Tue, 12 Mar 2024 15:30:29 +0100 Date: Tue, 12 Mar 2024 15:30:29 +0100 From: Florian Westphal To: Eric Dumazet Cc: Florian Westphal , xingwei lee , pabeni@redhat.com, davem@davemloft.net, kuba@kernel.org, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org, syzkaller-bugs@googlegroups.com, samsun1006219@gmail.com Subject: Re: KASAN: slab-use-after-free Read in ip_finish_output Message-ID: <20240312143029.GE1529@breakpoint.cc> References: <20240306103632.GC4420@breakpoint.cc> <20240312132107.GA1529@breakpoint.cc> 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: User-Agent: Mutt/1.10.1 (2018-07-13) Eric Dumazet wrote: > Thanks for taking a look Florian. > > Perhaps not messing with truesize at all would help ? Thanks for the sketch patch, that makes things simpler indeed. I'll try to build something along these lines.