Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
4.7
CVE-2025-21998: Linux kernel may crash from efivars registration race
CVE-2025-21998 · published 1 year ago
Summary
The Linux kernel's component that handles firmware variables can crash if it tries to use those variables before its memory pool is ready. This can happen during fast, simultaneous access to firmware settings. Updating the kernel to the latest version resolves the issue.
What to do
- Update linux kernel to version 6.13.9.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | linux | linux_kernel |
>= 6.11, < 6.12.21 >= 6.13, < 6.13.9 6.14 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Linux | linux | kernel |
>= 6.13.0, < 6.13.9 Fix: upgrade to 6.13.9
|
Original advisory text
firmware: qcom: uefisecapp: fix efivars registration race
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.
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.
References
- https://git.kernel.org/stable/c/c4e37b381a7a243c298a4858fc0a5a74e737c79a URL
- https://git.kernel.org/stable/c/da8d493a80993972c427002684d0742560f3be4a URL
- https://git.kernel.org/stable/c/f15a2b96a0e41c426c63a932d0e63cde7b9784aa URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21998... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-21998 Vendor Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git Product
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition
CWE-476NULL Pointer Dereference
Timeline
Published3 Apr 2025
Updated27 Oct 2026
First seen7 Mar 2026
Track software like this
Free during beta