CVE-2024-50022: Linux kernel · device-dax: correct pgoff align in dax_set_mapping()
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:45 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability is available in the Linux kernel by correcting the pgoff alignment in dax_set_mapping() to use ALIGN_DOWN(). Users should apply the official kernel updates that include this correction. Since this is a kernel-level fix, upgrading to a patched kernel version is the recommended mitigation. No additional actions are required if the system is running a fixed kernel version.
Description
CVE-2024-50022 addresses a vulnerability in the Linux kernel's device-dax subsystem where the page offset (pgoff) alignment in the dax_set_mapping() function was incorrect. The issue involved using ALIGN() instead of ALIGN_DOWN(), causing misalignment of vmf->address to fault_size. This misalignment could lead to incorrect memory failure addresses being reported, resulting in endless machine check exceptions (MCE) and system panic during error injection scenarios. The flaw is subtle and typically only triggered in specific error conditions involving unpinned device-dax regions with non-aligned addresses. The vulnerability has been resolved by correcting the alignment method.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50022 (opens in a new tab)
- git.kernel.org/stable/c/7fcbd9785d4c17ea533c42f20a9083a83f301fa6 (opens in a new tab)
- git.kernel.org/stable/c/9c4198dfdca818c5ce19c764d90eabd156bbc6da (opens in a new tab)
- git.kernel.org/stable/c/b822007e8db341d6f175c645ed79866db501ad86 (opens in a new tab)
- git.kernel.org/stable/c/e877427d218159ac29c9326100920d24330c9ee6 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)