[Intel-gfx] BUG: KASAN: use-after-free in intel_hdmi_destroy+0x79/0x80

Jani Nikula jani.nikula at linux.intel.com
Mon Feb 25 13:41:55 UTC 2019


On Fri, 22 Feb 2019, Randy Dunlap <rdunlap at infradead.org> wrote:
> This is 5.0-rc7 on an old Toshiba Portege laptop.
> No hdmi or other external video.
>
> Linux dragon.dunlab 5.0.0-rc7mod #3 SMP PREEMPT Wed Feb 20 00:05:17 PST 2019 x86_64 x86_64 x86_64 GNU/Linux
>
> on openSUSE LEAP 15.0 distro.
>
> Full boot log is attached.

On a hunch, caused by 9c229127aee2 ("drm/i915: hdmi: add CEC notifier to
intel_hdmi") referencing the encoder in connector destroy hook. We
should probably move the cec_notifier_put() call in the encoder destroy
hook.

BR,
Jani.




-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list