diff options
author | Theodore Ts'o <tytso@mit.edu> | 2014-05-17 03:40:41 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-05-17 04:18:22 +0200 |
commit | f9c6d4987b23e0a514464bae6771933a48e4cd01 (patch) | |
tree | 4470c1ccd9ade767d3c3928ebb2432e9c9d32546 /scripts/.gitignore | |
parent | Linux 3.15-rc5 (diff) | |
download | linux-f9c6d4987b23e0a514464bae6771933a48e4cd01.tar.xz linux-f9c6d4987b23e0a514464bae6771933a48e4cd01.zip |
random: fix BUG_ON caused by accounting simplification
Commit ee1de406ba6eb1 ("random: simplify accounting logic") simplified
things too much, in that it allows the following to trigger an
overflow that results in a BUG_ON crash:
dd if=/dev/urandom of=/dev/zero bs=67108707 count=1
Thanks to Peter Zihlstra for discovering the crash, and Hannes
Frederic for analyizing the root cause.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reported-by: Peter Zijlstra <peterz@infradead.org>
Reported-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: Greg Price <price@mit.edu>
Diffstat (limited to 'scripts/.gitignore')
0 files changed, 0 insertions, 0 deletions