Re: [linux-usb-devel] Re: [Security] [vendor-sec] [BUG/PATCH/RFC]Oops while completing async USB via usbdevio

From: Alan Cox
Date: Tue Sep 27 2005 - 11:31:45 EST


On Maw, 2005-09-27 at 09:09 -0700, Linus Torvalds wrote:
> > root-owned), then the urb completes, and kill_proc_info() sends the
> > signal to the unsuspecting process.
>
> Ehh.. pid's don't get re-used until they wrap.

Which doesn't take very long to arrange. Relying on pids is definitely a
security problem we don't want to make worse than it already is.

> If you look it up by pid, it won't be stale, now will it?

Just potentially wrong, but if it uses the SIGIO code and the SIGIO code
is fixed then it works out.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/