CVE-2025-21998

Source
https://cve.org/CVERecord?id=CVE-2025-21998
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21998.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21998
Downstream
Published
2025-04-03T07:19:02.272Z
Modified
2026-03-11T05:34:02.415760Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
firmware: qcom: uefisecapp: fix efivars registration race
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21998.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6612103ec35af6058bb85ab24dae28e119b3c055
Fixed
c4e37b381a7a243c298a4858fc0a5a74e737c79a
Fixed
f15a2b96a0e41c426c63a932d0e63cde7b9784aa
Fixed
da8d493a80993972c427002684d0742560f3be4a

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21998.json"