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

7.8 · HIGH
Published Feb 26, 2025 linux CWE-415 EPSS 0.26% (17th pctl)

Overview

CVE-2021-47638 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 26, 2025 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:

ubifs: rename_whiteout: Fix double free for whiteout_ui->data

'whiteout_ui->data' will be freed twice if space budget fail for

rename whiteout operation as following process:

rename_whiteout

dev = kmalloc

whiteout_ui->data = dev

kfree(whiteout_ui->data) // Free first time

iput(whiteout)

ubifs_free_inode

kfree(ui->data) // Double free!

KASAN reports:

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

BUG: KASAN: double-free or invalid-free in ubifs_free_inode+0x4f/0x70

Call Trace:

kfree+0x117/0x490

ubifs_free_inode+0x4f/0x70 [ubifs]

i_callback+0x30/0x60

rcu_do_batch+0x366/0xac0

__do_softirq+0x133/0x57f

Allocated by task 1506:

kmem_cache_alloc_trace+0x3c2/0x7a0

do_rename+0x9b7/0x1150 [ubifs]

ubifs_rename+0x106/0x1f0 [ubifs]

do_syscall_64+0x35/0x80

Freed by task 1506:

kfree+0x117/0x490

do_rename.cold+0x53/0x8a [ubifs]

ubifs_rename+0x106/0x1f0 [ubifs]

d

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.9, < 4.14.276 Affected

Frequently Asked Questions

What is CVE-2021-47638?

CVE-2021-47638 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 26, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-47638?

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

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

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