Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-47346

7.1 · HIGH
Published May 21, 2024 linux CWE-125 EPSS 0.25% (16th pctl)

Overview

CVE-2021-47346 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. 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:

coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()

commit 6f755e85c332 ("coresight: Add helper for inserting synchronization

packets") removed trailing '\0' from barrier_pkt array and updated the

call sites like etb_update_buffer() to have proper checks for barrier_pkt

size before read but missed updating tmc_update_etf_buffer() which still

reads barrier_pkt past the array size resulting in KASAN out-of-bounds

bug. Fix this by adding a check for barrier_pkt size before accessing

like it is done in etb_update_buffer().

BUG: KASAN: global-out-of-bounds in tmc_update_etf_buffer+0x4b8/0x698

Read of size 4 at addr ffffffd05b7d1030 by task perf/2629

Call trace:

dump_backtrace+0x0/0x27c

show_stack+0x20/0x2c

dump_stack+0x11c/0x188

print_address_description+0x3c/0x4a4

__kasan_report+0x140/0x164

kasan_report+0x10/0x18

__asan_report_load4_noabort+0x1c/0x24

tmc_update_etf_buffer+0x4b8/0x

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.14, < 4.19.198 Affected

Frequently Asked Questions

What is CVE-2021-47346?

CVE-2021-47346 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2021-47346?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. 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-47346?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-47346?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47346 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.