diff options
| author | Mika Kuoppala <[email protected]> | 2016-03-23 10:31:46 +0200 |
|---|---|---|
| committer | Mika Kuoppala <[email protected]> | 2016-03-23 12:00:16 +0200 |
| commit | 2dc10cd8bc2662d0311224d92fb82f34be0424bc (patch) | |
| tree | c308c1b90084d77d38ac5cc7c67e8f5bebc18d08 /tools/perf/scripts/python | |
| parent | c6c794a2fc5e3bc8976fa318fbc7a003ecd712a1 (diff) | |
drm/i915: Fix use after free when printing load failure
Commit d15d7538c6d2 ("drm/i915: Tune down init error message due
to failure injection") added i915_load_error message to failure
path on device initialization. The message is printed
after the device is freed. And as the message printing helper
uses the device structure, this leads to use after free.
Spotted by Kasan.
Cc: Imre Deak <[email protected]>
Cc: Chris Wilson <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions