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

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

Overview

CVE-2021-47338 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:

fbmem: Do not delete the mode that is still in use

The execution of fb_delete_videomode() is not based on the result of the

previous fbcon_mode_deleted(). As a result, the mode is directly deleted,

regardless of whether it is still in use, which may cause UAF.

==================================================================

BUG: KASAN: use-after-free in fb_mode_is_equal+0x36e/0x5e0 \

drivers/video/fbdev/core/modedb.c:924

Read of size 4 at addr ffff88807e0ddb1c by task syz-executor.0/18962

CPU: 2 PID: 18962 Comm: syz-executor.0 Not tainted 5.10.45-rc1+ #3

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ...

Call Trace:

__dump_stack lib/dump_stack.c:77 [inline]

dump_stack+0x137/0x1be lib/dump_stack.c:118

print_address_description+0x6c/0x640 mm/kasan/report.c:385

__kasan_report mm/kasan/report.c:545 [inline]

kasan_report+0x13d/0x1e0 mm/kasan/report.c:562

fb_mode_is_equal+0x36e/0x5e0 drivers/video/fb

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.3, < 5.4.134 Affected

Frequently Asked Questions

What is CVE-2021-47338?

CVE-2021-47338 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-47338?

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

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

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