Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Mar 2017 22:32:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217435] Users can panic the kernel by tracing kevents with unusual arguments.
Message-ID:  <bug-217435-8-QtR528N1v0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217435-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217435-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217435

--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
Created attachment 180655
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180655&action=
=3Dedit
Limit the size of uio's for ktrace events and changes to max ktrio size.

The attached patch worked for me, the test program fails with invalid file
descriptor error instead of panicing debugging kernel.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217435-8-QtR528N1v0>