/* atapanic.c * * by Shaun Colley, 13 July 2009 * * this panics the freebsd kernel by passing a large value to malloc(9) in one of * fbsd's ata ioctl's. tested on freebsd 6.0 and 8.0. you need read access to the * ata device in /dev to be able to open() the device. chain with some race condition * bug? * * - shaun * */ See $URL.
Tested this on Gentoo/FreeBSD-7.2: No panic, the ioctl returns 'Inappropriate ioctl for device'.
*** Bug 280826 has been marked as a duplicate of this bug. ***
@bsd: is this still relevant?
(In reply to Chris Reffett from comment #3) > @bsd: is this still relevant? I think it has been fixed in sys-freebsd/freebsd-sources-8.0 or later. sys-freebsd/freebsd-sources-{8.2,9.1,9.2} exists on gentoo-x86. So, I think may be close this bug... FYI, http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F136726&cat= http://svnweb.freebsd.org/base?view=revision&revision=195724
I also confirmed it's already fixed in all official gentoo/freebsd version.
(In reply to Naohiro Aota from comment #5) > I also confirmed it's already fixed in all official gentoo/freebsd version. close as [noglsa] then