{"id":"CVE-2025-21998","summary":"firmware: qcom: uefisecapp: fix efivars registration race","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: qcom: uefisecapp: fix efivars registration race\n\nSince the conversion to using the TZ allocator, the efivars service is\nregistered before the memory pool has been allocated, something which\ncan lead to a NULL-pointer dereference in case of a racing EFI variable\naccess.\n\nMake sure that all resources have been set up before registering the\nefivars.","modified":"2026-04-02T12:45:18.674733Z","published":"2025-04-03T07:19:02.272Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21998.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/c4e37b381a7a243c298a4858fc0a5a74e737c79a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da8d493a80993972c427002684d0742560f3be4a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f15a2b96a0e41c426c63a932d0e63cde7b9784aa"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21998.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21998"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2025-21998.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}