Skip to contentSkip to conversation

New: refcount_t: increment on 0; use-after-free.

Bug 104161 [email protected] 1 participant 4 messages Dec 7, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=104161

Bug ID: 104161
Summary: refcount_t: increment on 0; use-after-free.
Product: xorg
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]
QA Contact: [email protected]

Created attachment 136033
--> https://bugs.freedesktop.org/attachment.cgi?id=136033&action=edit
dmesg including trace(s)

I'm using current (within 24 hours) versions of libdrm, mesa, and the mainline kernel, with xf86-video-nouveau-1.0.15. This shows up early in dmesg. The driver appears usable afterwards.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-104161-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 104161] refcount_t: increment on 0; use-after-free.

https://bugs.freedesktop.org/show_bug.cgi?id=104161

--- Comment #1 from Pierre Moreau <[email protected]> --- I believe this should be fixed by
https://github.com/skeggsb/nouveau/commit/9068f1df2394f0e4ab2b2a28cac06b462fe0a0aa.
Could you please try applying it on your kernel (note this is an out-of-tree module, so you’ll need to prefix all the paths with “drivers/gpu/” when applying to the mainline tree) and confirm that it resolves the issue for you?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 104161] refcount_t: increment on 0; use-after-free.

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=104161

S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> --- I can confirm that the issue is resolved. Thanks for the quick reply, and my apologies for the noise.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 104161] refcount_t: increment on 0; use-after-free.

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=104161

--- Comment #3 from Pierre Moreau <[email protected]> --- No worries! Thanks for testing the graphics stack and reporting the bug, as well as for quickly testing the fix.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau