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

7.0 · HIGH
Published May 22, 2024 linux CWE-416 EPSS 0.23% (13th pctl)

Overview

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

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

staging: rtl8712: fix use-after-free in rtl8712_dl_fw

Syzbot reported use-after-free in rtl8712_dl_fw(). The problem was in

race condition between r871xu_dev_remove() ->ndo_open() callback.

It's easy to see from crash log, that driver accesses released firmware

in ->ndo_open() callback. It may happen, since driver was releasing

firmware _before_ unregistering netdev. Fix it by moving

unregister_netdev() before cleaning up resources.

Call Trace:

...

rtl871x_open_fw drivers/staging/rtl8712/hal_init.c:83 [inline]

rtl8712_dl_fw+0xd95/0xe10 drivers/staging/rtl8712/hal_init.c:170

rtl8712_hal_init drivers/staging/rtl8712/hal_init.c:330 [inline]

rtl871x_hal_init+0xae/0x180 drivers/staging/rtl8712/hal_init.c:394

netdev_open+0xe6/0x6c0 drivers/staging/rtl8712/os_intfs.c:380

__dev_open+0x2bc/0x4d0 net/core/dev.c:1484

Freed by task 1306:

...

release_firmware+0x1b/0x30 drivers/base/firmware_loader/main.c:1053

r871xu_de

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 >= 3.2.6, < 3.3 Affected

Frequently Asked Questions

What is CVE-2021-47479?

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

How severe is CVE-2021-47479?

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

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

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