CVE-2021-47341 Vulnerability Analysis & Exploit Details

CVE-2021-47341
Vulnerability Scoring

7.8
/10
Very High Risk

Highly exploitable, CVE-2021-47341 poses a critical security risk that could lead to severe breaches.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Local
    Vulnerability requires local system access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2021-47341 Details

Status: Analyzed

Last updated: 🕔 14 Jan 2025, 17:28 UTC
Originally published on: 🕒 21 May 2024, 15:15 UTC

Time between publication and last update: 238 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVE-2021-47341 Vulnerability Summary

CVE-2021-47341: In the Linux kernel, the following vulnerability has been resolved: KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio BUG: KASAN: use-after-free in kvm_vm_ioctl_unregister_coalesced_mmio+0x7c/0x1ec arch/arm64/kvm/../../../virt/kvm/coalesced_mmio.c:183 Read of size 8 at addr ffff0000c03a2500 by task syz-executor083/4269 CPU: 5 PID: 4269 Comm: syz-executor083 Not tainted 5.10.0 #7 Hardware name: linux,dummy-virt (DT) Call trace: dump_backtrace+0x0/0x2d0 arch/arm64/kernel/stacktrace.c:132 show_stack+0x28/0x34 arch/arm64/kernel/stacktrace.c:196 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x110/0x164 lib/dump_stack.c:118 print_address_description+0x78/0x5c8 mm/kasan/report.c:385 __kasan_report mm/kasan/report.c:545 [inline] kasan_report+0x148/0x1e4 mm/kasan/report.c:562 check_memory_region_inline mm/kasan/generic.c:183 [inline] __asan_load8+0xb4/0xbc mm/kasan/generic.c:252 kvm_vm_ioctl_unregister_coalesced_mmio+0x7c/0x1ec arch/arm64/kvm/../../../virt/kvm/coalesced_mmio.c:183 kvm_vm_ioctl+0xe30/0x14c4 arch/arm64/kvm/../../../virt/kvm/kvm_main.c:3755 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __arm64_sys_ioctl+0xf88/0x131c fs/ioctl.c:739 __invoke_syscall arch/arm64/kernel/syscall.c:36 [inline] invoke_syscall arch/arm64/kernel/syscall.c:48 [inline] el0_svc_common arch/arm64/kernel/syscall.c:158 [inline] do_el0_svc+0x120/0x290 arch/arm64/kernel/syscall.c:220 el0_svc+0x1c/0x28 arch/arm64/kernel/entry-common.c:367 el0_sync_handler+0x98/0x170 arch/arm64/kernel/entry-common.c:383 el0_sync+0x140/0x180 arch/arm64/kernel/entry.S:670 Allocated by task 4269: stack_trace_save+0x80/0xb8 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:48 [inline] kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc+0xdc/0x120 mm/kasan/common.c:461 kasan_kmalloc+0xc/0x14 mm/kasan/common.c:475 kmem_cache_alloc_trace include/linux/slab.h:450 [inline] kmalloc include/linux/slab.h:552 [inline] kzalloc include/linux/slab.h:664 [inline] kvm_vm_ioctl_register_coalesced_mmio+0x78/0x1cc arch/arm64/kvm/../../../virt/kvm/coalesced_mmio.c:146 kvm_vm_ioctl+0x7e8/0x14c4 arch/arm64/kvm/../../../virt/kvm/kvm_main.c:3746 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __arm64_sys_ioctl+0xf88/0x131c fs/ioctl.c:739 __invoke_syscall arch/arm64/kernel/syscall.c:36 [inline] invoke_syscall arch/arm64/kernel/syscall.c:48 [inline] el0_svc_common arch/arm64/kernel/syscall.c:158 [inline] do_el0_svc+0x120/0x290 arch/arm64/kernel/syscall.c:220 el0_svc+0x1c/0x28 arch/arm64/kernel/entry-common.c:367 el0_sync_handler+0x98/0x170 arch/arm64/kernel/entry-common.c:383 el0_sync+0x140/0x180 arch/arm64/kernel/entry.S:670 Freed by task 4269: stack_trace_save+0x80/0xb8 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:48 [inline] kasan_set_track+0x38/0x6c mm/kasan/common.c:56 kasan_set_free_info+0x20/0x40 mm/kasan/generic.c:355 __kasan_slab_free+0x124/0x150 mm/kasan/common.c:422 kasan_slab_free+0x10/0x1c mm/kasan/common.c:431 slab_free_hook mm/slub.c:1544 [inline] slab_free_freelist_hook mm/slub.c:1577 [inline] slab_free mm/slub.c:3142 [inline] kfree+0x104/0x38c mm/slub.c:4124 coalesced_mmio_destructor+0x94/0xa4 arch/arm64/kvm/../../../virt/kvm/coalesced_mmio.c:102 kvm_iodevice_destructor include/kvm/iodev.h:61 [inline] kvm_io_bus_unregister_dev+0x248/0x280 arch/arm64/kvm/../../../virt/kvm/kvm_main.c:4374 kvm_vm_ioctl_unregister_coalesced_mmio+0x158/0x1ec arch/arm64/kvm/../../../virt/kvm/coalesced_mmio.c:186 kvm_vm_ioctl+0xe30/0x14c4 arch/arm64/kvm/../../../virt/kvm/kvm_main.c:3755 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __arm64_sys_ioctl+0xf88/0x131c fs/ioctl.c:739 __invoke_syscall arch/arm64/kernel/syscall.c:36 [inline] invoke_syscall arch/arm64/kernel/sys ---truncated---

Assessing the Risk of CVE-2021-47341

Access Complexity Graph

The exploitability of CVE-2021-47341 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2021-47341

CVE-2021-47341 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2021-47341, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2021-47341, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2021-47341 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2021-47341 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2021-47341 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.042% (probability of exploit)

EPSS Percentile: 5.07% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 94.93% of others.

CVE-2021-47341 References

External References

CWE Common Weakness Enumeration

CWE-416

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:5.4.119:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.119:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.120:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.120:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.121:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.121:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.122:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.122:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.123:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.123:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.124:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.124:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.125:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.125:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.126:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.126:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.127:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.127:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.128:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.128:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.129:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.129:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.130:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.130:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.131:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.131:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.132:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.132:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.133:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.133:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.37:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.37:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.38:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.38:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.39:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.39:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.40:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.40:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.41:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.41:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.42:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.42:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.43:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.43:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.44:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.44:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.45:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.45:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.46:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.46:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.47:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.47:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.48:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.48:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.49:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.49:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.50:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.50:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.51:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.51:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.21:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.21:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11.22:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11.22:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.11:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.11:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.13:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.13:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.14:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.14:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.15:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.15:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.16:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.16:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.17:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.17:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.12.18:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.12.18:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.13:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.13:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.13.0-52:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.13.0-52:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.13.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.13.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.13.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.13.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.13.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.13.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2021-47341: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-3284 – The User Registration & Membership – Custom Registration Form, Login Form, and User Profile plugin for WordPress is vulnerable to Cross-Site Reques...
  • CVE-2025-3278 – The UrbanGo Membership plugin for WordPress is vulnerable to privilege escalation in versions up to, and including, 1.0.4. This is due to the plugi...
  • CVE-2025-2010 – The JobWP – Job Board, Job Listing, Career Page and Recruitment Plugin plugin for WordPress is vulnerable to SQL Injection via the 'jobwp_upload_re...
  • CVE-2025-43903 – NSSCryptoSignBackend.cc in Poppler before 25.04.0 does not verify the adbe.pkcs7.sha1 signatures on documents, resulting in potential signature forgeries.
  • CVE-2025-3796 – A vulnerability classified as critical has been found in PHPGurukul Men Salon Management System 1.0. This affects an unknown part of the file /admi...