CVE 记录列出的受影响产品:Linux · Linuxnday 产品登记表中 Linux kernel 的产品类型
当前阶段
DIS
披露
CVSS
暂无评分
# 生命周期
横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录
# 摘要
In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Limit num_syncs to prevent oversized allocations
The exec and vm_bind ioctl allow userspace to specify an arbitrary
num_syncs value. Without bounds checking, a very large num_syncs
can force an excessively large allocation, leading to kernel warnings
from the page allocator as below.
Introduce DRM_XE_MAX_SYNCS (set to 1024) and reject any request
exceeding this limit.
"
------------[ cut here ]------------WARNING: CPU: 0 PID: 1217 at mm/page_alloc.c:5124__alloc_frozen_pages_noprof+0x2f8/0x2180mm/page_alloc.c:5124...
Call Trace:<TASK>alloc_pages_mpol+0xe4/0x330mm/mempolicy.c:2416___kmalloc_large_node+0xd8/0x110mm/slub.c:4317__kmalloc_large_node_noprof+0x18/0xe0mm/slub.c:4348__do_kmalloc_nodemm/slub.c:4364[inline]__kmalloc_noprof+0x3d4/0x4b0mm/slub.c:4388kmalloc_noprofinclude/linux/slab.h:909[inline]kmalloc_array_noprofinclude/linux/slab.h:948[inline]xe_exec_ioctl+0xa47/0x1e70drivers/gpu/drm/xe/xe_exec.c:158drm_ioctl_kernel+0x1f1/0x3e0drivers/gpu/drm/drm_ioctl.c:797drm_ioctl+0x5e7/0xc50drivers/gpu/drm/drm_ioctl.c:894xe_drm_ioctl+0x10b/0x170drivers/gpu/drm/xe/xe_device.c:224vfs_ioctlfs/ioctl.c:51[inline]__do_sys_ioctlfs/ioctl.c:598[inline]__se_sys_ioctlfs/ioctl.c:584[inline]__x64_sys_ioctl+0x18b/0x210fs/ioctl.c:584do_syscall_x64arch/x86/entry/syscall_64.c:63[inline]do_syscall_64+0xbb/0x380arch/x86/entry/syscall_64.c:94entry_SYSCALL_64_after_hwframe+0x77/0x7f
...
"
v2: Add "Reported-by" and Cc stable kernels.
v3: Change XE_MAX_SYNCS from 64 to 1024. (Matt & Ashutosh)
v4: s/XE_MAX_SYNCS/DRM_XE_MAX_SYNCS/ (Matt)
v5: Do the check at the top of the exec func. (Matt)
(cherry picked from commit b07bac9bd708ec468cd1b8a5fe70ae2ac9b0a11c)