[Bug 106084] [CI] igt at .* - BUG kmalloc-2048 (Tainted: G U W ): Poison overwritten
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 22 06:12:14 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106084
Martin Peres <martin.peres at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #9 from Martin Peres <martin.peres at free.fr> ---
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_31/fi-ivb-3520m/igt@kms_vblank@pipe-b-ts-continuation-suspend.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_33/fi-ivb-3520m/igt@kms_atomic@plane_invalid_params_fence.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_33/fi-ivb-3520m/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html(In
reply to Chris Wilson from comment #8)
> commit 44a182b9d17765514fa2b1cc911e4e65134eef93
> Author: Mathias Nyman <mathias.nyman at linux.intel.com>
> Date: Thu May 3 17:30:07 2018 +0300
>
> xhci: Fix use-after-free in xhci_free_virt_device
>
> KASAN found a use-after-free in xhci_free_virt_device+0x33b/0x38e
> where xhci_free_virt_device() sets slot id to 0 if udev exists:
> if (dev->udev && dev->udev->slot_id)
> dev->udev->slot_id = 0;
>
> dev->udev will be true even if udev is freed because dev->udev is
> not set to NULL.
>
> set dev->udev pointer to NULL in xhci_free_dev()
>
> The original patch went to stable so this fix needs to be applied
> there as well.
>
> Fixes: a400efe455f7 ("xhci: zero usb device slot_id member when
> disabling and freeing a xhci slot")
Yep, it seems like it did the trick! Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180522/cb836c0b/attachment.html>
More information about the intel-gfx-bugs
mailing list