Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1791249rdb; Mon, 8 Jan 2024 10:15:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IHpLidOa7YUZOD0gluvwfD7ycS9DmQS/zd+yxDP8BTQMWlM4FRWGr/atXU5+1Hj14hHHBk/ X-Received: by 2002:aa7:c399:0:b0:556:3826:be68 with SMTP id k25-20020aa7c399000000b005563826be68mr1810171edq.84.1704737716746; Mon, 08 Jan 2024 10:15:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704737716; cv=none; d=google.com; s=arc-20160816; b=y0nnHwjPbd1DkplNH9niSsw6ftUhXc2wo0KCGMx5IuE9UIgh9ovZZnh4fwtjisw9YC 9fXMDQGA9sWm3Ka0MjVbdz4BeQSaXk9eLRcmJv2278EZucd40Sy2Y5HBIU882zdcJziF lGd+QUJ5Yb5WHF2JNr8Bbslqd8Sb4rZY/O4uC3iAs0jOvFtTVLhesNDx17Pk+knHNz15 E/QTbkSXNhsvb5nlSJnzPcpNGbP3E+3kz7W3WGsXAYMc1P9NgYqN0HAtSgMzikNAKtLP fDHrdokhmdjmYCvvBs2Ot3I+nACr8TMiijZSaeIXWw1A98d4jPP3KVeyEH6PJu/23ewB KzGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=8rMOKkse4wjMTTtYDomrsUBpyENezfU388gN3eWqcTM=; fh=Dn2A7Qq8iNR0ee5+uSoMIHnyXHgyZCCi5Z845hsl8g8=; b=xgxLMO3TO3BJ8AY6V1Xofgg0s0zt6KT9oPmrnlC++nOMTOwExH/0S/oa5pir6o5TFr pv+Fbrn2rzShfJ89S0HBwzMuR3qIv/AeN5G0h8tsssPsHzvhy+V+yaqvIE54MJbv7tME pXT2li0iM3kF97GjdgDsleIYsbxy0V8dtCeip3Rqc0EXhRPqpzOYSDaNmkjcyCXkp1gy djhEsmssbZbWhGDllQDUzNOulU1nB3uuFf/ls2SaAXqyihA5G6ukMq8sMwK7uyC+wwm7 s9W2M6l2D0GqkAxNmwFeZCG6zSzeewaKDn+4KyCowOygYGMAsu0+BI0dZcfEVxGLMFqA ZF7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b="FHlvxu/A"; spf=pass (google.com: domain of linux-kernel+bounces-19938-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19938-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id m5-20020a509985000000b0055297dd8703si76811edb.447.2024.01.08.10.15.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 10:15:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19938-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=@canonical.com header.s=20210705 header.b="FHlvxu/A"; spf=pass (google.com: domain of linux-kernel+bounces-19938-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19938-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com 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 635AD1F23AA7 for ; Mon, 8 Jan 2024 18:15:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7413B54BDC; Mon, 8 Jan 2024 18:15:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="FHlvxu/A" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (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 4EA1354BD6 for ; Mon, 8 Jan 2024 18:14:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 834053F171 for ; Mon, 8 Jan 2024 18:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1704737694; bh=8rMOKkse4wjMTTtYDomrsUBpyENezfU388gN3eWqcTM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=FHlvxu/AA38jcHcBp5lPy7Zui1JgM4uGXbt9+gs4DTJH+ARnWlWxiR9ISfVd7v49d Fe9y107e0GQR0UaeR49NNe3tCHm47FQzOujdYcxOZ6dOU4WfQHTDzXVdcmDuYTbved khEmc/VaPyBlTgJJepD+ovzyCA6vclUOyYrPY6eua7o7fIDT15bNhZbMI1dnv6CZ3D 1kSsui4R/OUlR4z8QqMneAe1iQa7JnHIXqji/ImAfIN0Ma4Y1Z7IRrAidzYPBrv+dA Iuh+4P1+XFqS1IU5gScEp7oyMwMLCBJtU6r6dcB9tpjnrMpmYdeUUVens88hUv5Mk4 facB/lOH7FTRQ== Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-40e4c1dd8a3so1591625e9.0 for ; Mon, 08 Jan 2024 10:14:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704737694; x=1705342494; h=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=8rMOKkse4wjMTTtYDomrsUBpyENezfU388gN3eWqcTM=; b=Vamr3GDrZd2cTjj/r3hFCga+WeViR/jwOMRc3LqdHwWlV/ys6sLxwH9yV1s/3LrWM9 CH267XAw3PaesdxUugWWWqogiPnqRgp6H04WgUTpUIBjIHmB2Lu8x/USRtjmGTqXZLIm BZ0mXaXs8Pu9nUrXcyEXvhit5Vox3RqA1e+/zzbtHZZIdkj1C64yWxqoOEdO1Ws2rCxv amZxYS1wbRgm7VlgieuLidaLyAdOQe0/PuKSRd7iFzX701hzpe+rLRzDpmw8vZ3eiyGr /VYSZYag5N4IGmEgIjRE+jOEfHmK5zYqHeY8ifopKftETPxja5tM1I/SozETAYySWY7A yCgg== X-Gm-Message-State: AOJu0YzBB1oKOzufxmZrOtFjFPewqLziFD2MAPV5Qtr2iKduzRBxyAU3 SehbeCPPZEqUAK9V0Cyy875aBuyLUDjUd8vqrbJofhHtoXWwrGVhb2mdXBtf0DKRfHZr1KHYpc0 /XcInE738CAISzVuwqf9GiGWOKblRcNyD5w2EtbuwNVfGTnPABTJ6ECKNwJDZLcX6 X-Received: by 2002:a7b:c8d7:0:b0:40e:486a:b6b1 with SMTP id f23-20020a7bc8d7000000b0040e486ab6b1mr684938wml.157.1704737694251; Mon, 08 Jan 2024 10:14:54 -0800 (PST) X-Received: by 2002:a7b:c8d7:0:b0:40e:486a:b6b1 with SMTP id f23-20020a7bc8d7000000b0040e486ab6b1mr684927wml.157.1704737693828; Mon, 08 Jan 2024 10:14:53 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Dimitri John Ledkov Date: Mon, 8 Jan 2024 18:14:17 +0000 Message-ID: Subject: Re: [BUG] SHA-3 causes kmod 28 to segfault To: "Russell King (Oracle)" Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Hi, On Mon, 8 Jan 2024 at 16:38, Russell King (Oracle) wrote: > > Hi, > > When building 6.7 under Debian Oldstable with kmod 28, the installation > of modules fails during depmod with a SEGV. > What is your kernel configuration, and I hope you make config choices compatible with your target host OS. > Running under gdb: > > Program received signal SIGSEGV, Segmentation fault. > __strlen_sse2 () at ../sysdeps/x86_64/multiarch/strlen-vec.S:133 > > I have no further information as I can't remember how to get the debug > info for packages under Debian - and even if I could, it's probably a > bug in the kmod package that Debian will have absolutely no interest in > fixing (based on previous experience reporting bugs to Debian.) For latest kernel and latest kernel features support in kmod, latest kmod is required. I.e. patched with https://github.com/kmod-project/kmod/commit/510c8b7f7455c6613dd1706e5e41ec7b09cf6703 Or ensure that you use a compatible kernel configuration by for example using SHA256 for kernel module signing. SHA3 is added as a future alternative to the currently recommended SHA2 based hashes, as it seems not great to only have a single family of hashes supported out of the box that are still deemed to be secure. -- Dimitri Sent from Ubuntu Pro https://ubuntu.com/pro