CVE-2024-50022
publisheddevice-dax: correct pgoff align in dax_set_mapping()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb9b5777f09be84d0de472ded2253d2f5101427f2 to < 9c4198dfdca818c5ce19c764d90eabd156bbc6da · b9b5777f09be84d0de472ded2253d2f5101427f2 to < b822007e8db341d6f175c645ed79866db501ad86 · b9b5777f09be84d0de472ded2253d2f5101427f2 to < e877427d218159ac29c9326100920d24330c9ee6 · b9b5777f09be84d0de472ded2253d2f5101427f2 to < 7fcbd9785d4c17ea533c42f20a9083a83f301fa6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 6.1.113 through 6.1.* (unaffected · semver) · 6.6.57 through 6.6.* (unaffected · semver) · 6.11.4 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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. Because page_mapped_in_vma() kept resulting wrong address and the task accessing the failure address was never killed properly: [ 3783.719419] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3784.049006] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3784.049190] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3784.448042] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3784.448186] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3784.792026] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3784.792179] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3785.162502] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3785.162633] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3785.461116] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3785.461247] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3785.764730] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3785.764859] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3786.042128] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3786.042259] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3786.464293] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3786.464423] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3786.818090] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3786.818217] Memory failure: 0x200c9742: recovery action for dax page: Recovered [ 3787.085297] mce: Uncorrected hardware memory error in user-access at 200c9742380 [ 3787.085424] Memory failure: 0x200c9742: recovery action for dax page: Recovered It took us several weeks to pinpoint this problem, but we eventually used bpftrace to trace the page fault and mce address and successfully identified the issue. Joao added: ; Likely we never reproduce in production because we always pin : device-dax regions in the region align they provide (Qemu does : similarly with prealloc in hugetlb/file backed memory). I think this : bug requires that we touch *unpinned* device-dax regions unaligned to : the device-dax selected alignment (page size i.e. 4K/2M/1G)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b9b5777f09be84d0de472ded2253d2f5101427f2 to < 9c4198dfdca818c5ce19c764d90eabd156bbc6da (affected · git)b9b5777f09be84d0de472ded2253d2f5101427f2 to < b822007e8db341d6f175c645ed79866db501ad86 (affected · git)b9b5777f09be84d0de472ded2253d2f5101427f2 to < e877427d218159ac29c9326100920d24330c9ee6 (affected · git)b9b5777f09be84d0de472ded2253d2f5101427f2 to < 7fcbd9785d4c17ea533c42f20a9083a83f301fa6 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.17 (affected)0 to < 5.17 (unaffected · semver)6.1.113 through 6.1.* (unaffected · semver)6.6.57 through 6.6.* (unaffected · semver)6.11.4 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/7fcbd9785d4c17ea533c42f20a9083a83f301fa6
- https://git.kernel.org/stable/c/9c4198dfdca818c5ce19c764d90eabd156bbc6da
- https://git.kernel.org/stable/c/b822007e8db341d6f175c645ed79866db501ad86
- https://git.kernel.org/stable/c/e877427d218159ac29c9326100920d24330c9ee6
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
device-dax: correct pgoff align in dax_set_mapping()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c7f1328ce96c1953d361308640da23810fcc12ad6206af891cc1df67d4b815a7
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record