Hi,

I believe the following commit should be included in all stable
kernels, as it fixes CVE-2013-4345:

commit 714b33d15130cbb5ab426456d4e3de842d6c5b8a
Author: Neil Horman <[email protected]>
Date:   Tue Sep 17 08:33:11 2013 -0400

    crypto: ansi_cprng - Fix off by one error in non-block size request

    Stephan Mueller reported to me recently a error in random number generation 
in
    the ansi cprng. If several small requests are made that are less than the
    instances block size, the remainder for loop code doesn't increment
    rand_data_valid in the last iteration, meaning that the last bytes in the
    rand_data buffer gets reused on the subsequent smaller-than-a-block request 
for
    random data.

    The fix is pretty easy, just re-code the for loop to make sure that
    rand_data_valid gets incremented appropriately

Cheers,
--
Luis
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to