https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197246
Bug ID: 197246
Summary: [patch] use-after-free bug in pipe_dtor()
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 152442
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152442&action=edit
patch for pipd_dtor()
There is a use-after-free bug in pipe_dtor(). This will result in kernel panic
when memguard is enabled.
* free
pipeclose(dpipe)
-> uma_zfree(pipe_zone, cpipe->pipe_pair);
* use
if (dpipe->pipe_state & PIPE_NAMED) {
I attach a patch to fix this bug.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"