title: tee: optee: Fix incorrect page free bug
description: In the Linux kernel, the following vulnerability has been resolved:
tee: optee: Fix incorrect page free bug
Pointer to the allocated pages (struct page *page) has already
progressed towards the end of allocation. It is incorrect to perform
__free_pages(page, order) using this pointer as we would free any
arbitrary pages. Fix this by stop modifying the page pointer.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 3c712f14d8a9, lessThan: 806142c805ca, status: affected, versionType: git
version: 1340dc3fb75e, lessThan: ad338d825e3f, status: affected, versionType: git
version: ec185dd3ab25, lessThan: 91e94e42f6fc, status: affected, versionType: git
version: ec185dd3ab25, lessThan: 18549bf4b21c, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.14, status: affected
version: 0, lessThan: 5.14, status: unaffected, versionType: custom
version: 5.4.169, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.89, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.12, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 5.16, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
