Affected versions: Ubuntu 22.04 LTS

📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

DKMS-built driver fails to load on systems with Secure Boot enabled.

Environment & Reproduction

Ubuntu 22.04 UEFI system using third-party module not signed by enrolled key.

Root Cause Analysis

Kernel module signature validation rejects unsigned or untrusted module binary.

Quick Triage

Check mokutil –sb-state and review dmesg for signature validation errors.

Step-by-Step Diagnosis

Inspect module signature status and confirm whether MOK key is enrolled.

Illustrative mockup for ubuntu-22-04-lts — secureboot_dkms_diag
dmesg shows module verification failed signature and required key missing — Illustrative mockup — Progressive Robot

Solution – Primary Fix

Sign module with enrolled key or enroll new MOK, then rebuild and load module.

Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for ubuntu-22-04-lts — secureboot_dkms_fixed
MOK enrolled and signed module loads under Secure Boot — Illustrative mockup — Progressive Robot

Solution – Alternative Approaches

Disable Secure Boot only where policy allows and risk is accepted.

Verification & Acceptance Criteria

Module loads without verification errors and dependent functionality is restored.

Rollback Plan

Revert to previously working signed module package if new signing workflow fails.

Prevention & Hardening

Integrate module signing and MOK lifecycle into driver deployment process.

Automate patch management and compliance across your fleet with our DevOps services.

DKMS build failures and kernel ABI changes may co-occur during update windows.

Related tutorial: View the step-by-step tutorial for Ubuntu 22.04 LTS.

View all Ubuntu 22.04 LTS tutorials on the Tutorials Hub →

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Ubuntu 22.04 Secure Boot, MOK, and module signing documentation.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.