summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorKarol Wachowski <karol.wachowski@linux.intel.com>2026-04-30 12:56:44 +0300
committerKarol Wachowski <karol.wachowski@linux.intel.com>2026-04-30 14:51:37 +0300
commit7dd57d7a6350770dfc283287125c409e995200e0 (patch)
tree8bd4fef34033dd441a74a949f582c821dfb1a2f9 /scripts/objdiff
parentac2c996675755c725a0065dbe3e2ebffded9080b (diff)
downloadlinux-7dd57d7a6350770dfc283287125c409e995200e0.tar.xz
accel/ivpu: Disallow re-exporting imported GEM objects
Prevent re-exporting of imported GEM buffers by adding a custom prime_handle_to_fd callback that checks if the object is imported and returns -EOPNOTSUPP if so. Re-exporting imported GEM buffers causes loss of buffer flags settings, leading to incorrect device access and data corruption. Reported-by: Yametsu <yam3tsu@gmail.com> Fixes: 57557964b582 ("accel/ivpu: Add support for userptr buffer objects") Reviewed-by: Andrzej Kacprowski <andrzej.kacprowski@linux.intel.com> Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com> Cc: <stable@vger.kernel.org> # v6.19+
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions