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-2022-49771

4.7 · MEDIUM
Published May 1, 2025 linux CWE-362 EPSS 0.15% (5th pctl)

Overview

CVE-2022-49771 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

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

dm ioctl: fix misbehavior if list_versions races with module loading

__list_versions will first estimate the required space using the

"dm_target_iterate(list_version_get_needed, &needed)" call and then will

fill the space using the "dm_target_iterate(list_version_get_info,

&iter_info)" call. Each of these calls locks the targets using the

"down_read(&_lock)" and "up_read(&_lock)" calls, however between the first

and second "dm_target_iterate" there is no lock held and the target

modules can be loaded at this point, so the second "dm_target_iterate"

call may need more space than what was the first "dm_target_iterate"

returned.

The code tries to handle this overflow (see the beginning of

list_version_get_info), however this handling is incorrect.

The code sets "param->data_size = param->data_start + needed" and

"iter_info.end = (char *)vers+len" - "needed" is the size returned by the

first dm_target_iterate call; "le

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 >= 0, < 4.9.334 Affected

Frequently Asked Questions

What is CVE-2022-49771?

CVE-2022-49771 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 1, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2022-49771?

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

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

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