Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/vkms: missing Fixes trailer for vkms_create() dangling
  config->dev fix
--

commit 83801dc57b80afdf7dea1ce28f5739fe30a5a8da
Author: Louis Chauvet <[email protected]>

> drm/vkms: Reset config->dev when the device creation fails
>
> vkms_create() stores the vkms_device in config->dev, but the error paths
> after that point free the device (through devres_release_group()) without
> clearing the pointer. The configuration then keeps a dangling pointer,
> which can be dereferenced later (for example by vkms_destroy() or by the
> configfs disable path) once the device is already gone.
>
> Clear config->dev in the out_devres error path so the configuration stays
> consistent when the device creation fails.
>
> Signed-off-by: Louis Chauvet <[email protected]>

[Severity: Low]
This fixes a bug introduced when vkms_create() began storing vkms_device
in config->dev without clearing it on the out_devres failure path.
Should this include:

  Fixes: 2df7af93fdad ("drm/vkms: Add vkms_config type")

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=10

Reply via email to