PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2021-47276: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47276 affects the Linux kernel's ftrace functionality. The vulnerability was discovered when a bug on arm64 caused a bad ip address to be used for updating into a nop in ftrace_init(). While the error path correctly returned -EINVAL instead of -EFAULT due to multiple errors, the ftrace_bug() function attempted to directly read from the invalid ip address location, causing a machine panic (NVD).

Technical details

The vulnerability occurs in the ftrace_bug() function when it attempts to read directly from an invalid memory address. When ftrace_init() encounters an error and returns -EINVAL, ftrace_bug() tries to report what was at the location of the ip address by reading it directly, without proper validation. This leads to accessing invalid memory addresses, resulting in a system panic (Kernel Commit).

Impact

When exploited, this vulnerability causes the machine to panic due to attempting to access invalid memory addresses. This results in a denial of service condition as the system crashes when ftrace encounters certain error conditions (NVD).

Exploitability

The vulnerability is triggered through the ftrace subsystem when it encounters specific error conditions during initialization. It specifically affects arm64 systems when a bad ip address is used for updating into a nop in ftrace_init() (Kernel Commit).

Mitigation and workarounds

The issue has been fixed by modifying ftrace_bug() to use copy_from_kernel_nofault() to safely access the memory. If the access faults, it reports that the address faulted; otherwise, it reports what was in that location. The fix was implemented in the Linux kernel through commit 6c14133d2d3f (Kernel Commit).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99082HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesOct 23, 2026
CVE-2026-99081HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-docs
NoYesOct 23, 2026
CVE-2026-99087NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesOct 23, 2026
CVE-2026-99086NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesOct 23, 2026
CVE-2026-99085NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoNoOct 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management