In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Add outer runtimepm protection to xelivektest@xedma_buf
Any kunit doing any memory access should get their own runtimepm outer references since they don't use the standard driver API entries. In special this dmabuf from the same driver.
Found by pre-merge CI on adding WARN calls for unprotected inner callers:
<6> [318.639739] # xedmabufkunit: running xetestdmabufimportsamedriver <4> [318.639957] ------------[ cut here ]------------ <4> [318.639967] xe 0000:4d:00.0: Missing outer runtime PM protection <4> [318.640049] WARNING: CPU: 117 PID: 3832 at drivers/gpu/drm/xe/xepm.c:533 xepmruntimeget_noresume+0x48/0x60 [xe]