Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-39741— drm/xe/migrate: don't overflow max copy size

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未正确处理最大复制尺寸,可能导致缓冲区溢出。

AI Predicted 3.3 Difficulty: Theoretical EPSS 0.14% · P3

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux 270172f64b114451876c1b68912653e72ab99f38< 7257cc6644d540130a46a61531a07a0517cace89 affected
270172f64b114451876c1b68912653e72ab99f38< 4126cb327a2e3273c81fcef1c594c5b7b645c44c affected
6.16 affected
< 6.16 unaffected
6.16.2≤ 6.16.* unaffected
6.17≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-39741

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
drm/xe/migrate: don't overflow max copy size
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe/migrate: don't overflow max copy size With non-page aligned copy, we need to use 4 byte aligned pitch, however the size itself might still be close to our maximum of ~8M, and so the dimensions of the copy can easily exceed the S16_MAX limit of the copy command leading to the following assert: xe 0000:03:00.0: [drm] Assertion `size / pitch <= ((s16)(((u16)~0U) >> 1))` failed! platform: BATTLEMAGE subplatform: 1 graphics: Xe2_HPG 20.01 step A0 media: Xe2_HPM 13.01 step A1 tile: 0 VRAM 10.0 GiB GT: 0 type 1 WARNING: CPU: 23 PID: 10605 at drivers/gpu/drm/xe/xe_migrate.c:673 emit_copy+0x4b5/0x4e0 [xe] To fix this account for the pitch when calculating the number of current bytes to copy. (cherry picked from commit 8c2d61e0e916e077fda7e7b8e67f25ffe0f361fc)
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未正确处理最大复制尺寸,可能导致缓冲区溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 270172f64b114451876c1b68912653e72ab99f38 ~ 7257cc6644d540130a46a61531a07a0517cace89 -
Linux Linux 6.16 -

II. Public POCs for CVE-2025-39741

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-39741

请登录查看更多情报信息。

Same Patch Batch · Linux · 2025-09-11 · 54 CVEs total

CVE-2025-39758 9.8 CRITICAL RDMA/siw: Fix the sendmsg byte count in siw_tcp_sendpages
CVE-2025-39761 8.8 HIGH wifi: ath12k: Decrement TID on RX peer frag setup error handling
CVE-2025-39750 8.8 HIGH wifi: ath12k: Correct tid cleanup when tid setup fails
CVE-2025-39790 8.4 HIGH bus: mhi: host: Detect events pointing to unexpected TREs
CVE-2025-39740 7.8 HIGH drm/xe/migrate: prevent potential UAF
CVE-2025-39779 7.8 HIGH btrfs: subpage: keep TOWRITE tag until folio is cleaned
CVE-2025-39780 7.8 HIGH sched/ext: Fix invalid task state transitions on class switch
CVE-2025-39791 7.8 HIGH dm: dm-crypt: Do not partially accept write BIOs with zoned targets
CVE-2025-39785 7.8 HIGH drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local
CVE-2025-39787 7.8 HIGH soc: qcom: mdt_loader: Ensure we don't read past the ELF header
CVE-2025-39786 7.8 HIGH iio: adc: ad7173: fix channels index for syscalib_mode
CVE-2025-39770 7.5 HIGH net: gso: Forbid IPv6 TSO with extensions on devices with only IPV6_CSUM
CVE-2025-39738 7.3 HIGH btrfs: do not allow relocation of partially dropped subvolumes
CVE-2025-39789 7.3 HIGH crypto: x86/aegis - Add missing error checks
CVE-2025-39776 7.0 HIGH mm/debug_vm_pgtable: clear page table entries at destroy_args()
CVE-2025-39773 net: bridge: fix soft lockup in br_multicast_query_expired()
CVE-2025-39772 drm/hisilicon/hibmc: fix the hibmc loaded failed bug
CVE-2025-39771 regulator: pca9450: Use devm_register_sys_off_handler
CVE-2025-39768 net/mlx5: HWS, fix complex rules rehash error flow
CVE-2025-39769 bnxt_en: Fix lockdep warning during rmmod

Showing top 20 of 54 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-39741

No comments yet


Leave a comment