Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD920CD5BB1 for ; Tue, 26 May 2026 19:57:19 +0000 (UTC) Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.3740.1779822227317478582 for ; Tue, 26 May 2026 12:03:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=R8cQ5aen; spf=pass (domain: gmail.com, ip: 209.85.219.49, mailfrom: leoreis.costa@gmail.com) Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-8b5232009a6so155588186d6.1 for ; Tue, 26 May 2026 12:03:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779822226; x=1780427026; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=frVAXyT1Hdpv2Z4FLJ7Z1cL8FR/h9uxeaVoRely1hcs=; b=R8cQ5aenNpTGW4E1mLHgtzkI/n/hZOAlT2mQcwjYmMwLY+v8RTyEBbPpGQc+KyT4XV 7f7683He1mdNUQl/prfSY1aahers1VG9bYedgeJMI/btHFIFNYXSwZHB7SBxjKHtaMwQ xNeH+22OvDUM240wvPQl0ISp+wJ1UimR8NbIMjP8wiJynDndRE8PJb/tawIhzTgBXK++ Moq25OAsUS7ifsFshVpAYkOFBhlvRMicvXqgt9qTWcJ7kBo9TUxIZrLQ4TY67w1Jt+gF t4M/KMLTW+6ocaGUNJwivrnrFDR1+oFv05G0aigNO8P7kTL6Wi5vPQojMD1xC46pX0q5 e8Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779822226; x=1780427026; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=frVAXyT1Hdpv2Z4FLJ7Z1cL8FR/h9uxeaVoRely1hcs=; b=HL/TcSBGWCHxLS1lDO0iXRRMy1SaJdeStss0TNdGhCeNWpxkLWJi/ynV0C8NzoCoXB ACiXUn29EzF5zhSyYI7Z/788MgInCEopuDmcePD/Gh5uRf/kET9JBbFkUZw/lco+pGZd ofr8gtXx0wWwkmvhB2DxpeQ3N06QMECSdrL/xfcLJbP3R2fnJqy5mIO+Wv5dv3yeUjrG OMvx0vUj9J9SFav33XbnaAizk/viuluvoasT+KxMgfUeBRkXKB6ViH34hmR+w7qn6UK/ OYsmrT6KYhfKU8w+OrTAd8w0uTLpAzNN76ynHAC7rcnswMcobjoj+yHld4G5YhBJrkYb tMMQ== X-Gm-Message-State: AOJu0YzNO6dSL/WM/DFk6078ZplAqeNNEc1TvrRENaZIiXZXdRlqDReT t2VaCn+cVzHChadsrUyJOFJK4CExM6JCrEhZtdweb1S0a5KmK8FrRc3LdJB6PZUQPcc= X-Gm-Gg: Acq92OHtpfjaxFowdpYc2N6zGY3xWlkh9Meg8oNj3GxdQNdm9uheIfqnQZqSO0PYy4M cXSjnMY+nNhq/CUc63rBNxKF41t1842N67bKC3yNOZF55EsP2QGV9Cqp7ewnlyWOdqg/PuSPoGY 0i+zpFfPmU4n/sokcHEQZhG4NWybXzEwf7Q64n+/Bqlt0DBgkeiMEVAFD1gyAVwDIsH2MIHUrTs Hd8dJ2c7iH7E2gqTcocIIFeGaMvx8QYlCXFEgS5xYqqszZ8JAxYKX5TNS6yjAxZObmQUFiirEVQ 8kg5MiLMyltFlHEfwkAj6ozeQbXRt4GPaAIF1uWNZyzYeBYdfTSu1ZxIkIfO+E2nq+/2ZaGvUPo ntIS7TK4eyik10kHHejBT+TkVnOeiN+2dr477E+h8VP3NEovSNIlsUJZz1xz8lHvDlrFbmZ5FN3 HgmcaFdy2LsebbVwE7wWl5XkaRjqF7nO4hmDj3nWKa5gtqml+XIxn3OJIX+ebfwPfQJ4KCn87a5 3a0Nyu9ZQxqQIn524vxj8s3NrxAbQVpzzFvUR79Bhyb3epZwOhiu5rNSpbesw== X-Received: by 2002:a05:6122:181b:b0:56b:7023:1393 with SMTP id 71dfb90a1353d-58662da893amr12163886e0c.11.1779821798013; Tue, 26 May 2026 11:56:38 -0700 (PDT) Received: from leonardoc-nb (201-68-197-52.dsl.telesp.net.br. [201.68.197.52]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-586f23ee48esm17225359e0c.3.2026.05.26.11.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2026 11:56:37 -0700 (PDT) From: Leonardo Costa To: openembedded-core@lists.openembedded.org Cc: leonardo.costa@toradex.com Subject: [RFC] Bootloader components missing from image SBOM Date: Tue, 26 May 2026 15:56:33 -0300 Message-ID: <20260526185633.24403-1-leoreis.costa@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 26 May 2026 19:57:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/237625 Hello all, We are planning to release SPDX SBOMs along with our images to provide package information about the software components that make them up. As it currently stands today, bootloader components are not included in the final SBOM generated for the image. In particular, for our machines based on i.MX SoCs, the imx-boot container, along with boot components (ATF, SECO, SCFW) have their SPDX files generated in spdx/, but not included in the image SBOM. If I understand correctly, the SBOM is generated by looking at the packages in the rootfs, and recursively adding their SPDX entries along with the ones for their dependencies. In our builds, I found that U-Boot does get included in the SBOM, but in our particular case this seems to be due to the presence of libubootenv in the rootfs, which has the U-Boot recipe in its dependency chain, so the inclusion of U-Boot in the SBOM is only a side effect. I have not seen anyone raise this as an issue, but my intuition is that this information should be included in the SBOM. Despite not making it to the rootfs, these boot components are still part of the image. CVE information about them, for example, is relevant to users. My question is, is there any configuration that should be set to include these components? I couldn't find anything about this in the documentation or in the code. If there is no configuration regarding this, would a contribution to add components such as these be welcome? Kind regards, Leonardo