diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-22 21:29:42 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-23 21:05:28 +0200 |
commit | ab4109f91b328ff5cb5e1279f64d443241add2d1 (patch) | |
tree | d9f7b8cfabc0d2046e938d48c39036b6704cce88 /scripts/clang-tools/gen_compile_commands.py | |
parent | 706a741595047797872e669b3101429ab8d378ef (diff) |
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 <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions