PT-2024-33863 · Linux+7 · Linux Kernel+7

Kun

+1

·

Published

2024-10-21

·

Updated

2025-10-03

·

CVE-2024-50022

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.6.58
Description: The issue is related to the device-dax feature in the Linux kernel, where the pgoff should be aligned using ALIGN DOWN() instead of ALIGN(). This can cause memory failure to get the wrong address, leading to endless MCE (memory-failure) until panic. The problem is subtle and can only be observed in specific error injection scenarios. It took several weeks to identify the issue using bpftrace to trace the page fault and MCE address.
Recommendations: To resolve the issue, update to Linux kernel version 6.6.58 or later. As a temporary workaround, consider avoiding the use of unpinned device-dax regions unaligned to the device-dax selected alignment. Restrict access to the dax set mapping() function until a patch is available. Avoid using the page mapped in vma() function in dev-dax's page unless in specific error injection scenarios to minimize the risk of exploitation.

Exploit

Fix

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-17211
ALT-PU-2025-12647
AZL-51386
BDU:2025-03902
CVE-2024-50022
DLA-4008-1
INFSA-2025_6966
MGASA-2024-0344
MGASA-2024-0345
OESA-2024-2367
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_3984-1
OPENSUSE-SU-2024_3986-1
OPENSUSE-SU-2025:14705-1
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2024:3984-1
SUSE-SU-2024:3986-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7383-1
USN-7383-2
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1
USN-7451-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu