CVE-2021-47087

High

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.

Package Linux Kernel
Published 2024-03-04
Last modified 2025-01-16
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.8

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-763

CVE-2021-47087 is a Release of Invalid Pointer or Reference vulnerability

What is Release of Invalid Pointer or Reference?

The product attempts to return a memory resource to the system but calls the wrong release function. Learn more on MITRE CWE

Affected versions

Linux kernel versions 5.4.140, 5.10.58, 5.13.10, 5.14 and later are affected. Fixed in 5.4.169, 5.10.89, 5.15.12, 5.16 and their respective stable series.

Affected from
≥ 5.4.140 ≥ 5.10.58 ≥ 5.13.10 ≥ 5.14
Fixed in
✓ 5.4.169 5.4.x ✓ 5.10.89 5.10.x ✓ 5.15.12 5.15.x ✓ 5.16

Frequently asked questions

  • What is CVE-2021-47087?

    CVE-2021-47087 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as a Release of Invalid Pointer or Reference flaw (CWE-763) . It affects Linux kernel versions from 5.4.140 onward and has been patched in 5.4.169, 5.10.89, 5.15.12 and others. CVE-2021-47087 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2021-47087?

    CVE-2021-47087 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2021-47087?

    Yes. CVE-2021-47087 has been patched. Fixed versions include 5.4.169, 5.10.89, 5.15.12 and others. If you are running Linux kernel 5.4.140 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2021-47087 actively exploited?

    No. CVE-2021-47087 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.