Failed to upgrade Microsoft KEK CA in Discover

I got Microsoft KEK CA upgradation recently in KDE Discover on my ThinkCentre M75n computer.

The error message is failed to write-firmware: failed to write (null): failed to write data to efivarsfs: Error writing to file descriptor: Invalid argument

I don’t know whether it’s related to disk encryption, I enabled it while installing F42. And there is no related dmesg error reported.

Similar here, Lenovo P330 “Tiny”

$ sudo fwupdmgr update         
╔══════════════════════════════════════════════════════════════════════════════╗
║ Upgrade KEK CA from 2011 to 2023?                                            ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ This updates the UEFI Signature Database (the "KEK") to the latest release   ║
║ from Microsoft, signed by LENOVO.                                            ║
║                                                                              ║
║ KEK CA and all connected devices may not be usable while updating.           ║
╚══════════════════════════════════════════════════════════════════════════════╝
Perform operation? [Y|n]: Y
Writing…                 [*****                                  ]
failed to write-firmware: failed to write (null): failed to write data to efivarsfs: Error writing to file descriptor: Invalid argument