Linux Kernel up to 6.10.13/6.11.2 xe_migrate_copy null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.0$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in Linux Kernel up to 6.10.13/6.11.2. Affected is the function xe_migrate_copy. This manipulation causes null pointer dereference. This vulnerability appears as CVE-2024-49942. There is no available exploit. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.10.13/6.11.2. It has been declared as critical. Affected by this vulnerability is the function xe_migrate_copy. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Prevent null pointer access in xe_migrate_copy xe_migrate_copy designed to copy content of TTM resources. When source resource is null, it will trigger a NULL pointer dereference in xe_migrate_copy. To avoid this situation, update lacks source flag to true for this case, the flag will trigger xe_migrate_clear rather than xe_migrate_copy. Issue trace: [317.089847] xe 0000:00:02.0: [drm:xe_migrate_copy [xe]] Pass 14, sizes: 4194304 & 4194304 [317.089945] xe 0000:00:02.0: [drm:xe_migrate_copy [xe]] Pass 15, sizes: 4194304 & 4194304 [317.128055] BUG: kernel NULL pointer dereference, address: 0000000000000010 [317.128064] #PF: supervisor read access in kernel mode [317.128066] #PF: error_code(0x0000) - not-present page [317.128069] PGD 0 P4D 0 [317.128071] Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI [317.128074] CPU: 1 UID: 0 PID: 1440 Comm: kunit_try_catch Tainted: G U N 6.11.0-rc7-xe #1 [317.128078] Tainted: [U]=USER, [N]=TEST [317.128080] Hardware name: Intel Corporation Lunar Lake Client Platform/LNL-M LP5 RVP1, BIOS LNLMFWI1.R00.3221.D80.2407291239 07/29/2024 [317.128082] RIP: 0010:xe_migrate_copy+0x66/0x13e0 [xe] [317.128158] Code: 00 00 48 89 8d e0 fe ff ff 48 8b 40 10 4c 89 85 c8 fe ff ff 44 88 8d bd fe ff ff 65 48 8b 3c 25 28 00 00 00 48 89 7d d0 31 ff 79 10 48 89 85 a0 fe ff ff 48 8b 00 48 89 b5 d8 fe ff ff 83 ff [317.128162] RSP: 0018:ffffc9000167f9f0 EFLAGS: 00010246 [317.128164] RAX: ffff8881120d8028 RBX: ffff88814d070428 RCX: 0000000000000000 [317.128166] RDX: ffff88813cb99c00 RSI: 0000000004000000 RDI: 0000000000000000 [317.128168] RBP: ffffc9000167fbb8 R08: ffff88814e7b1f08 R09: 0000000000000001 [317.128170] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88814e7b1f08 [317.128172] R13: ffff88814e7b1f08 R14: ffff88813cb99c00 R15: 0000000000000001 [317.128174] FS: 0000000000000000(0000) GS:ffff88846f280000(0000) knlGS:0000000000000000 [317.128176] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [317.128178] CR2: 0000000000000010 CR3: 000000011f676004 CR4: 0000000000770ef0 [317.128180] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [317.128182] DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400 [317.128184] PKRU: 55555554 [317.128185] Call Trace: [317.128187] [317.128189] ? show_regs+0x67/0x70 [317.128194] ? __die_body+0x20/0x70 [317.128196] ? __die+0x2b/0x40 [317.128198] ? page_fault_oops+0x15f/0x4e0 [317.128203] ? do_user_addr_fault+0x3fb/0x970 [317.128205] ? lock_acquire+0xc7/0x2e0 [317.128209] ? exc_page_fault+0x87/0x2b0 [317.128212] ? asm_exc_page_fault+0x27/0x30 [317.128216] ? xe_migrate_copy+0x66/0x13e0 [xe] [317.128263] ? __lock_acquire+0xb9d/0x26f0 [317.128265] ? __lock_acquire+0xb9d/0x26f0 [317.128267] ? sg_free_append_table+0x20/0x80 [317.128271] ? lock_acquire+0xc7/0x2e0 [317.128273] ? mark_held_locks+0x4d/0x80 [317.128275] ? trace_hardirqs_on+0x1e/0xd0 [317.128278] ? _raw_spin_unlock_irqrestore+0x31/0x60 [317.128281] ? __pm_runtime_resume+0x60/0xa0 [317.128284] xe_bo_move+0x682/0xc50 [xe] [317.128315] ? lock_is_held_type+0xaa/0x120 [317.128318] ttm_bo_handle_move_mem+0xe5/0x1a0 [ttm] [317.128324] ttm_bo_validate+0xd1/0x1a0 [ttm] [317.128328] shrink_test_run_device+0x721/0xc10 [xe] [317.128360] ? find_held_lock+0x31/0x90 [317.128363] ? lock_release+0xd1/0x2a0 [317.128365] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [kunit] [317.128370] xe_bo_shrink_kunit+0x11/0x20 [xe] [317.128397] kunit_try_run_case+0x6e/0x150 [kunit] [317.128400] ? trace_hardirqs_on+0x1e/0xd0 [317.128402] ? _raw_spin_unlock_irqrestore+0x31/0x60 [317.128404] kunit_generic_run_threadfn_adapter+0x1e/0x40 [ku ---truncated---

It is possible to read the advisory at git.kernel.org. This vulnerability is known as CVE-2024-49942 since 10/21/2024. The exploitation appears to be difficult. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 216493 (Ubuntu 24.10 : Linux kernel vulnerabilities (USN-7276-1)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.10.14 or 6.11.3 eliminates this vulnerability. Applying the patch 16e0267db156/8f5199b6971f/7257d9c9a3c6 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (216493) and CERT Bund (WID-SEC-2024-3251). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Google Container-Optimized OS
  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • NetApp StorageGRID
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • Kyocera Printer
  • NetApp AFF
  • NetApp ActiveIQ Unified Manager
  • SUSE openSUSE
  • IBM Security Guardium
  • RESF Rocky Linux
  • Dell NetWorker
  • Dell Avamar
  • IBM QRadar SIEM
  • NetApp FAS
  • SolarWinds Security Event Manager
  • Dell PowerProtect Data Domain
  • Open Source Linux Kernel
  • Dell PowerScale OneFS

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.1
VulDB Meta Temp Score: 5.0

VulDB Base Score: 4.8
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 216493
Nessus Name: Ubuntu 24.10 : Linux kernel vulnerabilities (USN-7276-1)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 6.10.14/6.11.3
Patch: 16e0267db156/8f5199b6971f/7257d9c9a3c6

Timelineinfo

10/21/2024 🔍
10/21/2024 +0 days 🔍
10/21/2024 +0 days 🔍
03/18/2026 +513 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2024-49942 (🔍)
GCVE (CVE): GCVE-0-2024-49942
GCVE (VulDB): GCVE-100-281203
CERT Bund: WID-SEC-2024-3251 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 10/21/2024 21:03
Updated: 03/18/2026 07:46
Changes: 10/21/2024 21:03 (58), 10/25/2024 22:26 (12), 02/20/2025 15:20 (2), 07/26/2025 22:21 (7), 03/18/2026 07:46 (1)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!