Menu

Star on GitHub · 3.2k

CVE-2022-49702

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix hang during unmount when block group reclaim task is running When we start an unmount, at close_ctree(), if we have…

Published Feb 26, 2025CWE-667EPSS 0.21%

Overview

CVE-2022-49702 is a medium-severity vulnerability. It was published on February 26, 2025 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: fix hang during unmount when block group reclaim task is running

When we start an unmount, at close_ctree(), if we have the reclaim task

running and in the middle of a data block group relocation, we can trigger

a deadlock when stopping an async reclaim task, producing a trace like the

following:

[629724.498185] task:kworker/u16:7 state:D stack: 0 pid:681170 ppid: 2 flags:0x00004000

[629724.499760] Workqueue: events_unbound btrfs_async_reclaim_metadata_space [btrfs]

[629724.501267] Call Trace:

[629724.501759] <TASK>

[629724.502174] __schedule+0x3cb/0xed0

[629724.502842] schedule+0x4e/0xb0

[629724.503447] btrfs_wait_on_delayed_iputs+0x7c/0xc0 [btrfs]

[629724.504534] ? prepare_to_wait_exclusive+0xc0/0xc0

[629724.505442] flush_space+0x423/0x630 [btrfs]

[629724.506296] ? rcu_read_unlock_trace_special+0x20/0x50

[629724.507259] ? lock_release+0x220/0x4a0

[629724.507932] ? btrfs_get_alloc_profile+0

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-2022-49702?

CVE-2022-49702 is a medium-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49702?

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-2022-49702?

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-2022-49702?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49702 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 2022

View all