CVE-2021-47276

Medium

In the Linux kernel, the following vulnerability has been resolved: ftrace: Do not blindly read the ip address in ftrace_bug() It was reported that a bug on arm64 caused a bad ip address to be used for updating into a nop in ftrace_init(), but the error path (rightfully) returned -EINVAL and not -EFAULT, as the bug caused more than one error to occur. But because -EINVAL was returned, the ftrace_bug() tried to report what was at the location of the ip address, and read it directly. This caused the machine to panic, as the ip was not pointing to a valid memory address. Instead, read the ip address with copy_from_kernel_nofault() to safely access the memory, and if it faults, report that the address faulted, otherwise report what was in that location.

Package Linux Kernel
Published 2024-05-21
Last modified 2025-04-30
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

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

Weakness type

CWE-706

CVE-2021-47276 is classified as CWE-706

See CWE-706 on MITRE CWE for full details on this weakness type.

Affected versions

Linux kernel versions 2.6.28 and later are affected. Fixed in 4.4.273, 4.9.273, 4.14.237, 4.19.195, 5.4.126, 5.10.44, 5.12.11, 5.13 and their respective stable series.

Affected from
≥ 2.6.28
Fixed in
✓ 4.4.273 4.4.x ✓ 4.9.273 4.9.x ✓ 4.14.237 4.14.x ✓ 4.19.195 4.19.x ✓ 5.4.126 5.4.x ✓ 5.10.44 5.10.x ✓ 5.12.11 5.12.x ✓ 5.13

Frequently asked questions

  • What is CVE-2021-47276?

    CVE-2021-47276 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 2.6.28 onward and has been patched in 4.4.273, 4.9.273, 4.14.237 and others. CVE-2021-47276 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

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

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

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

    Yes. CVE-2021-47276 has been patched. Fixed versions include 4.4.273, 4.9.273, 4.14.237 and others. If you are running Linux kernel 2.6.28 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2021-47276 actively exploited?

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