✓ CI.checkpatch: success for drm/xe: Protect devcoredump_free

Patchwork patchwork at emeril.freedesktop.org
Wed Apr 3 15:14:31 UTC 2024


== Series Details ==

Series: drm/xe: Protect devcoredump_free
URL   : https://patchwork.freedesktop.org/series/131996/
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
10b531c2aeb176a1a539b4a77216232f97719cec
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7a09553c7189887ab0fb764c932fdf61b747400d
Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
Date:   Wed Apr 3 10:50:54 2024 -0400

    drm/xe: Protect devcoredump_free
    
    While we don't have the full flow protection when devcoredump
    is accessed after device unbind. Let's at least for now
    protect against null dereference:
    
    [  422.766508] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
    [  423.119584] RIP: 0010:xe_vm_snapshot_free+0x30/0x180 [xe]
    
    While at it, I also fixed a non-standard code-declaration block
    on the similar function of xe_guc_submit.
    
    Fixes: e5f661bb56d4 ("drm/xe/devcoredump: Print errno if VM snapshot was not captured")
    Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
    Cc: José Roberto de Souza <jose.souza at intel.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
+ /mt/dim checkpatch c8dc2a19ae7157e065d5f0c78bc4d3f83165fdef drm-intel
7a09553c7189 drm/xe: Protect devcoredump_free




More information about the Intel-xe mailing list