Page MenuHomeFreeBSD

Fix potential use-after free in taskqueue_drain_all
ClosedPublic

Authored by julian on Oct 5 2016, 11:52 PM.
Tags
None
Referenced Files
F107751450: D8160.diff
Fri, Jan 17, 11:23 PM
Unknown Object (File)
Tue, Jan 7, 5:03 AM
Unknown Object (File)
Sun, Jan 5, 10:17 PM
Unknown Object (File)
Oct 24 2024, 9:48 PM
Unknown Object (File)
Sep 12 2024, 11:19 PM
Unknown Object (File)
Sep 10 2024, 2:39 AM
Unknown Object (File)
Sep 7 2024, 6:25 AM
Unknown Object (File)
Sep 1 2024, 5:24 AM
Subscribers

Details

Summary

While the thread is sleeping it is posible that the queue entry it
is looking at is removed from the queue, but we make no effort to
account for this.

Test Plan

Systems which used to hang due to this now boot

Diff Detail

Event Timeline

julian retitled this revision from to Fix potential use-after free in taskqueue_drain_all.
julian updated this object.
julian edited the test plan for this revision. (Show Details)
adrian added a reviewer: adrian.
This revision is now accepted and ready to land.Oct 7 2016, 8:34 PM

Please commit this patch, this fixes FreeBSD PR 209580.

This comment was removed by julian.