Linux Kernel BATTLEMAGE DRM/xe Copy Size Overflow Vulnerability

Vulnerability

A vulnerability in the Linux kernel's handling of non-page aligned memory copies in the DRM/xe subsystem can lead to an assertion failure. This issue arises because the copy dimensions can exceed the S16_MAX limit of the copy command, causing a copy size overflow. The vulnerability is present in the Linux kernel stable tree, specifically in versions that include the upstream commit 4126cb327a2e3273c81fcef1c594c5b7b645c44c.

Impact

Exploitation of this vulnerability causes a copy size overflow, leading to an assertion failure in the DRM/xe subsystem.

Reproduction

The vulnerability can be reproduced by performing a non-page aligned memory copy in the DRM/xe subsystem of a BATTLEMAGE platform. The copy size should be close to the maximum limit of approximately 8MB, while using a 4-byte aligned pitch. This combination will trigger the assertion failure by exceeding the S16_MAX limit of the copy command.

Remediation

Users can apply the patch available in the Linux kernel stable tree commit 4126cb327a2e3273c81fcef1c594c5b7b645c44c to address this vulnerability.

Added: Sep 11, 2025, 6:43 PM
Updated: Sep 11, 2025, 6:43 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.