What’s Vulnerable › Vulnerabilities
CVE-2025-21998: firmware: qcom: uefisecapp: fix efivars registration race
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-03 · updated 2026-06-17
- Weakness: CWE-367
Description
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.
Affected products
- Linux kernel: from 6.11 before 6.12.21; from 6.13 before 6.13.9; 6.14-rc1, 6.14-rc2, 6.14-rc3, 6.14-rc4, 6.14-rc5, 6.14-rc6 (+1) — fixed in 6.12.21, 6.13.9
How to fix
Upgrade to a fixed version: Linux kernel 6.12.21, 6.13.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/c4e37b381a7a243c298a4858fc0a5a74e737c79a
- https://git.kernel.org/stable/c/da8d493a80993972c427002684d0742560f3be4a
- https://git.kernel.org/stable/c/f15a2b96a0e41c426c63a932d0e63cde7b9784aa
Get alerted when CVE-2025-21998 or the next vulnerability affects your stack