lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080630142822.GA22984@khazad-dum.debian.net>
Date:	Mon, 30 Jun 2008 11:28:22 -0300
From:	Henrique de Moraes Holschuh <hmh@....eng.br>
To:	Stefan Becker <Stefan.Becker@...ia.com>
Cc:	ext David Brownell <david-b@...bell.net>,
	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
	ext Alan Stern <stern@...land.harvard.edu>
Subject: Re: PATCH: 2.6.26-rc8: Fix IRQF_DISABLED for shared interrupts

On Mon, 30 Jun 2008, Stefan Becker wrote:
> Good question. What happens when you mix a random and a not-so-random  
> source: does the result have an as good random quality as the original  

It becomes unusable.  In fact, I find it likely that shared IRQs are not
safe for random data gathering at all in general. IRQs are not in fact
completely random, they just (sometimes) have a very small ammount of
randomness in them.  And the combined result you see in a shared IRQ line
could be correlated or "get somewhat more correlated" because of the sharing
(they go over the same BUS -> one can delay the other, etc)... and that
correlation might be dangerous.

IMO, the safe thing to do is to block shared IRQs from being used as random
sources.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ