aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorRaag Jadav <[email protected]>2025-03-18 11:40:38 +0000
committerGreg Kroah-Hartman <[email protected]>2025-04-15 16:22:32 +0000
commitbcfb443557166287ba544be308ed44d788599afa (patch)
tree7cae261f1e031ad017965bfa3afd8fa20310e6bb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentmcb: fix a double free bug in chameleon_parse_gdd() (diff)
downloadkernel-bcfb443557166287ba544be308ed44d788599afa.tar.gz
kernel-bcfb443557166287ba544be308ed44d788599afa.zip
pps: generators: tio: fix platform_set_drvdata()
platform_set_drvdata() is setting a double pointer to struct pps_tio as driver_data, which will point to the local stack of probe function instead of intended data. Set driver_data correctly and fix illegal memory access by its user. BUG: unable to handle page fault for address: ffffc9000117b738 RIP: 0010:hrtimer_active+0x2b/0x60 Call Trace: ? hrtimer_active+0x2b/0x60 hrtimer_cancel+0x19/0x50 pps_gen_tio_remove+0x1e/0x80 [pps_gen_tio] Fixes: c89755d1111f ("pps: generators: Add PPS Generator TIO Driver") Signed-off-by: Raag Jadav <[email protected]> Acked-by: Rodolfo Giometti <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions