Skip to content

fwupdmgr sees wrong devices after trying to install invalid capsule #1749

@philipanda

Description

@philipanda

Component

Dasharo firmware

Device

NovaCustom V54 14th Gen

Dasharo version

v1.0.0-rc10

Dasharo Tools Suite version

n/a

Test case ID

FWUPD

Brief summary

fwupdmgr sees wrong devices after trying to install invalid capsule, unable to install updates with fwupdmgr

How reproducible

100%

How to reproduce

  1. Try to perform a capsule update using a capsule created by scripts/capsules/capsule_update_tests.sh in OSFV.
  2. It should fail and CapsuleApp.efi should report Not Ready.
  3. run fwupmgr get-devices in an OS

* Also happens with normal, valid capsules when they fail due to Not Ready as in #1730 (comment)

Expected behavior

Notebook V5xTNC_TND_TNE
│
├─AD107M [GeForce RTX 4060 Max-Q / Mobile]:
│     Device ID:          ce4c74a5188d5b9cdb1e72ed32dad2d313c1c999
│     Current version:    a1
│     Vendor:             NVIDIA Corporation (PCI:0x10DE, PCI:0x8086)
│     GUIDs:              f23d3626-6d9d-5081-b5ec-9450605d61f8 ← PCI\VEN_10DE&DEV_28A0
│                         acc3b32d-7b1e-586d-aad3-d39653c5b7a0 ← PCI\VEN_10DE&DEV_28A0&SUBSYS_1558A761
│                         2aea5a50-662c-5d72-ae36-68fee88005e5 ← PCI\VEN_8086&DEV_7ECC
│                         b3806661-e5b0-5912-98cb-5cfae3f5b9d0 ← PCI\VEN_8086&DEV_7ECC&SUBSYS_1558A741
│     Device Flags:       • Internal device
│                         • Cryptographic hash verification is available
│   
├─Core™ Ultra 7 155H:
│     Device ID:          4bde70ba4e39b28f9eab1628f9dd6e6244c03027
│     Current version:    0x00000025
│     Vendor:             Intel
│     GUIDs:              e38fa480-0c3d-5240-be48-b590e507eed9 ← CPUID\PRO_0&FAM_06&MOD_AA
│                         189c1794-cc75-56bd-b1f7-8f4af3aa3f82 ← CPUID\PRO_0&FAM_06&MOD_AA&STP_4
│     Device Flags:       • Internal device
│   
├─Meteor Lake-P [Intel Graphics]:
│     Device ID:          5792b48846ce271fab11c4a545f7a3df0d36e00a
│     Current version:    08
│     Vendor:             Intel Corporation (PCI:0x8086)
│     GUIDs:              5a72808c-38b6-55c8-946a-5852c6e69620 ← PCI\VEN_8086&DEV_7DD5
│                         f1ce1a25-17a1-5af7-8f6a-b677301ce24d ← PCI\VEN_8086&DEV_7DD5&SUBSYS_1558A741
│     Device Flags:       • Internal device
│                         • Cryptographic hash verification is available
│   
├─SSD 980 PRO 250GB:
│     Device ID:          03281da317dccd2b18de2bd1cc70a782df40ed7e
│     Summary:            NVM Express solid state drive
│     Current version:    1B2QGXA7
│     Vendor:             Samsung (NVME:0x144D)
│     Serial Number:      S5GZNG0NB05022P
│     GUIDs:              bec63ed7-a95f-54fe-b8cc-8e9fee64ba5a ← NVME\VEN_144D&DEV_A80A
│                         310f81b5-6fce-501e-acfb-487d10501e78 ← NVME\VEN_144D&DEV_A80A&SUBSYS_144DA801
│                         4f78062c-c9fd-566f-a85f-cf344c022f04 ← Samsung SSD 980 PRO 250GB
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Signed Payload
│   
├─System Firmware:
│ │   Device ID:          3bacefdb7d78a10dd48b551d25621a6a86618384
│ │   Summary:            UEFI System Resource Table device (updated via NVRAM)
│ │   Current version:    16777226
│ │   Minimum Version:    16777226
│ │   Vendor:             Notebook (DMI:3mdeb)
│ │   Update State:       Success
│ │   GUID:               d5f421ef-8c11-4f1f-903d-49acf69530a6
│ │   Device Flags:       • Internal device
│ │                       • Updatable
│ │                       • System requires external power source
│ │                       • Needs a reboot after installation
│ │                       • Cryptographic hash verification is available
│ │                       • Device is usable for the duration of the update
│ │                       • Full disk encryption secrets may be invalidated when updating
│ │   Device Requests:    • Message
│ │ 
│ ├─BootGuard Configuration:
│ │     Device ID:        b0d4430dfa6bde9f0c22680df36dbc8c15c80753
│ │     Current version:  20
│ │     Vendor:           Intel Corporation (MEI:0x8086)
│ │     GUIDs:            dd17041c-09ea-4b17-a271-5b989867ec65
│ │                       1ccb36c3-6cdc-5bbc-9fc7-e9e2cb977ce4 ← MEI\VEN_8086&DEV_7E70
│ │                       6487fa7f-f7de-50a7-ae96-409fd0ad2f7c ← MEI\VEN_8086&DEV_7E70&SUBSYS_1558A741
│ │     Device Flags:     • Internal device
│ │   
│ └─UEFI dbx:
│       Device ID:        362301da643102b9f38477387e2193e57abaa590
│       Summary:          UEFI revocation database e14c88dc
│       Vendor:           UEFI:Microsoft
│       Install Duration: 1 second
│       GUIDs:            f8ba2887-9411-5c36-9cee-88995bb39731 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503&ARCH_X64
│                         d07ff664-b0e1-5f4e-a723-d7fbcbfcb94f ← UEFI\CRT_3CD3F0309EDAE228767A976DD40D9F4AFFC4FBD5218F2E8CC3C9DD97E8AC6F9D&ARCH_X64
│       Device Flags:     • Internal device
│                         • Updatable
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Only version upgrades are allowed
│                         • Full disk encryption secrets may be invalidated when updating
│                         • Signed Payload
│     
├─TPM:
│     Device ID:          c6a80ac3a22083423992a3cb15018989f37834d6
│     Current version:    15.23.69.0
│     Vendor:             Infineon (TPM:IFX)
│     GUIDs:              5eebb112-75ad-5536-b173-a11eb3399402 ← TPM\VEN_IFX&DEV_0000
│                         0df86b23-72b8-5128-9fc2-3377446e8ecf ← TPM\VEN_IFX&MOD_SLB9672
│                         6d81ab63-db2e-50ac-934f-6be9accf5e02 ← TPM\VEN_IFX&DEV_0000&VER_2.0
│                         13249df8-c159-574a-b877-b045aa40bc54 ← TPM\VEN_IFX&MOD_SLB9672&VER_2.0
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device can recover flash failures
│                         • Full disk encryption secrets may be invalidated when updating
│                         • Signed Payload
│   

Actual behavior

Notebook V5xTNC_TND_TNE
│
├─AD107M [GeForce RTX 4060 Max-Q / Mobile]:
│     Device ID:          ce4c74a5188d5b9cdb1e72ed32dad2d313c1c999
│     Current version:    a1
│     Vendor:             NVIDIA Corporation (PCI:0x10DE, PCI:0x8086)
│     GUIDs:              f23d3626-6d9d-5081-b5ec-9450605d61f8 ← PCI\VEN_10DE&DEV_28A0
│                         acc3b32d-7b1e-586d-aad3-d39653c5b7a0 ← PCI\VEN_10DE&DEV_28A0&SUBSYS_1558A761
│                         2aea5a50-662c-5d72-ae36-68fee88005e5 ← PCI\VEN_8086&DEV_7ECC
│                         b3806661-e5b0-5912-98cb-5cfae3f5b9d0 ← PCI\VEN_8086&DEV_7ECC&SUBSYS_1558A741
│     Device Flags:       • Internal device
│                         • Cryptographic hash verification is available
│   
├─Core™ Ultra 7 155H:
│     Device ID:          4bde70ba4e39b28f9eab1628f9dd6e6244c03027
│     Current version:    0x00000025
│     Vendor:             Intel
│     GUIDs:              e38fa480-0c3d-5240-be48-b590e507eed9 ← CPUID\PRO_0&FAM_06&MOD_AA
│                         189c1794-cc75-56bd-b1f7-8f4af3aa3f82 ← CPUID\PRO_0&FAM_06&MOD_AA&STP_4
│     Device Flags:       • Internal device
│   
├─Meteor Lake-P [Intel Graphics]:
│     Device ID:          5792b48846ce271fab11c4a545f7a3df0d36e00a
│     Current version:    08
│     Vendor:             Intel Corporation (PCI:0x8086)
│     GUIDs:              5a72808c-38b6-55c8-946a-5852c6e69620 ← PCI\VEN_8086&DEV_7DD5
│                         f1ce1a25-17a1-5af7-8f6a-b677301ce24d ← PCI\VEN_8086&DEV_7DD5&SUBSYS_1558A741
│     Device Flags:       • Internal device
│                         • Cryptographic hash verification is available
│   
├─SSD 980 PRO 250GB:
│     Device ID:          03281da317dccd2b18de2bd1cc70a782df40ed7e
│     Summary:            NVM Express solid state drive
│     Current version:    1B2QGXA7
│     Vendor:             Samsung (NVME:0x144D)
│     Serial Number:      S5GZNG0NB05022P
│     GUIDs:              bec63ed7-a95f-54fe-b8cc-8e9fee64ba5a ← NVME\VEN_144D&DEV_A80A
│                         310f81b5-6fce-501e-acfb-487d10501e78 ← NVME\VEN_144D&DEV_A80A&SUBSYS_144DA801
│                         4f78062c-c9fd-566f-a85f-cf344c022f04 ← Samsung SSD 980 PRO 250GB
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Signed Payload
│   
├─TPM:
│     Device ID:          c6a80ac3a22083423992a3cb15018989f37834d6
│     Current version:    15.23.69.0
│     Vendor:             Infineon (TPM:IFX)
│     GUIDs:              5eebb112-75ad-5536-b173-a11eb3399402 ← TPM\VEN_IFX&DEV_0000
│                         0df86b23-72b8-5128-9fc2-3377446e8ecf ← TPM\VEN_IFX&MOD_SLB9672
│                         6d81ab63-db2e-50ac-934f-6be9accf5e02 ← TPM\VEN_IFX&DEV_0000&VER_2.0
│                         13249df8-c159-574a-b877-b045aa40bc54 ← TPM\VEN_IFX&MOD_SLB9672&VER_2.0
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device can recover flash failures
│                         • Full disk encryption secrets may be invalidated when updating
│                         • Signed Payload
│   
├─UEFI Device Firmware:
│     Device ID:          3bacefdb7d78a10dd48b551d25621a6a86618384
│     Summary:            UEFI System Resource Table device (updated via NVRAM)
│     Current version:    16777226
│     Minimum Version:    16777226
│     Vendor:             DMI:3mdeb
│     Update State:       Success
│     GUID:               d5f421ef-8c11-4f1f-903d-49acf69530a6
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│     Device Requests:    • Message
│   
└─UEFI dbx:
      Device ID:          362301da643102b9f38477387e2193e57abaa590
      Summary:            UEFI revocation database e14c88dc
      Vendor:             UEFI:Microsoft
      Install Duration:   1 second
      GUIDs:              f8ba2887-9411-5c36-9cee-88995bb39731 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503&ARCH_X64
                          d07ff664-b0e1-5f4e-a723-d7fbcbfcb94f ← UEFI\CRT_3CD3F0309EDAE228767A976DD40D9F4AFFC4FBD5218F2E8CC3C9DD97E8AC6F9D&ARCH_X64
      Device Flags:       • Internal device
                          • Updatable
                          • Needs a reboot after installation
                          • Device is usable for the duration of the update
                          • Only version upgrades are allowed
                          • Full disk encryption secrets may be invalidated when updating
                          • Signed Payload
    

Screenshots

No response

Additional context

diff -au get_devices_good.log get_devices_wrong.log 
--- get_devices_good.log        2026-01-28 07:45:35.482972003 +0100
+++ get_devices_wrong.log       2026-01-28 07:40:12.446184600 +0100
@@ -44,47 +44,6 @@
 │                         • Device is usable for the duration of the update
 │                         • Signed Payload
 │   
-├─System Firmware:
-│ │   Device ID:          3bacefdb7d78a10dd48b551d25621a6a86618384
-│ │   Summary:            UEFI System Resource Table device (updated via NVRAM)
-│ │   Current version:    16777226
-│ │   Minimum Version:    16777226
-│ │   Vendor:             Notebook (DMI:3mdeb)
-│ │   Update State:       Success
-│ │   GUID:               d5f421ef-8c11-4f1f-903d-49acf69530a6
-│ │   Device Flags:       • Internal device
-│ │                       • Updatable
-│ │                       • System requires external power source
-│ │                       • Needs a reboot after installation
-│ │                       • Cryptographic hash verification is available
-│ │                       • Device is usable for the duration of the update
-│ │                       • Full disk encryption secrets may be invalidated when updating
-│ │   Device Requests:    • Message
-│ │ 
-│ ├─BootGuard Configuration:
-│ │     Device ID:        b0d4430dfa6bde9f0c22680df36dbc8c15c80753
-│ │     Current version:  20
-│ │     Vendor:           Intel Corporation (MEI:0x8086)
-│ │     GUIDs:            dd17041c-09ea-4b17-a271-5b989867ec65
-│ │                       1ccb36c3-6cdc-5bbc-9fc7-e9e2cb977ce4 ← MEI\VEN_8086&DEV_7E70
-│ │                       6487fa7f-f7de-50a7-ae96-409fd0ad2f7c ← MEI\VEN_8086&DEV_7E70&SUBSYS_1558A741
-│ │     Device Flags:     • Internal device
-│ │   
-│ └─UEFI dbx:
-│       Device ID:        362301da643102b9f38477387e2193e57abaa590
-│       Summary:          UEFI revocation database e14c88dc
-│       Vendor:           UEFI:Microsoft
-│       Install Duration: 1 second
-│       GUIDs:            f8ba2887-9411-5c36-9cee-88995bb39731 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503&ARCH_X64
-│                         d07ff664-b0e1-5f4e-a723-d7fbcbfcb94f ← UEFI\CRT_3CD3F0309EDAE228767A976DD40D9F4AFFC4FBD5218F2E8CC3C9DD97E8AC6F9D&ARCH_X64
-│       Device Flags:     • Internal device
-│                         • Updatable
-│                         • Needs a reboot after installation
-│                         • Device is usable for the duration of the update
-│                         • Only version upgrades are allowed
-│                         • Full disk encryption secrets may be invalidated when updating
-│                         • Signed Payload
-
 ├─TPM:
 │     Device ID:          c6a80ac3a22083423992a3cb15018989f37834d6
 │     Current version:    15.23.69.0
@@ -100,3 +59,33 @@
 │                         • Full disk encryption secrets may be invalidated when updating
 │                         • Signed Payload
 │   
+├─UEFI Device Firmware:
+│     Device ID:          3bacefdb7d78a10dd48b551d25621a6a86618384
+│     Summary:            UEFI System Resource Table device (updated via NVRAM)
+│     Current version:    16777226
+│     Minimum Version:    16777226
+│     Vendor:             DMI:3mdeb
+│     Update State:       Success
+│     GUID:               d5f421ef-8c11-4f1f-903d-49acf69530a6
+│     Device Flags:       • Internal device
+│                         • Updatable
+│                         • System requires external power source
+│                         • Needs a reboot after installation
+│                         • Device is usable for the duration of the update
+│     Device Requests:    • Message
+
+└─UEFI dbx:
+      Device ID:          362301da643102b9f38477387e2193e57abaa590
+      Summary:            UEFI revocation database e14c88dc
+      Vendor:             UEFI:Microsoft
+      Install Duration:   1 second
+      GUIDs:              f8ba2887-9411-5c36-9cee-88995bb39731 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503&ARCH_X64
+                          d07ff664-b0e1-5f4e-a723-d7fbcbfcb94f ← UEFI\CRT_3CD3F0309EDAE228767A976DD40D9F4AFFC4FBD5218F2E8CC3C9DD97E8AC6F9D&ARCH_X64
+      Device Flags:       • Internal device
+                          • Updatable
+                          • Needs a reboot after installation
+                          • Device is usable for the duration of the update
+                          • Only version upgrades are allowed
+                          • Full disk encryption secrets may be invalidated when updating
+                          • Signed Payload
+    

Solutions you've tried

Flashing the firmware internally fixes it.
Rebooting does not.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions