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.
[
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/firmware/qcom/qcom_qseecom_uefisecapp.c",
"function": "qcom_uefisecapp_probe"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da8d493a80993972c427002684d0742560f3be4a",
"digest": {
"length": 746.0,
"function_hash": "50579163368325629018624999214533123964"
},
"id": "CVE-2025-21998-51531d78"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/firmware/qcom/qcom_qseecom_uefisecapp.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da8d493a80993972c427002684d0742560f3be4a",
"digest": {
"line_hashes": [
"68685052580535303013245166863382880618",
"7695740514274803738701958330388659148",
"67368391200645627681768190516043551261",
"130210703817765807752619397273156269814",
"115216389724655089255819683823709185243",
"264250308276947122833812134331961752523",
"141146409717502050912267562434230297048",
"312107096958154269729934347569110565839",
"259034563941982159081174234722899627234",
"182707316803586265554964075701334511595",
"245377583533876294548282551995464630383",
"324577335403186152250457176208172842993",
"185234842229038827213631643053783480054"
],
"threshold": 0.9
},
"id": "CVE-2025-21998-e18bef8b"
}
]