Menu

Star on GitHub · 3.2k

CVE-2022-49913

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix inode list leak during backref walking at find_parent_nodes() During backref walking, at find_parent_nodes(), if we…

Published May 1, 2025CWE-401EPSS 0.20%

Overview

CVE-2022-49913 is a medium-severity vulnerability. It was published on May 1, 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 inode list leak during backref walking at find_parent_nodes()

During backref walking, at find_parent_nodes(), if we are dealing with a

data extent and we get an error while resolving the indirect backrefs, at

resolve_indirect_refs(), or in the while loop that iterates over the refs

in the direct refs rbtree, we end up leaking the inode lists attached to

the direct refs we have in the direct refs rbtree that were not yet added

to the refs ulist passed as argument to find_parent_nodes(). Since they

were not yet added to the refs ulist and prelim_release() does not free

the lists, on error the caller can only free the lists attached to the

refs that were added to the refs ulist, all the remaining refs get their

inode lists never freed, therefore leaking their memory.

Fix this by having prelim_release() always free any attached inode list

to each ref found in the rbtree, and have find_parent_nodes() set the

r

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

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

How severe is CVE-2022-49913?

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

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

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