Menu

Star on GitHub · 3.2k

CVE-2021-47618

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ARM: 9170/1: fix panic when kasan and kprobe are enabled arm32 uses software to simulate the instruction replaced by kprobe.

Published Jun 20, 2024CWE-476EPSS 0.24%

Overview

CVE-2021-47618 is a medium-severity vulnerability. It was published on June 20, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ARM: 9170/1: fix panic when kasan and kprobe are enabled

arm32 uses software to simulate the instruction replaced

by kprobe. some instructions may be simulated by constructing

assembly functions. therefore, before executing instruction

simulation, it is necessary to construct assembly function

execution environment in C language through binding registers.

after kasan is enabled, the register binding relationship will

be destroyed, resulting in instruction simulation errors and

causing kernel panic.

the kprobe emulate instruction function is distributed in three

files: actions-common.c actions-arm.c actions-thumb.c, so disable

KASAN when compiling these files.

for example, use kprobe insert on cap_capable+20 after kasan

enabled, the cap_capable assembly code is as follows:

<cap_capable>:

e92d47f0 push {r4, r5, r6, r7, r8, r9, sl, lr}

e1a05000 mov r5, r0

e280006c add r0, r0, #108 ; 0x6c

e1a04001 mov r4, r1

e1a0600

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-47618?

CVE-2021-47618 is a medium-severity vulnerability. It was published on June 20, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47618?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47618?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47618?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47618 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2021

View all