CVE-2026-80524: optee: ffa: Add NULL check in optee_ffa_lend_protmem
In the Linux kernel, the following vulnerability has been resolved:
optee: ffa: Add NULL check in opteeffalendprotmem
Sashiko (locally) reports a possible null dereference under memory pressure due to the lack of validation of the allocated pointer.
Fix that by adding the missing check.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Apply the fix for the Sashiko-reported null dereference by adding a NULL check in optee_ffa_lend_protmem to validate the allocated pointer before use.
Linux kernel (optee: ffa) optee_ffa_lend_protmem = Add NULL check for the allocated pointer before dereferencing