diff options
| author | Bartosz Golaszewski <[email protected]> | 2023-08-22 19:29:42 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2023-08-23 19:05:28 +0000 |
| commit | ab4109f91b328ff5cb5e1279f64d443241add2d1 (patch) | |
| tree | d9f7b8cfabc0d2046e938d48c39036b6704cce88 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
| parent | Linux 6.5-rc7 (diff) | |
| download | kernel-ab4109f91b328ff5cb5e1279f64d443241add2d1.tar.gz kernel-ab4109f91b328ff5cb5e1279f64d443241add2d1.zip | |
gpio: sim: dispose of irq mappings before destroying the irq_sim domain
If a GPIO simulator device is unbound with interrupts still requested,
we will hit a use-after-free issue in __irq_domain_deactivate_irq(). The
owner of the irq domain must dispose of all mappings before destroying
the domain object.
Fixes: cb8c474e79be ("gpio: sim: new testing module")
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions
