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-47303

7.8 · HIGH
Published May 21, 2024 linux CWE-416 EPSS 0.24% (14th pctl)

Overview

CVE-2021-47303 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.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, 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:

bpf: Track subprog poke descriptors correctly and fix use-after-free

Subprograms are calling map_poke_track(), but on program release there is no

hook to call map_poke_untrack(). However, on program release, the aux memory

(and poke descriptor table) is freed even though we still have a reference to

it in the element list of the map aux data. When we run map_poke_run(), we then

end up accessing free'd memory, triggering KASAN in prog_array_map_poke_run():

[...]

[ 402.824689] BUG: KASAN: use-after-free in prog_array_map_poke_run+0xc2/0x34e

[ 402.824698] Read of size 4 at addr ffff8881905a7940 by task hubble-fgs/4337

[ 402.824705] CPU: 1 PID: 4337 Comm: hubble-fgs Tainted: G I 5.12.0+ #399

[ 402.824715] Call Trace:

[ 402.824719] dump_stack+0x93/0xc2

[ 402.824727] print_address_description.constprop.0+0x1a/0x140

[ 402.824736] ? prog_array_map_poke_run+0xc2/0x34e

[ 402.824740]

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 >= 5.10, < 5.10.53 Affected

Frequently Asked Questions

What is CVE-2021-47303?

CVE-2021-47303 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.8 (HIGH).

How severe is CVE-2021-47303?

This vulnerability has a CVSS 3.1 base score of 7.8, 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-47303?

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-47303?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47303 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.