FreeBSD : FreeBSD -- Kernel data leak via ptrace(PT_LWPINFO) (34a3f9b5-dab3-11e7-b5af-a4badb2f4699)
Low Nessus Plugin ID 105064
SynopsisThe remote FreeBSD host is missing one or more security-related updates.
DescriptionNot all information in the struct ptrace_lwpinfo is relevant for the state of any thread, and the kernel does not fill the irrelevant bytes or short strings. Since the structure filled by the kernel is allocated on the kernel stack and copied to userspace, a leak of information of the kernel stack of the thread is possible from the debugger. Impact : Some bytes from the kernel stack of the thread using ptrace(PT_LWPINFO) call can be observed in userspace.
SolutionUpdate the affected packages.