Fwupdmgr - Not enough efivarfs space

Ubuntu Version

Ubuntu 26.04 LTS Flavors

Desktop Environment (if applicable)

GNOME

Problem Description

fwupdmgr update

Relevant System Information

Dell Inc. Inspiron 15 3535/0HNWG1, BIOS 1.28.0 01/30/2026

Error Messages / Logs

UEFI dbx is not currently updatable:
• Not enough efivarfs space, requested 30.7 kB and got 6.2 kB

What I’ve Tried

I’m a novice. The only link I found on the topic seemed to be a fishing expedition: UEFI dbx/db/KEK updates fail with “Not enough efivarfs space” on Lenovo 83HN / Ryzen AI 9 365 · Issue #10635 · fwupd/fwupd · GitHub
“restoring the factory Secure Boot keys did in fact fix the problem.”

So, I wonder if there is any other/new fix. I wonder if I restore the factory keys, will Ubuntu actually restart? I don’t really understand the secure boot details. I’m just full of wonder :slight_smile:

It depends.

If Ubuntu was installed and is running with Secure Boot disabled there can be no problem after doing what was suggested and the firmware update should be successful.

If Ubuntu was installed with Secure Boot then there’s a chance you’ll need to reinstall GRUB but that can be easily done with Boot Repair. Boot a 26.04 live session, install (in the live session) the software according to the PPA’s instructions and then, also in Terminal, run `boot-repair`.

What is output of:

df -h

Resetting to factory defaults is the “one size fits all” fix. NVRAM where EFI variables are stored is full. To fix it differently you would need to find out what consumes the space. Show

df -h /sys/firmware/efi/efivars
ls -hs /sys/firmware/efi/efivars

Sometimes the issue isn’t even caused by the actual efivars taking too much space, but by firmware not freeing the unused blocks in the NVRAM.

To check whether it’s the case, you may want to compare the output of

df -h /sys/firmware/efi/efivars

with that of

ls -l /sys/firmware/efi/efivars/ | awk '{ sum += $5 } END { print sum }'

Unfortunately I believe there is no consistent way to trigger freeing of the unused space across different devices. Resetting UEFI settings to defaults or enabling/disabling Secure Boot worked on some of mine, but your mileage may vary.

$ df -h /sys/firmware/efi/efivars
Filesystem Size Used Avail Use% Mounted on
efivarfs 148K 142K 1.1K 100% /sys/firmware/efi/efivars

$ ls -l /sys/firmware/efi/efivars/ | awk ‘{ sum += $5 } END { print sum }’
76954

$ ls -hs /sys/firmware/efi/efivars
total 0
0 AMD_PBS_SETUP-a339d746-f678-49b3-9fc7-54ce0f9df226
0 AMD_RAID-fe26a894-d199-47d4-8afa-070e3d54ba86
0 AOD_SETUP-5ed15dc0-edef-4161-9151-6014c4cc630c
0 AbtStatus-a0b1889e-00eb-445b-8ca9-e91ce43c907d
0 AcpiGlobalVariable-c020489e-6db2-4ef2-9aa5-ca06fc11d36a
0 ActiveVgaDev-59d1c24f-50f1-401a-b101-f33e0daed443
0 AmdAcpiVar-79941ecd-ed36-49d0-8124-e4c31ac75cd4
0 AmdSetup-3a997502-647a-4c82-998e-52ef9486a247
0 AmdVariableProtection-408f573d-65ee-49ed-8bc5-5a32bbeae745
0 ApSyncFlagNv-ad3f6761-f0a3-46c8-a4cb-19b70ffdb305
0 AuditMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 BTOS-d710a718-c02a-4658-a0ce-69820a7e8d24
0 Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 COMPAL-b697de83-1ab6-42c4-9dee-a806c637818b
0 Capsule0000-39b68c46-f7fb-441b-b6ec-16b0f69821f3
0 CapsuleLast-39b68c46-f7fb-441b-b6ec-16b0f69821f3
0 CmosVariable-d710a718-c02a-4658-a0ce-69820a7e8d24
0 ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 ConInCandidateDev-59d1c24f-50f1-401a-b101-f33e0daed443
0 ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 ConOutCandidateDev-59d1c24f-50f1-401a-b101-f33e0daed443
0 ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 CurrentPolicy-77fa9abd-0359-4d32-bd60-28f4e78f784b
0 Custom-a04a27f4-df00-4d42-b552-39511302113d
0 CustomPlatformLang-59d1c24f-50f1-401a-b101-f33e0daed443
0 CustomSecurity-59d1c24f-50f1-401a-b101-f33e0daed443
0 D01Custom-ea4aefc7-d0ac-48de-a246-be73d9c1edc1
0 D01DaToken-d710a719-c03a-7658-a1cb-9968045e9923
0 D01DiagnosticInfo-d710a718-c02a-4658-a0ce-69820a7e8d24
0 D01EppidVar-59d1c24f-50f1-401a-b101-f33e0daed443
0 D01FirstBootDone-d710a718-c02a-4658-a0ce-69820a7e8d24
0 D01LoadSecurityDefault-d710a718-c02a-4658-a0ce-69820a7e8d24
0 D01MemoryChangeStatus-d710a718-c02a-4658-a0ce-69820a7e8d24
0 D01NvAdvanceBatteryCharge-ce830b5f-9533-4a04-8554-e8b1f95aad39
0 D01SecureBootMode-9d96d345-6181-4538-ab15-2e589deccca4
0 D01SetupConfig-ea4aefc7-d0ac-48de-a246-be73d9c1edc1
0 D01UefiBootList-d710a718-c02a-4658-a0ce-69820a7e8d24
0 DeployedMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 DownCoreStatus-29749bad-401b-4f6d-b124-cece8c590c48
0 EfiD01AssetTag-d710a718-c02a-4658-a0ce-69820a7e8d24
0 EfiD01OA30State-d710a718-c02a-4658-a0ce-69820a7e8d24
0 EfiD01ServiceTag-d710a718-c02a-4658-a0ce-69820a7e8d24
0 ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 EsrtLastAttemptStatus-ef23c90e-2292-469f-bfc2-56bb69bcb923
0 EsrtLastAttemptVersion-ef23c90e-2292-469f-bfc2-56bb69bcb923
0 FeData-1f2d63e1-febd-4dc7-9cc5-ba2b1cef9c5b
0 H2OFormDialogConfig-98ae8272-ce5a-46be-9f5d-d9f9cbbb99f2
0 HTTP_BOOT_CONFIG_IFR_NVDATA-4d20583a-7765-4e7a-8a67-dcde74ee3ec5
0 IP6_CONFIG_IFR_NVDATA-02eea107-98db-400e-9830-460a1542d799
0 IhisiParamBuffer-92e59835-5f42-4e0b-9a84-47c7810ea806
0 KEK-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 KEKDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 MTC-eb704011-1402-11d3-8e77-00a0c969723b
0 MemCeil.-ad22518b-450a-4857-96c3-d1e22f206129
0 MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829
0 MemoryOverwriteRequestControlLock-bb983ccf-151d-40e1-a07b-4a17be168292
0 MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23
0 MokListTrustedRT-605dab50-e046-4300-abb6-3dd810dd8b23
0 MokListXRT-605dab50-e046-4300-abb6-3dd810dd8b23
0 MsdmAddress-fd21bf2b-f5d1-46c5-aee3-c60158339239
0 OEMdTPMstatus-6a515772-b952-447b-abe7-d5fd483c45c0
0 OfflineUniqueIDEKPub-eaec226f-c9a3-477a-a826-ddc716cdc0e3
0 OfflineUniqueIDEKPubCRC-eaec226f-c9a3-477a-a826-ddc716cdc0e3
0 OsIndications-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 PBRDevicePath-a9b5f8d2-cb6d-42c2-bc01-b5ffaae4335e
0 PK-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 PKDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 PanelResolution-59d1c24f-50f1-401a-b101-f33e0daed443
0 PasswordConfig-f72deef6-13ef-4958-b027-0e45ce7fa45e
0 PlainPasswordEncrypted-d710a718-c02a-4658-a0ce-69820a7e8d24
0 PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 PlugInVgaHandles-59d1c24f-50f1-401a-b101-f33e0daed443
0 Prepare_NUV_FW_update-7583a112-2e72-46c4-ba4b-ba1a51b5aa75
0 ResourceDistribution-0ce40a5f-153a-4462-a429-4098e0e13cac
0 ResourceSizeForEachRb-542b8f2f-bd52-4233-8c3d-66530de8a369
0 RestoreFactoryDefault-59d1c24f-50f1-401a-b101-f33e0daed443
0 SbatLevelRT-605dab50-e046-4300-abb6-3dd810dd8b23
0 SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 SecureBootData-aa1305b9-01f3-4afb-920e-c9b979a852fd
0 SecureBootEnforce-59d1c24f-50f1-401a-b101-f33e0daed443
0 SecureFlashInfo-382af2bb-ffff-abcd-aaee-cce099338877
0 SecureStateBackup-d710a718-c02a-4658-a0ce-69820a7e8d24
0 SetPcrBanks-8376bdca-5e03-4735-951a-4a74141e5886
0 Setup-a04a27f4-df00-4d42-b552-39511302113d
0 SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 SignatureSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 Tcg2ConfigInfo-07a66697-d400-4903-b3da-67a61d2b7058
0 Tcg2PhysicalPresence-aeb9c5c1-94f1-4d02-bfd9-4602db2d3c54
0 Tcg2PhysicalPresenceFlags-aeb9c5c1-94f1-4d02-bfd9-4602db2d3c54
0 Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 UIMode-b4f22ef9-1467-4a1d-ab85-71ec8e345ef1
0 UnlockIDCopy-eaec226f-c9a3-477a-a826-ddc716cdc0e3
0 UserVgaSelection-59d1c24f-50f1-401a-b101-f33e0daed443
0 V1P0-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P1-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P10-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P11-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P12-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P13-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P14-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P15-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P16-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P17-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P18-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P19-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P1A-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P1B-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P1C-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P1D-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P1E-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P1F-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P2-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P20-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P21-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P22-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P23-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P24-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P25-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P26-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P27-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P28-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P29-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P2A-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P2B-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P2C-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P2D-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P2E-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P2F-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P3-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P4-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P5-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P6-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P7-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P8-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1P9-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1PA-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1PB-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1PC-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1PD-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1PE-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 V1PF-01bd3876-1ad6-4e59-b39a-7a0b1bde20ac
0 VarErrorFlag-04b37fe8-f6ae-480b-bdd5-37d98c5e89aa
0 VendorKeys-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 XCmosVariable-d710a718-c02a-4658-a0ce-69820a7e8d24
0 certdb-59d1c24f-50f1-401a-b101-f33e0daed443
0 certdbv-59d1c24f-50f1-401a-b101-f33e0daed443
0 db-d719b2cb-3d3a-4596-a3bc-dad00e67656f
0 dbDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
0 dbx-d719b2cb-3d3a-4596-a3bc-dad00e67656f
0 dbxDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c

I am left with a looming question, whether restoring the factory Secure Boot keys will affect Ubuntu’s ability to boot. The answer seems to depend on whether Secure Boot is enabled and how Ubuntu was installed. Is there a way to measure that, as I don’t remember what happened on the state on install…probably 24.04. It was definitely in place when I upgraded to 26.04 recently.

https://askubuntu.com/a/1361351/1210606

whether Secure Boot is enabled and how Ubuntu was installed…

mokutil --sb-state tells the state at boot, correct? Not the state at install.

Did you change it at same point? If you did wouldn’t you know?

That would be great. Should have put it in the changelog.

I asked google ai to weigh in. The bot insists there’s no problem with resetting the keys to default. It didn’t mention the state during install.

“Since there are no dump* or fwupd* files present, the space is entirely
filled by hidden, fragmented NVRAM variables or a bloated signature
database that the motherboard firmware refuses to clean up dynamically.
Because you cannot clear this from within Ubuntu, the only path forward
is to force the Dell motherboard to format and compact its own internal
storage pool.

How to Force the NVRAM Cleanup via Dell BIOS Reboot your
laptop and tap F2 repeatedly at the Dell logo to enter the BIOS menu.
Go to Security or Boot Configuration and find the Secure Boot settings.
Select Reset Secure Boot Keys to Factory Defaults (or Clear Secure Boot
Keys) and confirm. Locate the main Secure Boot Enable toggle and change
it to Disabled. Press F10 to save, exit, and boot back into Ubuntu. Run
the Update Once you are logged back into Ubuntu, the NVRAM pool will be
clean, providing plenty of room. Open your terminal and run:

fwupdmgr refresh
fwupdmgr update
Re-enable Protection

Once the update successfully completes, reboot your laptop, enter the
F2 BIOS menu once more, and switch Secure Boot Enable back to Enabled
to restore full system protection.”