diff options
| author | Raag Jadav <raag.jadav@intel.com> | 2026-09-11 17:45:47 +0530 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2026-09-16 08:46:16 -0400 |
| commit | f0e9f963a3d209d7dc7ddd61116118ab5da2797d (patch) | |
| tree | 314787f93f6e01a42e920abbced3773990e2bca8 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 985862be16c7e4da808c51f393d631fb60c0be5c (diff) | |
| download | linux-next-f0e9f963a3d209d7dc7ddd61116118ab5da2797d.tar.gz linux-next-f0e9f963a3d209d7dc7ddd61116118ab5da2797d.zip | |
drm/xe/i2c: Disable IRQ on unbind
Currently, struct xe_i2c is freed before SGUnit IRQ is disabled in unbind
path, leaving a potential UAF in case I2C IRQ is hit during this small
window. Explicitly disable I2C IRQ in xe_i2c_remove() and fix this.
Fixes: 0bb78ce09926 ("drm/xe/i2c: Wire up reset/postinstall for I2C IRQ")
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20260911121547.2407261-1-raag.jadav@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
(cherry picked from commit 8ba5c8b8ab3fd362267c11df2cd5a90ee46f6e24)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
