✓ CI.checkpatch: success for drm/xe: Fix uninitialized pointer read in xe_vm_bind_kernel_bo

Patchwork patchwork at emeril.freedesktop.org
Thu Feb 6 17:18:06 UTC 2025


== Series Details ==

Series: drm/xe: Fix uninitialized pointer read in xe_vm_bind_kernel_bo
URL   : https://patchwork.freedesktop.org/series/144428/
State : success

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit c139ae6efee92b9c748c76882559134f067da647
Author: Dheeraj Reddy Jonnalagadda <dheeraj.linuxdev at gmail.com>
Date:   Thu Feb 6 19:17:06 2025 +0530

    drm/xe: Fix uninitialized pointer read in xe_vm_bind_kernel_bo
    
    xe_vm_bind_kernel_bo() declares the variable fence without initializing
    it. If an error occurs before fence is assigned a valid value, the
    function may return an uninitialized pointer.
    
    Specifically, this can happen if:
    
    - vm_bind_ioctl_ops_create() fails, leading to release_vm_lock error
      path
    
    Initialize fence to NULL at declaration.
    
    Fixes: dcdd6b84d9ac ("drm/xe/pxp: Allocate PXP execution resources")
    Signed-off-by: Dheeraj Reddy Jonnalagadda <dheeraj.linuxdev at gmail.com>
+ /mt/dim checkpatch 68225b9bc1d285bd2ab63355e94f9e661d2f895e drm-intel
c139ae6efee9 drm/xe: Fix uninitialized pointer read in xe_vm_bind_kernel_bo




More information about the Intel-xe mailing list