Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5216702rwd; Tue, 23 May 2023 21:02:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6E/C0QWB7NQJ0guskDb8JJqAsX6GxTzdm21FLMixeuuJGEW3ase56LQCZmwkal5LG1Srt5 X-Received: by 2002:a17:902:ced0:b0:1af:b47e:7892 with SMTP id d16-20020a170902ced000b001afb47e7892mr9309672plg.67.1684900923379; Tue, 23 May 2023 21:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684900923; cv=none; d=google.com; s=arc-20160816; b=ggfiNYHJmu50rzxHLh7k5/ndDUFIBPCWfkvoyBsPrh4SvRfNJbumkG2G1pjbwJp+fi WvI89PT0uv9XLX0H5A7nokIpcMvB6JwS3sDw0h74VhugNwAbGSOytwv2AyoZJn0a1hjn wcfGr19UR/+BPDtmAkqW2GZpUeD/1aJzRQI+KAQdPaYcbEFdK1iBQrBiOcU5GfSmb23c KlKm5dwqnqh6r7u8BsRQov1q1qAv+UailFRnXjBBNM95JoTaY/Atv7L0qJql61x/oZl+ 006Q01XqBki3wq5YzFOf5D6e/8yCnopiDvGdYKrSqnEof4CUgwOFkmHDRQv6mbg5WVHt jCvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=gAn/0YbSvS7UIq/EJgNYJfQt4mdVOO3/aNF3GYkOSB8=; b=wRVPK38+V+1MEq2SzhOKTm/awx5eIcq0Jz7cf36uRv0fRntoGl4QBVfBIuEkaBy8GI NWubty6Yt44vikmpLJAinroN+1ZD8jOzo701+uxjJIOVFRxI77QikOohRUbncHYKUTRN 9i+kXqgM1dlMnNvsmJfA8xpRnjGEM3HKvRaIJ5TYNv5Yhr1604OADfFggQvEIgelPmfh IW5xAUhhvcOXWfundMIJbrLEz7wP8s26yjOkreMwCINVhY/a3z1qzEwdsNogmCrFiiOF tbpSSxAZKZSuTGyLczvUDvM1Ael+6X72J8SqAmRRIsfJChGWSgaZDgRqdjF0+i/E5lzh W8+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xqy6zWmU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u8-20020a170902a60800b001ae488bbbd4si296553plq.344.2023.05.23.21.01.48; Tue, 23 May 2023 21:02:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xqy6zWmU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239383AbjEXDxJ (ORCPT + 99 others); Tue, 23 May 2023 23:53:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239377AbjEXDxH (ORCPT ); Tue, 23 May 2023 23:53:07 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 259EE119 for ; Tue, 23 May 2023 20:53:05 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-25345ca8748so448382a91.1 for ; Tue, 23 May 2023 20:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684900384; x=1687492384; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gAn/0YbSvS7UIq/EJgNYJfQt4mdVOO3/aNF3GYkOSB8=; b=Xqy6zWmUISjwt/sHtxPSERu/pWZZKDm7JsuBUWeEyIZgry52jgNlhRdZusod5zdoVi z1KSRqNxFXuO/IG/aJMV8u1J5BmvTpEysieDCG0cWGZgrFo7pGFdfxNBis7ntCtPKoLH 3+yTAItVwrF6HsKyIWgVLas5UhN9WKmd8xwPHlPJeF1a0cX4kzlg66x+LTVASejPS9cR yoHIsP3iW2/1J3iJ3trP5ehDx+AuscrbTK3GJDSpqc5+DxcP+eaPXu/a4tr5uVpyrMpy gattTC4YKSVUNK9wk2H3zz5CLroHnEB8hYljbbOM2mxhYSqd0PXeDWN+g6/pURgY2Z3w XfdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684900384; x=1687492384; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gAn/0YbSvS7UIq/EJgNYJfQt4mdVOO3/aNF3GYkOSB8=; b=ZsWTVFUl1RXGBAk6TnYHtHZnDYi5Su8TygGNI7cebXMnopDbJA8Ii7XVwuGQQwIgq5 eaSzy6JUdXg9uQr1gl7s2P9J+/jMv74HzXywJe76T1o1DHetprzQxoeIr4pnEYj6XeVq ifjzZWOhCm3iGwPeQSb7llACRfMPjBnhUE1qp7gDgwiJVbux73oa0MKFW0ZnHrfQ0Tvy fhOUpn8LuUJVbvQvW8DmCUBElovZ/jkQ2yQfm5pvC0ou7tt3W1xSr5WWZP5XqtOol96H Ht2Z0kzseq+5jeq86MYM8kWCIptplwRPYT5b4l/PhE0aV8wNRqhkHiG+dVbw6NkHxbIW mcQQ== X-Gm-Message-State: AC+VfDws7020mLGO79oDjCFnWQrpjO3+oRWiZyOsZMfaepg88iVtoNUz MnAyvTJK53b4KX1zYx0xk/QhABXJxpLOfHyTF+QDEg== X-Received: by 2002:a17:90a:6341:b0:252:8698:d03b with SMTP id v1-20020a17090a634100b002528698d03bmr14366512pjs.14.1684900384544; Tue, 23 May 2023 20:53:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?RGFuaWVsIETDrWF6?= Date: Tue, 23 May 2023 21:52:53 -0600 Message-ID: Subject: Re: Stable backport request: skbuff: Proactively round up to kmalloc bucket size To: Vlastimil Babka Cc: Greg Kroah-Hartman , Sasha Levin , linux- stable , open list , Kees Cook , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "open list:NETWORKING [GENERAL]" , ndesaulniers@google.com, rientjes@google.com, Sumit Semwal Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On Tue, 23 May 2023 at 00:28, Vlastimil Babka wrote: > On 5/22/23 20:23, Daniel D=C3=ADaz wrote: > > Hello! > > > > Would the stable maintainers please consider backporting the following > > commit to the 6.1? We are trying to build gki_defconfig (plus a few > > extras) on Arm64 and test it under Qemu-arm64, but it fails to boot. > > Bisection has pointed here. > > You mean the bisection was done to find the first "good" commit between 6= .1 > and e.g. 6.3? > > As others said, this commit wasn't expected to be a fix to a known bug. > Maybe you found one that we didn't know of, or it might be accidentaly > masking some other bug. How interesting! Yes, we happened to run a bisection between v6.1 and v6.3 and we found where it started working with the following configuration: https://storage.tuxsuite.com/public/linaro/daniel/builds/2QA2CHQUpqKe27Fy= MZrBNILVwXi/config With that patch on top of v6.1.29 it boots fine under Qemu-arm64; as v6.1.y stands, it panics with this: -----8<----- Unexpected kernel BRK exception at EL1 Internal error: BRK handler: 00000000f2000001 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.1.29 #1 Hardware name: linux,dummy-virt (DT) pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=3D--) pc : pskb_expand_head+0x448/0x480 lr : pskb_expand_head+0x13c/0x480 sp : ffff80000802b850 x29: ffff80000802b860 x28: 00000000000002c0 x27: 0000000000000ec0 x26: ffff0000c02c8ec0 x25: ffff0000c02c8000 x24: 00000000000128c0 x23: ffff0000c030e800 x22: ffff0000c030e800 x21: 0000000000000240 x20: 0000000000000000 x19: ffff0000c085e900 x18: ffff800008021068 x17: 00000000ad6b63b6 x16: 00000000ad6b63b6 x15: 0001001c00070038 x14: 0000000c00020008 x13: 00882cc00000ffff x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000001 x8 : ffff0000c030eac0 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff0000c030eaf0 x4 : ffff0000ff7abd10 x3 : 0000000000001740 x2 : ffff0000c02c8000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: pskb_expand_head+0x448/0x480 netlink_trim+0xa0/0xc8 netlink_broadcast+0x54/0x764 genl_ctrl_event+0x21c/0x37c genl_register_family+0x628/0x708 thermal_netlink_init+0x28/0x3c thermal_init+0x28/0xec do_one_initcall+0xfc/0x358 do_initcall_level+0xd8/0x1b4 do_initcalls+0x64/0xa8 do_basic_setup+0x2c/0x3c kernel_init_freeable+0x118/0x198 kernel_init+0x30/0x1c0 ret_from_fork+0x10/0x20 Code: f9406679 38776b28 3707eba8 17ffff67 (d4200020) ---[ end trace 0000000000000000 ]--- Kernel panic - not syncing: BRK handler: Fatal exception SMP: stopping secondary CPUs ----->8----- Greetings! Daniel D=C3=ADaz daniel.diaz@linaro.org