Menu

Star on GitHub · 3.2k

CVE-2021-47508

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: btrfs: free exchange changeset on failures Fstests runs on my VMs have show several kmemleak reports like the following.

Published May 24, 2024CWE-401EPSS 0.21%

Overview

CVE-2021-47508 is a medium-severity vulnerability. It was published on May 24, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

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

btrfs: free exchange changeset on failures

Fstests runs on my VMs have show several kmemleak reports like the following.

unreferenced object 0xffff88811ae59080 (size 64):

comm "xfs_io", pid 12124, jiffies 4294987392 (age 6.368s)

hex dump (first 32 bytes):

00 c0 1c 00 00 00 00 00 ff cf 1c 00 00 00 00 00 ................

90 97 e5 1a 81 88 ff ff 90 97 e5 1a 81 88 ff ff ................

backtrace:

[<00000000ac0176d2>] ulist_add_merge+0x60/0x150 [btrfs]

[<0000000076e9f312>] set_state_bits+0x86/0xc0 [btrfs]

[<0000000014fe73d6>] set_extent_bit+0x270/0x690 [btrfs]

[<000000004f675208>] set_record_extent_bits+0x19/0x20 [btrfs]

[<00000000b96137b1>] qgroup_reserve_data+0x274/0x310 [btrfs]

[<0000000057e9dcbb>] btrfs_check_data_free_space+0x5c/0xa0 [btrfs]

[<0000000019c4511d>] btrfs_delalloc_reserve_space+0x1b/0xa0 [btrfs]

[<000000006d37e007>] btrfs_dio_i

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2021-47508?

CVE-2021-47508 is a medium-severity vulnerability. It was published on May 24, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47508?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-47508?

Check the references section for vendor advisories, patches, and mitigation guidance. 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-47508?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47508 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2021

View all