Menu

Star on GitHub · 3.2k

CVE-2022-49296

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ceph: fix possible deadlock when holding Fwb to get inline_data 1, mount with wsync.

Published Feb 26, 2025CWE-667EPSS 0.17%

Overview

CVE-2022-49296 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:

ceph: fix possible deadlock when holding Fwb to get inline_data

1, mount with wsync.

2, create a file with O_RDWR, and the request was sent to mds.0:

ceph_atomic_open()-->

ceph_mdsc_do_request(openc)

finish_open(file, dentry, ceph_open)-->

ceph_open()-->

ceph_init_file()-->

ceph_init_file_info()-->

ceph_uninline_data()-->

{

...

if (inline_version == 1 || /* initial version, no data */

inline_version == CEPH_INLINE_NONE)

goto out_unlock;

...

}

The inline_version will be 1, which is the initial version for the

new create file. And here the ci->i_inline_version will keep with 1,

it's buggy.

3, buffer write to the file immediately:

ceph_write_iter()-->

ceph_get_caps(file, need=Fw, want=Fb, ...);

generic_perform_write()-->

a_ops->write_b

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

CVE-2022-49296 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-49296?

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

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

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