Date: Mon, 25 Jan 2016 22:29:48 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 206579] amr(4): Multiple vulnerabilities in AMR ioctl handler Message-ID: <bug-206579-8-167JOoBgpT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-206579-8@https.bugs.freebsd.org/bugzilla/> References: <bug-206579-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206579 CTurt <ecturt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |Not A Bug --- Comment #3 from CTurt <ecturt@gmail.com> --- There are similarities in other drivers, like the `mfi` code. For Linux commands, like `MFI_LINUX_CMD_2`, `copyin` is used: error = copyin(arg, &l_ioc, sizeof(l_ioc)); But for FreeBSD commands, such as `MFIIO_QUERY_DISK`, `arg` is directly dereferenced: qd = (struct mfi_query_disk *)arg; qd->present = 1; Since both drivers seem to follow this same pattern, I believe the handling of `addr` is probably correct. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206579-8-167JOoBgpT>
