PT-2024-33784 · Linux+2 · Linux Kernel+2

Zhanjun Dong

·

Published

2024-09-27

·

Updated

2025-04-01

·

CVE-2024-49942

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.11.0-rc7-xe
Description: A null pointer dereference issue has been identified in the Linux kernel, specifically in the xe migrate copy function. This function is designed to copy the content of TTM resources. When the source resource is null, it triggers a null pointer dereference in xe migrate copy. To avoid this situation, the lacks source flag is updated to true, which triggers xe migrate clear instead of xe migrate copy. The issue is related to the xe migrate copy function and the ttm bo handle move mem function.
Recommendations: To resolve this issue, update the Linux kernel to a version that includes the fix for this vulnerability. As a temporary workaround, consider disabling the xe migrate copy function until a patch is available. Restrict access to the vulnerable ttm bo handle move mem function to minimize the risk of exploitation. Avoid using the lacks source flag in the affected xe migrate copy function until the issue is resolved.

Exploit

Fix

NULL Pointer Dereference

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

Weakness Enumeration

Related Identifiers

BDU:2025-16198
CVE-2024-49942
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2025:14705-1
USN-7276-1
USN-7277-1
USN-7301-1
USN-7303-1
USN-7303-2
USN-7303-3
USN-7304-1
USN-7310-1
USN-7311-1
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1

Affected Products

Linuxmint
Linux Kernel
Ubuntu