CWE
367 476
Advisory Published
Updated

CVE-2025-21998: firmware: qcom: uefisecapp: fix efivars registration race

First published: Thu Apr 03 2025(Updated: )

In the Linux kernel, the following vulnerability has been resolved: firmware: qcom: uefisecapp: fix efivars registration race Since the conversion to using the TZ allocator, the efivars service is registered before the memory pool has been allocated, something which can lead to a NULL-pointer dereference in case of a racing EFI variable access. Make sure that all resources have been set up before registering the efivars.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel
Linux Kernel>=6.11<6.12.21
Linux Kernel>=6.13<6.13.9
Linux Kernel=6.14-rc1
Linux Kernel=6.14-rc2
Linux Kernel=6.14-rc3
Linux Kernel=6.14-rc4
Linux Kernel=6.14-rc5
Linux Kernel=6.14-rc6
Linux Kernel=6.14-rc7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-21998?

    CVE-2025-21998 has a medium severity rating due to potential memory allocation issues in the Linux kernel.

  • How do I fix CVE-2025-21998?

    To fix CVE-2025-21998, update your Linux kernel to the latest patched version that addresses this vulnerability.

  • What systems are affected by CVE-2025-21998?

    CVE-2025-21998 affects certain versions of the Linux kernel using the TZ allocator for efivars registration.

  • Can CVE-2025-21998 lead to system instability?

    Yes, CVE-2025-21998 can lead to system instability due to a potential race condition in memory pool allocation.

  • Is there a workaround for CVE-2025-21998?

    There are no documented workarounds for CVE-2025-21998; the recommended action is to apply the kernel update.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203