PT-2024-34083 · Linux+5 · Linux Kernel+5

Published

2024-10-07

·

Updated

2025-10-03

·

CVE-2024-50250

CVSS v3.1

7.1

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.6.61
Description: The issue is related to the fsdax feature in the Linux kernel, where the dax unshare iter function needs to copy entire blocks. The code that copies data from srcmap to iomap in dax unshare iter is broken, which can lead to data corruption and confidentiality breaches. Specifically, if the pos and len passed to dax file unshare are not aligned to an fsblock boundary, the iter pos and length in the iter function will reflect this unalignment, causing data corruption. Additionally, if iter->pos + iomap length() in the iter function is not aligned to a page, then only a partial block will be copied, exposing stale pmem contents. The issue is fixed by aligning copy pos/copy len to a page boundary.
Recommendations: To resolve the issue, update to Linux kernel version 6.6.61 or later. As a temporary workaround, consider restricting access to the dax unshare iter function until a patch is available. Additionally, be cautious when using the dax file unshare function, ensuring that the pos and len arguments are properly aligned to an fsblock boundary.

Exploit

Fix

Unchecked Return Value

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-16040
ALT-PU-2024-17211
ALT-PU-2024-17891
ALT-PU-2025-12647
AZL-53373
BDU:2025-06980
CVE-2024-50250
DLA-4008-1
DSA-5818-1
MGASA-2024-0368
MGASA-2024-0369
OESA-2024-2446
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4316-1
OPENSUSE-SU-2025:14705-1
SUSE-SU-2024:4314-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:02388-1
SUSE-SU-2025:02389-1
SUSE-SU-2025:02390-1
SUSE-SU-2025:02411-1
SUSE-SU-2025:02412-1
SUSE-SU-2025:02420-1
SUSE-SU-2025:02440-1
SUSE-SU-2025:02449-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
SUSE-SU-2025:20517-1
SUSE-SU-2025:20518-1
SUSE-SU-2025:20525-1
SUSE-SU-2025:20526-1
SUSE-SU-2025:20540-1
SUSE-SU-2025:20544-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu