Message ID | 20210927155837.164674-10-dimitri.ledkov@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=XY/bv7d1; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJ6lL38prz9tk6 for <incoming@patchwork.ozlabs.org>; Tue, 28 Sep 2021 01:59:26 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1mUt2E-0007Gm-5r; Mon, 27 Sep 2021 15:59:18 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <dimitri.ledkov@canonical.com>) id 1mUt22-00077i-Gc for kernel-team@lists.ubuntu.com; Mon, 27 Sep 2021 15:59:06 +0000 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (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 9C4723F4B9 for <kernel-team@lists.ubuntu.com>; Mon, 27 Sep 2021 15:59:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632758345; bh=jyD8QsTHqcNKhv4L/9yBWXd/IwWlE9q7ivdJ7fxeC+E=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=XY/bv7d12MDXutWu26/OqzZhhBBARYm1MjlGLsgLAjuHJjPHen1+P30aia8TuFm04 oUc+F6NWgLWhZNZKshl9nu+P3RQHGDjEGYFLAjCDY/d3TLT/IPKaDM4oRgjEGYAqXO HN+wvf0VqM9N1sy0ds0WLZyAGYkIGstEjDlsCzJHYaQk9RjqWEkaInhMjFKGb48w4b a2xG03fGyY1lX0XxCg+9pY97GzL5q4pa0X7utcSm+A7a8qx701ubhkR+Zz6/Kgfvvs KeSOazw1zQSpdtkRG9GMNOKGv8jQ9tO9wSqcodKrvkAhVP6pniOQYNK4gX0/HP6iKn kD4HCr5owN+7w== Received: by mail-wm1-f71.google.com with SMTP id 75-20020a1c004e000000b00307b9b32cc9so137303wma.1 for <kernel-team@lists.ubuntu.com>; Mon, 27 Sep 2021 08:59:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jyD8QsTHqcNKhv4L/9yBWXd/IwWlE9q7ivdJ7fxeC+E=; b=Um11V5weEoWMWDbDi6Mk5RlW0c+q1P/ILicJ8kp9IoF4ydGsZ+TUnf2ZjZicAK+Oqp bhE2xwTMP6IIaZ6B+xnjXFpe9a5OnwG0AYNhIfdjtDftlPG6q9KZ+irMZKK4iCxKS+vK vP/hHzONQPSDgHZdq6Dokb+XIXb8uFvsPxbZBg4i4kvHv77A9FEyVW4t6+XC7KAZB8X5 4VnzI/rEikpvn21XgpeR1D5sN6fsExEaNJ/F7w7RnI79ocRg85JI4Oc56EZ5hpIiXm0g N4Gi3v5AMPCqX+oP3MVmS+n//o2wCbJ/UrU8VhBVPqymqV+4OF1Lb6CTOLRUrK6QzXe1 fjhA== X-Gm-Message-State: AOAM530x2vSDJMqn0x5ucPNF7eaBrcoMWmvCrwHbhRWKY4oj/4l0rFJx QXumt4qoFt/ul0v7PZ7zey0+NeLCb0uX49FBKYygyU4JQb1pXqIkkq34GAdPPhx/cSSHoHHPAIX XxWvo2tFHWPH4zNTiRVqEGE5z2lFeIVBjp+bGze6eBg== X-Received: by 2002:a5d:4344:: with SMTP id u4mr771715wrr.106.1632758345021; Mon, 27 Sep 2021 08:59:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztVi+F1M9FiEZzUhUxPAd2Z4RvlcVUXAOFj4AIIJIhLassusb8hI7L5lKqTXy405Mg6eKKIg== X-Received: by 2002:a5d:4344:: with SMTP id u4mr771686wrr.106.1632758344777; Mon, 27 Sep 2021 08:59:04 -0700 (PDT) Received: from localhost ([2a01:4b00:85fd:d700:86ad:7d9c:de94:eed0]) by smtp.gmail.com with ESMTPSA id o16sm3398850wrx.11.2021.09.27.08.59.04 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 08:59:04 -0700 (PDT) From: Dimitri John Ledkov <dimitri.ledkov@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][F/hwe-5.8][PATCH 15/18] UBUNTU: SAUCE: Dump stack when X.509 certificates cannot be loaded Date: Mon, 27 Sep 2021 16:58:34 +0100 Message-Id: <20210927155837.164674-10-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927155837.164674-1-dimitri.ledkov@canonical.com> References: <20210927155712.164337-1-dimitri.ledkov@canonical.com> <20210927155837.164674-1-dimitri.ledkov@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Support builtin revoked certificates and mokvar-table
|
expand
|
diff --git a/certs/common.c b/certs/common.c index 16a220887a..23af4fc392 100644 --- a/certs/common.c +++ b/certs/common.c @@ -41,6 +41,7 @@ int load_certificate_list(const u8 cert_list[], if (IS_ERR(key)) { pr_err("Problem loading in-kernel X.509 certificate (%ld)\n", PTR_ERR(key)); + WARN_ON_ONCE(1); } else { pr_notice("Loaded X.509 cert '%s'\n", key_ref_to_ptr(key)->description);