Menu

Star on GitHub · 3.4k

CVE-2024-50022

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: device-dax: correct pgoff align in dax_set_mapping() pgoff should be aligned using ALIGN_DOWN() instead of ALIGN().

Published Oct 21, 2024EPSS 0.27%

Overview

CVE-2024-50022 is a medium-severity vulnerability. It was published on October 21, 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:

device-dax: correct pgoff align in dax_set_mapping()

pgoff should be aligned using ALIGN_DOWN() instead of ALIGN(). Otherwise,

vmf->address not aligned to fault_size will be aligned to the next

alignment, that can result in memory failure getting the wrong address.

It's a subtle situation that only can be observed in

page_mapped_in_vma() after the page is page fault handled by

dev_dax_huge_fault. Generally, there is little chance to perform

page_mapped_in_vma in dev-dax's page unless in specific error injection

to the dax device to trigger an MCE - memory-failure. In that case,

page_mapped_in_vma() will be triggered to determine which task is

accessing the failure address and kill that task in the end.

We used self-developed dax device (which is 2M aligned mapping) , to

perform error injection to random address. It turned out that error

injected to non-2M-aligned address was causing endless MCE until panic.

Be

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-2024-50022?

CVE-2024-50022 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-50022?

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-2024-50022?

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-2024-50022?

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

View all
LiveWatch live →