tee: optee: Fix incorrect page free bug
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's OP-TEE driver can free arbitrary pages because it uses a page pointer that has advanced past the start of an allocation. The input does not specify how an attacker could trigger the bug or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the OP-TEE driver should check their versions; affected versions are not specified.